PocketMine
SignChangeEvent Class Reference
Inheritance diagram for SignChangeEvent:
BlockEvent Cancellable Event

Public Member Functions

 __construct (Block $theBlock, Player $thePlayer, array $theLines)
 
 getPlayer ()
 
 getLines ()
 
 getLine ($index)
 
 setLine ($index, $line)
 
- Public Member Functions inherited from BlockEvent
 __construct (Block $block)
 
 getBlock ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from BlockEvent
 $block
 
- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when a sign is changed by a player.

Constructor & Destructor Documentation

__construct ( Block  $theBlock,
Player  $thePlayer,
array  $theLines 
)
Parameters
Block$theBlock
Player$thePlayer
string[]$theLines

Member Function Documentation

getLine (   $index)
Parameters
int$index0-3
Returns
string
getLines ( )
Returns
string[]
getPlayer ( )
Returns
Player
setLine (   $index,
  $line 
)
Parameters
int$index0-3
string$line

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