PHP Class pocketmine\event\player\PlayerJoinEvent

Inheritance: extends PlayerEvent
Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Protected Properties

Property Type Description
$joinMessage string | pocketmine\event\TextContainer

Public Methods

Method Description
__construct ( Player $player, $joinMessage )
getJoinMessage ( ) : string | TextContainer
setJoinMessage ( string | TextContainer $joinMessage )

Method Details

__construct() public method

public __construct ( Player $player, $joinMessage )
$player pocketmine\Player

getJoinMessage() public method

public getJoinMessage ( ) : string | TextContainer
return string | pocketmine\event\TextContainer

setJoinMessage() public method

public setJoinMessage ( string | TextContainer $joinMessage )
$joinMessage string | pocketmine\event\TextContainer

Property Details

$handlerList public static property

public static $handlerList

$joinMessage protected property

protected string|TextContainer,pocketmine\event $joinMessage
return string | pocketmine\event\TextContainer