GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
PlayerToggleGlideEvent Class Reference

Public Member Functions

 __construct (Player $player, $isGliding)
 
 isGliding ()
 
 getName ()
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Protected Attributes

 $isGliding
 
- Protected Attributes inherited from PlayerEvent
 $player
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Player  $player,
  $isGliding 
)

PlayerToggleGlideEvent constructor.

Parameters
Player$player
$isGliding
38  {
39  $this->player = $player;
40  $this->isGliding = (bool) $isGliding;
41  }

Member Function Documentation

◆ getName()

getName ( )
Returns
EventName|string
53  {
54  return "PlayerToggleGlideEvent";
55  }

◆ isGliding()

isGliding ( )
Returns
bool
46  {
47  return $this->isGliding;
48  }

Field Documentation

◆ $handlerList

$handlerList = null
static

◆ $isGliding

$isGliding
protected

The documentation for this class was generated from the following file: