Skip to content

game_event_save

Stores the status of running game events.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
eventEntrytinyintunsignedPRINO
statetinyintunsignedNO1
next_startintunsignedNO0
 

Description of fields ​

eventEntry ​

references game_event.eventEntry  

state ​

IDNameComment
0GAMEEVENT_NORMALstandard game events
1GAMEEVENT_WORLD_INACTIVEnot yet started
2GAMEEVENT_WORLD_CONDITIONScondition matching phase
3GAMEEVENT_WORLD_NEXTPHASEconditions are met, now 'length' timer to start next event
4GAMEEVENT_WORLD_FINISHEDnext events are started, unapply this one
5GAMEEVENT_INTERNALnever handled in update

 

next_start ​

Unix timestamp when the followup event should start, if any.