PHP Class pocketmine\event\block\SignChangeEvent

Inheritance: extends BlockEvent, implements pocketmine\event\Cancellable
Datei anzeigen Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Block $theBlock, Player $thePlayer, array $theLines )
getLine ( integer $index ) : string
getLines ( ) : string[]
getPlayer ( ) : Player
setLine ( integer $index, string $line )

Method Details

__construct() public method

public __construct ( Block $theBlock, Player $thePlayer, array $theLines )
$theBlock pocketmine\block\Block
$thePlayer pocketmine\Player
$theLines array

getLine() public method

public getLine ( integer $index ) : string
$index integer 0-3
return string

getLines() public method

public getLines ( ) : string[]
return string[]

getPlayer() public method

public getPlayer ( ) : Player
return pocketmine\Player

setLine() public method

public setLine ( integer $index, string $line )
$index integer 0-3
$line string

Property Details

$handlerList public_oe static_oe property

public static $handlerList