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

Public Member Functions

 __construct (Player $player, Block $bed)
 
 getBed ()
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

__construct ( Player  $player,
Block  $bed 
)

PlayerBedLeaveEvent constructor.

Parameters
Player$player
Block$bed
38  {
39  $this->player = $player;
40  $this->bed = $bed;
41  }

Member Function Documentation

◆ getBed()

getBed ( )
Returns
Block
46  {
47  return $this->bed;
48  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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