Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
persistentflag.c
Go to the documentation of this file.
1 // These are flags which are persistent for the player entity, ie. are saved when the player is disconnected and loaded after connection.
2 // Normal persistence events OnStoreSave/OnStoreLoad are used to save/load these flags within a single int, the purpose is to unify the getter/setter interface so that every system that needs a bool does not need to create its own handling methods/logic.
3 // !!! Every value needs to be a power of 2 !!!
4 
6 {
8  //ADDITIONAL_FLAG_1 = 2
9  //ADDITIONAL_FLAG_2 = 4
10  //ADDITIONAL_FLAG_3 = 8
11  //ADDITIONAL_FLAG_4 = 16
12 }
AREA_PRESENCE
@ AREA_PRESENCE
Definition: persistentflag.c:7
PersistentFlag
PersistentFlag
Definition: persistentflag.c:5