PHP Class Andre\SurvivalGames\Main

Inheritance: extends pocketmine\plugin\PluginBase, implements pocketmine\event\Listener
Exibir arquivo Open project: xZeroMCPE/SurvivalGames

Public Properties

Property Type Description
$data
$version

Public Methods

Method 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 method

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

PlayerIsInGame() public method

public PlayerIsInGame ( $name )

PlayerQuit() public method

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

changeStatusSign() public method

public changeStatusSign ( )

gameTask() public method

public gameTask ( )

getInstance() public static method

public static getInstance ( )

onBreak() public method

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

onCommand() public method

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

onDisable() public method

public onDisable ( )

onEnable() public method

public onEnable ( )

onMove() public method

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

onPlace() public method

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

onPlayerCommand() public method

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

playerBlockTouch() public method

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

sendMessage() public method

public sendMessage ( $msg )

Property Details

$data public_oe property

public $data

$version public_oe property

public $version