PHP Class Andre\SurvivalGames\Main

Inheritance: extends pocketmine\plugin\PluginBase, implements pocketmine\event\Listener
Afficher le fichier Open project: xZeroMCPE/SurvivalGames

Méthodes publiques

Свойство Type Description
$data
$version

Méthodes publiques

Méthode Description
PlayerDeath ( PlayerDeathEvent $event )
PlayerIsInGame ( $name )
PlayerQuit ( PlayerQuitEvent $event )
changeStatusSign ( )
gameTask ( )
getInstance ( )
onBreak ( BlockBreakEvent $event )
onCommand ( pocketmine\command\CommandSender $sender, Command $command, $label, array $args )
onDisable ( )
onEnable ( )
onMove ( PlayerMoveEvent $event )
onPlace ( BlockPlaceEvent $event )
onPlayerCommand ( PlayerCommandPreprocessEvent $event )
playerBlockTouch ( PlayerInteractEvent $event )
sendMessage ( $msg )

Method Details

PlayerDeath() public méthode

public PlayerDeath ( PlayerDeathEvent $event )
$event pocketmine\event\player\PlayerDeathEvent

PlayerIsInGame() public méthode

public PlayerIsInGame ( $name )

PlayerQuit() public méthode

public PlayerQuit ( PlayerQuitEvent $event )
$event pocketmine\event\player\PlayerQuitEvent

changeStatusSign() public méthode

public changeStatusSign ( )

gameTask() public méthode

public gameTask ( )

getInstance() public static méthode

public static getInstance ( )

onBreak() public méthode

public onBreak ( BlockBreakEvent $event )
$event pocketmine\event\block\BlockBreakEvent

onCommand() public méthode

public onCommand ( pocketmine\command\CommandSender $sender, Command $command, $label, array $args )
$sender pocketmine\command\CommandSender
$command pocketmine\command\Command
$args array

onDisable() public méthode

public onDisable ( )

onEnable() public méthode

public onEnable ( )

onMove() public méthode

public onMove ( PlayerMoveEvent $event )
$event pocketmine\event\player\PlayerMoveEvent

onPlace() public méthode

public onPlace ( BlockPlaceEvent $event )
$event pocketmine\event\block\BlockPlaceEvent

onPlayerCommand() public méthode

public onPlayerCommand ( PlayerCommandPreprocessEvent $event )
$event pocketmine\event\player\PlayerCommandPreprocessEvent

playerBlockTouch() public méthode

public playerBlockTouch ( PlayerInteractEvent $event )
$event pocketmine\event\player\PlayerInteractEvent

sendMessage() public méthode

public sendMessage ( $msg )

Property Details

$data public_oe property

public $data

$version public_oe property

public $version