PHP Class pocketmine\event\level\WeatherChangeEvent

Inheritance: extends LevelEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

Méthode Description
__construct ( Level $level, integer $weather, integer $duration )
getDuration ( ) : integer
getWeather ( ) : integer
setDuration ( integer $duration )
setWeather ( integer $weather = Weather::SUNNY )

Method Details

__construct() public méthode

public __construct ( Level $level, integer $weather, integer $duration )
$level pocketmine\level\Level
$weather integer
$duration integer

getDuration() public méthode

public getDuration ( ) : integer
Résultat integer

getWeather() public méthode

public getWeather ( ) : integer
Résultat integer

setDuration() public méthode

public setDuration ( integer $duration )
$duration integer

setWeather() public méthode

public setWeather ( integer $weather = Weather::SUNNY )
$weather integer

Property Details

$handlerList public_oe static_oe property

public static $handlerList