PHP Class pocketmine\command\defaults\VanillaCommand

Inheritance: extends pocketmine\command\Command
Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Methods

Method Description
__construct ( $name, $description = "", $usageMessage = null, array $aliases = [] )

Protected Methods

Method Description
getDouble ( pocketmine\command\CommandSender $sender, $value, $min = self::MIN_COORD, $max = self::MAX_COORD )
getInteger ( pocketmine\command\CommandSender $sender, $value, $min = self::MIN_COORD, $max = self::MAX_COORD )
getRelativeDouble ( $original, pocketmine\command\CommandSender $sender, $input, $min = self::MIN_COORD, $max = self::MAX_COORD )

Method Details

__construct() public method

public __construct ( $name, $description = "", $usageMessage = null, array $aliases = [] )
$aliases array

getDouble() protected method

protected getDouble ( pocketmine\command\CommandSender $sender, $value, $min = self::MIN_COORD, $max = self::MAX_COORD )
$sender pocketmine\command\CommandSender

getInteger() protected method

protected getInteger ( pocketmine\command\CommandSender $sender, $value, $min = self::MIN_COORD, $max = self::MAX_COORD )
$sender pocketmine\command\CommandSender

getRelativeDouble() protected method

protected getRelativeDouble ( $original, pocketmine\command\CommandSender $sender, $input, $min = self::MIN_COORD, $max = self::MAX_COORD )
$sender pocketmine\command\CommandSender