|
Phpcraft
|


Public Member Functions | |
| __construct (Server $server, bool $lagging) | |
Public Member Functions inherited from Phpcraft\Event\ServerEvent | |
| __construct (Server $server) | |
Public Attributes | |
| $lagging | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
| $server | |
Public Attributes inherited from Phpcraft\Event\Event | |
| const | PRIORITY_HIGHEST = 2 |
| const | PRIORITY_HIGH = 1 |
| const | PRIORITY_NORMAL = 0 |
| const | PRIORITY_LOW = -1 |
| const | PRIORITY_LOWEST = -2 |
| $cancelled = false | |
| Phpcraft\Event\ServerTickEvent::__construct | ( | Server | $server, |
| bool | $lagging | ||
| ) |
| Server | $server | The server emitting the event. |
| bool | $lagging |
| bool Phpcraft\Event\ServerTickEvent::$lagging |
True if this tick event should've been fired much earlier but wasn't because the server was busy. If your task is complex and/or doesn't need to be executed every tick, try not doing it if this is true.
1.8.16