PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private string $baseVersion, private bool $isDevBuild=false, private int $buildNumber=0) | |
__toString () | |
compare (VersionString $target, bool $diff=false) | |
getBaseVersion () | |
getBuild () | |
getFullVersion (bool $build=false) | |
getMajor () | |
getMinor () | |
getNumber () | |
getPatch () | |
getSuffix () | |
isDev () | |
Static Public Member Functions | |
static | isValidBaseVersion (string $baseVersion) |
Manages PocketMine-MP version strings, and compares them
Definition at line 32 of file VersionString.php.
pocketmine\utils\VersionString::__construct | ( | private string | $baseVersion, |
private bool | $isDevBuild = false, | ||
private int | $buildNumber = 0 ) |
Definition at line 38 of file VersionString.php.
pocketmine\utils\VersionString::__toString | ( | ) |
Definition at line 102 of file VersionString.php.
pocketmine\utils\VersionString::compare | ( | VersionString | $target, |
bool | $diff = false ) |
Definition at line 106 of file VersionString.php.
pocketmine\utils\VersionString::getBaseVersion | ( | ) |
Definition at line 62 of file VersionString.php.
pocketmine\utils\VersionString::getBuild | ( | ) |
Definition at line 94 of file VersionString.php.
pocketmine\utils\VersionString::getFullVersion | ( | bool | $build = false | ) |
Definition at line 66 of file VersionString.php.
pocketmine\utils\VersionString::getMajor | ( | ) |
Definition at line 78 of file VersionString.php.
pocketmine\utils\VersionString::getMinor | ( | ) |
Definition at line 82 of file VersionString.php.
pocketmine\utils\VersionString::getNumber | ( | ) |
Definition at line 58 of file VersionString.php.
pocketmine\utils\VersionString::getPatch | ( | ) |
Definition at line 86 of file VersionString.php.
pocketmine\utils\VersionString::getSuffix | ( | ) |
Definition at line 90 of file VersionString.php.
pocketmine\utils\VersionString::isDev | ( | ) |
Definition at line 98 of file VersionString.php.
|
static |
Definition at line 54 of file VersionString.php.