PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\event\EventPriority Class Reference
+ Collaboration diagram for pocketmine\event\EventPriority:

Public Attributes

const LOWEST = 5
const LOW = 4
const NORMAL = 3
const HIGH = 2
const HIGHEST = 1
const MONITOR = 0

Detailed Description

List of event priorities

Events will be called in this order: LOWEST -> LOW -> NORMAL -> HIGH -> HIGHEST -> MONITOR

MONITOR events should not change the event outcome or contents

Definition at line 33 of file EventPriority.php.

Member Data Documentation

const pocketmine\event\EventPriority::HIGH = 2

Event call is of high importance

Definition at line 50 of file EventPriority.php.

const pocketmine\event\EventPriority::HIGHEST = 1

Event call is critical and must have the final say in what happens to the event

Definition at line 55 of file EventPriority.php.

const pocketmine\event\EventPriority::LOW = 4

Event call is of low importance

Definition at line 42 of file EventPriority.php.

const pocketmine\event\EventPriority::LOWEST = 5

Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome

Definition at line 38 of file EventPriority.php.

Referenced by pocketmine\event\HandlerList\register().

const pocketmine\event\EventPriority::MONITOR = 0

Event is listened to purely for monitoring the outcome of an event.

No modifications to the event should be made under this priority

Definition at line 61 of file EventPriority.php.

Referenced by pocketmine\event\HandlerList\register().

const pocketmine\event\EventPriority::NORMAL = 3

Event call is neither important or unimportant, and may be ran normally

Definition at line 46 of file EventPriority.php.

Referenced by pocketmine\plugin\PluginManager\registerEvents().

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