game_event_save
Stores the status of running game events.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| eventEntry | tinyint | unsigned | PRI | NO | |||
| state | tinyint | unsigned | NO | 1 | |||
| next_start | int | unsigned | NO | 0 | |||
Description of fields
eventEntry
references game_event.eventEntry
state
| ID | Name | Comment |
|---|---|---|
| 0 | GAMEEVENT_NORMAL | standard game events |
| 1 | GAMEEVENT_WORLD_INACTIVE | not yet started |
| 2 | GAMEEVENT_WORLD_CONDITIONS | condition matching phase |
| 3 | GAMEEVENT_WORLD_NEXTPHASE | conditions are met, now 'length' timer to start next event |
| 4 | GAMEEVENT_WORLD_FINISHED | next events are started, unapply this one |
| 5 | GAMEEVENT_INTERNAL | never handled in update |
next_start
Unix timestamp when the followup event should start, if any.
