Home › Engine executable › Lua enum tables of the exe

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Lua enum tables of the exe

Besides the GameCore enums (database types, operations, events), the engine executable registers its own global Lua tables of named numbers: 74 tables with 640 members. They are what Keys.VK_..., MouseEvents.LButtonDown, ServerType.SERVER_TYPE_STEAM or InterfaceModeTypes.SELECTION mean in the game's UI scripts. The member names and the numeric values were read from the exe's registration code (Verified: each value is a constant stored by the code). For the 10 tables that also exist as GameCore enums every shared member has the same value in both places. "Script uses" counts how often the game's own Lua files write Table.MEMBER.

Value kinds. small numbers are plain sequence numbers or flags. hash values are 32-bit signed numbers computed from the member names (the same hash as GameCore types, so they are not stable to guess, always use the table in Lua). Values that look like hashes are shown signed, as Lua sees them.

Multiplayer and lobby

Table Members Value kind Hash of Script uses GameCore enum
ChatTargetTypes 4 small numbers 59
FireWireTypes 1 small numbers 7
JoinGameErrorType 4 small numbers 3
KickReason 11 small numbers 27
KickVoteReasonType 4 small numbers 6
KickVoteResultType 5 small numbers 4
LobbyTypes 6 small numbers 10
NetPlayerTypes 1 small numbers 2
NetworkCapabilityStates 3 hash values (32-bit, signed) no simple prefix 0
NetworkPlatform 4 small numbers 16
NetworkResult 7 small numbers 0
NetworkServicesAccountType 4 small numbers 0
PlayByCloudEndTurnBehaviorType 3 small numbers 7
PlayByCloudReadyBehaviorType 3 small numbers 8
ServerType 8 small numbers 42
TransportType 5 small numbers 3

Input, mouse and keys

Table Members Value kind Hash of Script uses GameCore enum
BatteryEvents 2 small numbers 0
ButtonStates 8 small numbers 0
Drag 4 small numbers 18
GamepadEvents 3 small numbers 2
Gestures 4 small numbers 2
KeyEvents 4 small numbers 169
Keys 205 small numbers 183
Mouse 11 small numbers 1603
MouseEvents 18 small numbers 153

UI and application

Table Members Value kind Hash of Script uses GameCore enum
ARXDeviceTypes 7 small numbers 0
CivilizationLevelTypes 5 hash values (32-bit, signed) no simple prefix 16
CombatVisType 4 small numbers 25
CursorTypes 3 hash values (32-bit, signed) CURSOR_NAME 70
DiplomaticThreatTypes 6 small numbers 5 DiplomaticThreatTypes (6 of 6 members agree)
DiplomaticTrustTypes 8 small numbers 7 DiplomaticTrustTypes (8 of 8 members agree)
DiplomaticVisibilityTypes 5 small numbers 12
EraTypes 1 small numbers 1
InputLayoutTypes 2 small numbers 2
LensLayers 60 small numbers 0
MainMenuStateDoneData 1 small numbers 0
OptionFileTypes 5 small numbers 2
PopupPriority 11 small numbers 175
PushDataSearchOptions 4 small numbers 4
RibbonHUDStats 3 small numbers 13
SaveDirectories 6 small numbers 8
SaveFileTypes 2 small numbers 25
SaveLocationOptions 8 small numbers 20
SaveLocations 3 small numbers 23
SaveTypes 5 small numbers 44
SlotStatus 5 small numbers 76 SlotStatus (5 of 5 members agree)
TradeItemDesirability 5 small numbers 0 TradeItemDesirability (5 of 5 members agree)
TurnNotifyFrequencyModes 2 small numbers 2
WorldRenderView 2 small numbers 25

Game state and interface modes

Table Members Value kind Hash of Script uses GameCore enum
BoostSources 11 small numbers 16 BoostSources (11 of 11 members agree)
CloudNotifyTypes 4 small numbers 21 CloudNotifyTypes (4 of 4 members agree)
CombatTypes 6 hash values (32-bit, signed) COMBAT_NAME 21
DirectionTypes 7 small numbers 741 DirectionTypes (7 of 7 members agree)
FalloutDamages 1 small numbers 3
GameModeTypes 6 hash values (32-bit, signed) no simple prefix 15
GamePadInputType 8 small numbers 2
GameStateTypes 3 hash values (32-bit, signed) no simple prefix 23
HeroDiscoverySources 8 small numbers 7 HeroDiscoverySources (8 of 8 members agree)
IdentityConversionOutcome 3 small numbers 12 IdentityConversionOutcome (3 of 3 members agree)
InterfaceModeTypes 44 hash values (32-bit, signed) INTERFACEMODE_NAME 610
LayoutOverride 3 small numbers 0
LeaderRandomPoolTypes 3 hash values (32-bit, signed) no simple prefix 7
MilitaryFormationTypes 4 small numbers 105
PlayerTypes 4 small numbers 157
PlotDynamicPropertyKeys 1 small numbers 0
PlotHighlightTypes 3 hash values (32-bit, signed) no simple prefix 10
RevealedState 3 small numbers 66 RevealedState (3 of 3 members agree)
TeamTypes 1 small numbers 7
TurnLimitTypes 3 hash values (32-bit, signed) TURNLIMIT_NAME 2
TurnTimerTypes 3 hash values (32-bit, signed) no simple prefix 0
TutorialLevel 6 small numbers 164
UnitConfirmationLevel 3 small numbers 0
UnitPropertyKeys 2 hash values (32-bit, signed) no simple prefix 1
WMDStatus 5 hash values (32-bit, signed) no simple prefix 0

ChatTargetTypes

Multiplayer and lobby, 4 members, small numbers, used in 7 script files. Registered by 0x268250.

4 members
Member Value Script uses
NO_CHATTARGET -1 2
CHATTARGET_ALL -2 17
CHATTARGET_TEAM -3 19
CHATTARGET_PLAYER -4 21

FireWireTypes

Multiplayer and lobby, 1 members, small numbers, used in 4 script files. Registered by 0x268250.

1 members
Member Value Script uses
FIREWIRE_INVALID_ID -1 7

JoinGameErrorType

Multiplayer and lobby, 4 members, small numbers, used in 1 script files. Registered by 0x268250.

4 members
Member Value Script uses
JOINGAME_NO_ERROR 0 0
JOINGAME_ROOM_FULL 1 1
JOINGAME_GAME_STARTED 2 1
JOINGAME_TOO_MANY_MATCHES 3 1

KickReason

Multiplayer and lobby, 11 members, small numbers, used in 4 script files. Registered by 0x268250.

11 members
Member Value Script uses
KICK_NONE 0 0
KICK_NO_HOST 1 4
KICK_HOST 2 4
KICK_TIMEOUT 3 0
KICK_UNRECOGNIZED 4 0
KICK_UNAUTHORIZED 5 0
KICK_NO_ROOM 6 4
KICK_VERSION_MISMATCH 7 4
KICK_MOD_ERROR 8 4
KICK_MOD_MISSING 9 3
KICK_MATCH_DELETED 10 4

KickVoteReasonType

Multiplayer and lobby, 4 members, small numbers, used in 2 script files. Registered by 0x268250.

4 members
Member Value Script uses
KICKVOTE_NONE 0 0
KICKVOTE_AFK 1 2
KICKVOTE_GRIEFING 2 2
KICKVOTE_CHEATING 3 2

KickVoteResultType

Multiplayer and lobby, 5 members, small numbers, used in 1 script files. Registered by 0x268250.

5 members
Member Value Script uses
KICKVOTERESULT_PENDING 0 0
KICKVOTERESULT_NOT_ENOUGH_PLAYERS 1 1
KICKVOTERESULT_TIME_ELAPSED 2 1
KICKVOTERESULT_VOTED_NO_KICK 3 1
KICKVOTERESULT_VOTE_PASSED 4 1

LobbyTypes

Multiplayer and lobby, 6 members, small numbers, used in 3 script files. Registered by 0x268250.

6 members
Member Value Script uses
LOBBY_NONE 0 3
LOBBY_LAN 1 2
LOBBY_INTERNET 2 1
LOBBY_SERVER 3 1
LOBBY_FIRAXIS_CLOUD 4 1
LOBBY_CROSSPLAY 5 2

NetPlayerTypes

Multiplayer and lobby, 1 members, small numbers, used in 1 script files. Registered by 0x268250.

1 members
Member Value Script uses
INVALID_PLAYERID -1 2

NetworkCapabilityStates

Multiplayer and lobby, 3 members, hash values (32-bit, signed). Registered by 0x268250.

3 members
Member Value Script uses
Unsupported 1133691932 0
Enabled 1622900199 0
Disabled -2106068150 0

NetworkPlatform

Multiplayer and lobby, 4 members, small numbers, used in 9 script files. Registered by 0x268250.

4 members
Member Value Script uses
NETWORK_PLATFORM_UNKNOWN 0 0
NETWORK_PLATFORM_STEAM 1 1
NETWORK_PLATFORM_RAIL 2 0
NETWORK_PLATFORM_EOS 3 15

NetworkResult

Multiplayer and lobby, 7 members, small numbers. Registered by 0x268250.

7 members
Member Value Script uses
NETWORKRESULT_NONE 0 0
NETWORKRESULT_OK 1 0
NETWORKRESULT_PENDING 2 0
NETWORKRESULT_SIGNIN 3 0
NETWORKRESULT_ERROR 4 0
NETWORKRESULT_NO_ROOM 5 0
NETWORKRESULT_EXISTING_OPERATION_PENDING 6 0

NetworkServicesAccountType

Multiplayer and lobby, 4 members, small numbers. Registered by 0x268250.

4 members
Member Value Script uses
Unknown 0 0
Anonymous 1 0
Full 2 0
Platform 3 0

PlayByCloudEndTurnBehaviorType

Multiplayer and lobby, 3 members, small numbers, used in 2 script files. Registered by 0x268250.

3 members
Member Value Script uses
PBC_ENDTURN_ASK_ME 0 2
PBC_ENDTURN_DO_NOTHING 1 2
PBC_ENDTURN_EXIT_MAINMENU 2 3

PlayByCloudReadyBehaviorType

Multiplayer and lobby, 3 members, small numbers, used in 2 script files. Registered by 0x268250.

3 members
Member Value Script uses
PBC_READY_ASK_ME 0 2
PBC_READY_DO_NOTHING 1 3
PBC_READY_EXIT_LOBBY 2 3

ServerType

Multiplayer and lobby, 8 members, small numbers, used in 10 script files. Registered by 0x268250.

8 members
Member Value Script uses
SERVER_TYPE_NONE 0 33
SERVER_TYPE_LAN 1 2
SERVER_TYPE_INTERNET 2 1
SERVER_TYPE_STEAM 3 1
SERVER_TYPE_STEAM_DEDICATED 4 0
SERVER_TYPE_HOTSEAT 5 1
SERVER_TYPE_FIRAXIS_CLOUD 6 1
SERVER_TYPE_CROSSPLAY 7 3

TransportType

Multiplayer and lobby, 5 members, small numbers, used in 3 script files. Registered by 0x268250.

5 members
Member Value Script uses
TRANSPORT_NONE 0 0
TRANSPORT_ENET 1 0
TRANSPORT_STEAM 2 0
TRANSPORT_RAIL 3 0
TRANSPORT_EOS 4 3

BatteryEvents

Input, mouse and keys, 2 members, small numbers. Registered by 0x8ef560.

2 members
Member Value Script uses
BatteryUpdate 46 0
BatteryChargingUpdate 47 0

ButtonStates

Input, mouse and keys, 8 members, small numbers. Registered by 0x8ef560.

8 members
Member Value Script uses
eNormal 0 0
eOver 1 0
eDown 2 0
eDisabled 3 0
eSelectedNormal 4 0
eSelectedOver 5 0
eSelectedDown 6 0
eSelectedDisabledState 7 0

Drag

Input, mouse and keys, 4 members, small numbers, used in 5 script files. Registered by 0x8ef560.

4 members
Member Value Script uses
eDown 0 5
eDrag 1 6
eDrop 2 5
eDragDisabled 3 2

GamepadEvents

Input, mouse and keys, 3 members, small numbers, used in 1 script files. Registered by 0x8ef560.

3 members
Member Value Script uses
ButtonDown 9 1
ButtonUp 10 1
JoystickMotion 11 0

Gestures

Input, mouse and keys, 4 members, small numbers, used in 1 script files. Registered by 0x8ef560.

4 members
Member Value Script uses
Dragging 32 0
Stretching 64 2
Holding 128 0
Any 480 0

KeyEvents

Input, mouse and keys, 4 members, small numbers, used in 110 script files. Registered by 0x8ef560.

4 members
Member Value Script uses
WM_KEYDOWN 0 0
KeyDown 0 8
WM_KEYUP 1 0
KeyUp 1 161

Keys

Input, mouse and keys, 205 members, small numbers, used in 108 script files. Registered by 0x8ef560.

205 members
Member Value Script uses
A 1 0
B 2 2
C 3 0
D 4 1
E 5 0
F 6 1
G 7 1
H 8 0
I 9 0
J 10 2
K 11 0
L 12 0
M 13 0
N 14 0
O 15 0
P 16 0
Q 17 0
R 18 2
S 19 0
T 20 5
U 21 0
V 22 0
W 23 0
X 24 0
Y 25 1
Z 26 1
1 28 0
2 29 0
3 30 0
4 31 0
5 32 0
6 33 0
7 34 0
8 35 0
9 36 0
0 27 0
PAD_A 128 1
PAD_B 129 1
PAD_X 130 2
PAD_Y 131 0
PAD_BACK 147 0
PAD_START 146 0
PAD_RSHOULDER 132 1
PAD_LSHOULDER 133 0
PAD_LTRIGGER 134 0
PAD_RTRIGGER 136 1
PAD_UP 138 0
PAD_DOWN 139 0
PAD_LEFT 140 0
PAD_RIGHT 141 0
PAD_LTHUMB_PRESS 148 0
PAD_RTHUMB_PRESS 149 0
PAD_STICK_LEFT 0 0
PAD_STICK_RIGHT 1 0
PAD_TOOLTIP_REFRESH 190 0
VK_SPACE 100 3
VK_BACK 104 0
VK_TAB 101 1
VK_RETURN 102 22
VK_SHIFT 106 5
VK_CONTROL 107 1
VK_MENU 108 0
VK_ALT 108 3
VK_PAUSE 99 0
VK_CAPITAL 115 1
VK_KANA 21 0
VK_HANGEUL 21 0
VK_HANGUL 21 0
VK_JUNJA 23 0
VK_FINAL 24 0
VK_HANJA 25 0
VK_KANJI 25 0
VK_ESCAPE 103 119
VK_CONVERT 28 0
VK_NONCONVERT 29 0
VK_ACCEPT 30 0
VK_MODECHANGE 31 0
VK_PRIOR 79 0
VK_NEXT 82 0
VK_END 81 0
VK_HOME 78 0
VK_LEFT 83 0
VK_UP 84 0
VK_RIGHT 85 0
VK_DOWN 86 0
VK_SNAPSHOT 98 0
VK_INSERT 77 0
VK_DELETE 80 0
VK_LWIN 118 0
VK_RWIN 119 0
VK_APPS 120 0
VK_SLEEP 95 0
VK_NUMPAD0 37 0
VK_NUMPAD1 38 0
VK_NUMPAD2 39 0
VK_NUMPAD3 40 0
VK_NUMPAD4 41 0
VK_NUMPAD5 42 0
VK_NUMPAD6 43 0
VK_NUMPAD7 44 0
VK_NUMPAD8 45 0
VK_NUMPAD9 46 0
VK_MULTIPLY 47 0
VK_ADD 48 2
VK_SEPARATOR 122 0
VK_SUBTRACT 49 2
VK_DECIMAL 50 0
VK_DIVIDE 51 0
VK_F1 53 0
VK_F2 54 0
VK_F3 55 0
VK_F4 56 0
VK_F5 57 0
VK_F6 58 0
VK_F7 59 0
VK_F8 60 0
VK_F9 61 0
VK_F10 62 0
VK_F11 63 0
VK_F12 64 0
VK_F13 65 0
VK_F14 66 0
VK_F15 67 0
VK_F16 68 0
VK_F17 69 0
VK_F18 70 0
VK_F19 71 0
VK_F20 72 0
VK_F21 73 0
VK_F22 74 0
VK_F23 75 0
VK_F24 76 0
VK_NUMLOCK 116 0
VK_SCROLL 117 0
VK_OEM_NEC_EQUAL 146 0
VK_OEM_FJ_JISHO 146 0
VK_OEM_FJ_MASSHOU 147 0
VK_OEM_FJ_TOUROKU 148 0
VK_OEM_FJ_LOYA 149 0
VK_OEM_FJ_ROYA 150 0
VK_LSHIFT 109 0
VK_RSHIFT 112 0
VK_LCONTROL 110 0
VK_RCONTROL 113 0
VK_LMENU 111 0
VK_RMENU 114 0
VK_BROWSER_BACK 166 0
VK_BROWSER_FORWARD 167 0
VK_BROWSER_REFRESH 168 0
VK_BROWSER_STOP 169 0
VK_BROWSER_SEARCH 170 0
VK_BROWSER_FAVORITES 171 0
VK_BROWSER_HOME 172 0
VK_VOLUME_MUTE 183 0
VK_VOLUME_DOWN 184 0
VK_VOLUME_UP 185 0
VK_MEDIA_NEXT_TRACK 186 0
VK_MEDIA_PREV_TRACK 187 0
VK_MEDIA_STOP 188 0
VK_MEDIA_PLAY_PAUSE 189 0
VK_LAUNCH_MAIL 180 0
VK_LAUNCH_MEDIA_SELECT 181 0
VK_LAUNCH_APP1 182 0
VK_LAUNCH_APP2 183 0
VK_OEM_1 87 0
VK_OEM_PLUS 88 0
VK_OEM_COMMA 89 0
VK_OEM_MINUS 90 0
VK_OEM_PERIOD 91 0
VK_OEM_2 92 0
VK_OEM_3 93 0
VK_OEM_4 94 0
VK_OEM_5 95 0
VK_OEM_6 96 0
VK_OEM_7 97 0
VK_OEM_8 223 0
VK_OEM_AX 225 0
VK_OEM_102 226 0
VK_ICO_HELP 227 0
VK_ICO_00 228 0
VK_PROCESSKEY 229 0
VK_ICO_CLEAR 230 0
VK_PACKET 231 0
VK_OEM_RESET 233 0
VK_OEM_JUMP 234 0
VK_OEM_PA1 235 0
VK_OEM_PA2 236 0
VK_OEM_PA3 237 0
VK_OEM_WSCTRL 238 0
VK_OEM_CUSEL 239 0
VK_OEM_ATTN 240 0
VK_OEM_FINISH 241 0
VK_OEM_COPY 242 0
VK_OEM_AUTO 243 0
VK_OEM_ENLW 244 0
VK_OEM_BACKTAB 245 0
VK_ATTN 246 0
VK_CRSEL 247 0
VK_EXSEL 248 0
VK_EREOF 249 0
VK_PLAY 250 0
VK_ZOOM 251 0
VK_NONAME 252 0
VK_PA1 253 0
VK_OEM_CLEAR 254 0

Mouse

Input, mouse and keys, 11 members, small numbers, used in 168 script files. Registered by 0x8ef560.

11 members
Member Value Script uses
eLClick 0 1125
eLDblClick 3 8
eRClick 1 94
eRDblClick 4 0
eMClick 2 1
eMDblClick 5 0
eWheel 8 0
eMouseEnter 9 368
eMouseExit 10 7
eTap 6 0
eDblTap 7 0

MouseEvents

Input, mouse and keys, 18 members, small numbers, used in 16 script files. Registered by 0x8ef560.

18 members
Member Value Script uses
MouseFirst 12 0
MouseWheel 28 1
MouseMove 12 16
LButtonDown 13 3
LButtonUp 14 49
LButtonDoubleClick 15 1
RButtonDown 16 2
RButtonUp 17 10
RButtonDoubleClick 18 0
MButtonDown 19 4
MButtonUp 20 2
MButtonDoubleClick 21 0
PointerLeave 39 1
PointerEnter 38 0
MouseLast 29 0
PointerUp 36 41
PointerDown 35 10
PointerUpdate 34 13

ARXDeviceTypes

UI and application, 7 members, small numbers. Registered by 0x4d7c30.

7 members
Member Value Script uses
UNKNOWN 0 0
IPHONE 1 0
IPAD 2 0
ANDROID_SMALL 3 0
ANDROID_LARGE 5 0
ANDROID_XLARGE 6 0
ANDROID_UNKNOWN 7 0

CivilizationLevelTypes

UI and application, 5 members, hash values (32-bit, signed), used in 9 script files. Registered by 0x4d7c30.

5 members
Member Value Script uses
NO_CIVILIZATION_LEVEL -1 0
CIVILIZATION_LEVEL_TRIBE -648418268 0
CIVILIZATION_LEVEL_CITY_STATE -1034456971 0
CIVILIZATION_LEVEL_FULL_CIV 624367792 16
CIVILIZATION_LEVEL_FREE_CITIES 82227360 0

CombatVisType

UI and application, 4 members, small numbers, used in 3 script files. Registered by 0x4d7c30.

4 members
Member Value Script uses
ATTACKER 0 7
DEFENDER 1 6
INTERCEPTOR 2 6
ANTI_AIR 3 6

CursorTypes

UI and application, 3 members, hash values (32-bit, signed), used in 6 script files. Registered by 0x4d7c30.

3 members
Member Value Script uses
NORMAL -2047893672 34
WAIT 547071007 0
RANGE_ATTACK -46722710 36

DiplomaticThreatTypes

UI and application, 6 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

6 members
Member Value Script uses
UNKNOWN_THREAT -1 1
INVALID_THREAT 0 0
MAJOR_THREAT 1 1
MODERATE_THREAT 2 1
MINOR_THREAT 3 1
NO_THREAT 4 1

DiplomaticTrustTypes

UI and application, 8 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

8 members
Member Value Script uses
UNKNOWN_TRUST -1 1
INVALID_TRUST 0 0
TRUSTED 1 1
BARELY_KNOWN 3 1
SOME_TRUST 2 1
LOW_TRUST 4 1
DISTRUSTED 5 1
NO_TRUST 6 1

DiplomaticVisibilityTypes

UI and application, 5 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

5 members
Member Value Script uses
NONE -1 2
LIMITED 1 2
FULL 2 4
SECRET 3 0
TOP_SECRET 4 4

EraTypes

UI and application, 1 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

1 members
Member Value Script uses
NONE -1 0

InputLayoutTypes

UI and application, 2 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

2 members
Member Value Script uses
PC 0 1
CONSOLE 1 1

LensLayers

UI and application, 60 members, small numbers. Registered by 0x4d7c30.

60 members
Member Value Script uses
UNITS_MILITARY 0 0
UNITS_RELIGIOUS 1 0
UNITS_CIVILIAN 2 0
UNITS_ARCHAELOGY 3 0
YIELD_ICONS 4 0
IMPROVEMENTS 5 0
RESOURCES_BONUS 6 0
RESOURCES_LUXURY 7 0
RESOURCES_STRATEGIC 8 0
DISTRICTS_CITY_CENTER 9 0
DISTRICTS_ENCAMPMENT_DEFENSE 10 0
DISTRICTS_CAMPUS 11 0
DISTRICTS_NEARBY_MOUNTAIN 12 0
DISTRICTS_HOLY_SITE 13 0
DISTRICTS_ENCAMPMENT_MILITARY 14 0
DISTRICTS_COMMERICAL_HUB 15 0
DISTRICTS_THEATER_DISTRICT 16 0
DISTRICTS_HARBOR 17 0
DISTRICTS_AQUEDUCT 18 0
DISTRICTS_ENTERTAINMENT_COMPLEX 19 0
DISTRICTS_INDUSTRIAL_ZONE 20 0
DISTRICTS_NEIGHBORHOOD 21 0
DISTRICTS_AERODROME 22 0
DISTRICTS_SPACEPORT 23 0
TOURIST_TOKENS 24 0
RECOMMENDATION_SETTLER 25 0
RECOMMENDATION_BUILDER 26 0
CULTURE_BORDERS 27 0
LABELS_EMPIRE 28 0
LABELS_CONTINENT 29 0
HEX_COLORING_GOVERNMENT 30 0
HEX_COLORING_OWNING_CIV 31 0
HEX_COLORING_CONTINENT 32 0
HEX_COLORING_APPEAL_LEVEL 33 0
HEX_COLORING_WATER_AVAILABLITY 34 0
HEX_COLORING_RELIGION 35 0
HEX_COLORING_GREAT_PEOPLE 36 0
MOVEMENT_PATH 37 0
MOVEMENT_ZONE_OF_CONTROL 38 0
TRADE_ROUTE 39 0
DISTRICTS 48 0
ADJACENCY_BONUS_DISTRICTS 49 0
ADJACENCY_BONUS_UNITS 40 0
SELECTION 41 0
MAP_HEX_MASK 42 0
PURCHASE_PLOT 43 0
MOVEMENT_RANGE 44 0
WORLD_CURSOR 56 0
CITIZEN_MANAGEMENT 45 0
ATTACK_RANGE 46 0
CITY_YIELDS 47 0
NUMBERS 50 0
HEX_COLORING_ATTACK 51 0
HEX_COLORING_PLACEMENT 52 0
HEX_COLORING_MOVEMENT 53 0
CULTURAL_IDENTITY_LENS 54 0
LOYALTY_FREECITY_WARNING 55 0
DISTRICTS_FIRST 9 0
DISTRICTS_LAST 23 0
NUM_LENS_LAYERS 57 0

MainMenuStateDoneData

UI and application, 1 members, small numbers. Registered by 0x4d7c30.

1 members
Member Value Script uses
eBeginGame 0 0

OptionFileTypes

UI and application, 5 members, small numbers, used in 2 script files. Registered by 0x4d7c30.

5 members
Member Value Script uses
Application 1 0
Audio 2 0
Graphics 3 0
KeyMap 4 0
User 5 2

PopupPriority

UI and application, 11 members, small numbers, used in 68 script files. Registered by 0x4d7c30.

11 members
Member Value Script uses
Low 100 20
MediumHigh 700 5
Medium 500 13
High 1000 10
Tutorial 2000 3
TutorialHigh 2500 5
Civilopedia 3000 1
Utmost 5000 9
Achievement 4000 0
Current 9999 88
Default 10000 0

PushDataSearchOptions

UI and application, 4 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

4 members
Member Value Script uses
IsOpen 1 4
IsClosed 2 0
IsSeen 4 0
IsUnseen 8 0

RibbonHUDStats

UI and application, 3 members, small numbers, used in 3 script files. Registered by 0x4d7c30.

3 members
Member Value Script uses
HIDE 0 2
FOCUS 1 3
SHOW 2 8

SaveDirectories

UI and application, 6 members, small numbers, used in 3 script files. Registered by 0x4d7c30.

6 members
Member Value Script uses
DEFAULT 0 5
USER 1 0
BENCHMARK 2 2
AUTOMATION 3 0
TUTORIAL 4 0
DEMO 5 1

SaveFileTypes

UI and application, 2 members, small numbers, used in 6 script files. Registered by 0x4d7c30.

2 members
Member Value Script uses
GAME_STATE 0 7
GAME_CONFIGURATION 1 18

SaveLocationOptions

UI and application, 8 members, small numbers, used in 3 script files. Registered by 0x4d7c30.

8 members
Member Value Script uses
NO_OPTIONS 0 2
NORMAL 1 4
AUTOSAVE 4 3
QUICKSAVE 2 4
PREVIOUS 8 0
LOAD_METADATA 32 4
MOST_RECENT_ONLY 64 2
DIRECTORIES 256 1

SaveLocations

UI and application, 3 members, small numbers, used in 8 script files. Registered by 0x4d7c30.

3 members
Member Value Script uses
LOCAL_STORAGE 1 23
STEAM_CLOUD 2 0
FIRAXIS_CLOUD 3 0

SaveTypes

UI and application, 5 members, small numbers, used in 6 script files. Registered by 0x4d7c30.

5 members
Member Value Script uses
SINGLE_PLAYER 1 13
NETWORK_MULTIPLAYER 2 2
HOTSEAT 3 0
WORLDBUILDER_MAP 4 17
TILED_MAP 5 12

SlotStatus

UI and application, 5 members, small numbers, used in 13 script files. Registered by 0x4d7c30.

5 members
Member Value Script uses
SS_OPEN 0 8
SS_COMPUTER 1 17
SS_CLOSED 2 13
SS_TAKEN 3 29
SS_OBSERVER 4 9

TradeItemDesirability

UI and application, 5 members, small numbers. Registered by 0x4d7c30.

5 members
Member Value Script uses
DESIRED 0 0
NEUTRAL 1 0
DISFAVORED 2 0
POOR 3 0
FORBIDDEN 4 0

TurnNotifyFrequencyModes

UI and application, 2 members, small numbers, used in 1 script files. Registered by 0x4d7c30.

2 members
Member Value Script uses
TurnNotify_MyTurn 0 1
TurnNotify_EveryTurn 1 1

WorldRenderView

UI and application, 2 members, small numbers, used in 11 script files. Registered by 0x4d7c30.

2 members
Member Value Script uses
VIEW_3D 0 7
VIEW_2D 1 18

BoostSources

Game state and interface modes, 11 members, small numbers, used in 1 script files. Registered by 0x15e0b0.

11 members
Member Value Script uses
NO_BOOST_SOURCE -1 0
BOOST_SOURCE_TRIGGER 0 0
BOOST_SOURCE_GOODYHUT 1 2
BOOST_SOURCE_WONDER 2 2
BOOST_SOURCE_GREAT_PERSON 3 2
BOOST_SOURCE_ESPIONAGE 4 1
BOOST_SOURCE_RESEARCH_AGREEMENT 5 1
BOOST_SOURCE_TEAMMATE 6 2
BOOST_SOURCE_CAPTURED_CITY 7 2
BOOST_SOURCE_TRADING_POST 8 2
BOOST_SOURCE_BARBARIAN_CLAN_STEAL 9 2

CloudNotifyTypes

Game state and interface modes, 4 members, small numbers, used in 2 script files. Registered by 0x15e0b0.

4 members
Member Value Script uses
CLOUDNOTIFY_NONE 0 7
CLOUDNOTIFY_YOURTURN 1 5
CLOUDNOTIFY_GAMEREADY 2 5
CLOUDNOTIFY_ERROR 3 4

CombatTypes

Game state and interface modes, 6 members, hash values (32-bit, signed), used in 1 script files. Registered by 0x15e0b0.

6 members
Member Value Script uses
MELEE 748940753 3
RANGED 784649805 6
BOMBARD 1338578493 5
AIR 1184946373 2
ICBM 1640240290 0
RELIGIOUS 1580168296 5

DirectionTypes

Game state and interface modes, 7 members, small numbers, used in 37 script files. Registered by 0x15e0b0.

7 members
Member Value Script uses
NO_DIRECTION -1 11
DIRECTION_NORTHEAST 0 151
DIRECTION_EAST 1 108
DIRECTION_SOUTHEAST 2 57
DIRECTION_SOUTHWEST 3 74
DIRECTION_WEST 4 101
DIRECTION_NORTHWEST 5 152

FalloutDamages

Game state and interface modes, 1 members, small numbers, used in 3 script files. Registered by 0x15e0b0.

1 members
Member Value Script uses
USE_FALLOUT_DEFAULT -1 3

GameModeTypes

Game state and interface modes, 6 members, hash values (32-bit, signed), used in 4 script files. Registered by 0x15e0b0.

6 members
Member Value Script uses
SINGLEPLAYER -379035929 3
HOTSEAT 208129763 3
INTERNET 1161765858 4
LAN 20463770 2
PLAYBYCLOUD 285185446 1
CROSSPLAY -413661464 2

GamePadInputType

Game state and interface modes, 8 members, small numbers, used in 1 script files. Registered by 0x15e0b0.

8 members
Member Value Script uses
INPUT_TYPE_BUMPERS 0 0
INPUT_TYPE_LEFTSTICK 1 0
INPUT_TYPE_DPAD 2 0
INPUT_TYPE_LEFTSTICKDPAD 3 2
INPUT_TYPE_RIGHTSTICK 4 0
INPUT_TYPE_PAD_BUTTONS 5 0
INPUT_TYPE_FIELD 6 0
INPUT_TYPE_PLOT 7 0

GameStateTypes

Game state and interface modes, 3 members, hash values (32-bit, signed), used in 6 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
GAMESTATE_PREGAME -901772834 13
GAMESTATE_LOAD_PREGAME -2091470447 2
GAMESTATE_LAUNCHED -818482450 8

HeroDiscoverySources

Game state and interface modes, 8 members, small numbers, used in 1 script files. Registered by 0x15e0b0.

8 members
Member Value Script uses
NO_DISCOVERY_SOURCE 0 0
DISCOVERY_SOURCE_PROJECT 1 1
DISCOVERY_SOURCE_GOODY_HUT 2 1
DISCOVERY_SOURCE_CITY_STATE_INFLUENCE 3 1
DISCOVERY_SOURCE_CITY_STATE_SUZERAIN 4 1
DISCOVERY_SOURCE_NEW_CONTINENT 5 1
DISCOVERY_SOURCE_NATURAL_WONDER 6 1
DISCOVERY_SOURCE_ENCOUNTER 7 1

IdentityConversionOutcome

Game state and interface modes, 3 members, small numbers, used in 4 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
STABLE 0 0
LOSING_LOYALTY 1 8
GAINING_LOYALTY 2 4

InterfaceModeTypes

Game state and interface modes, 44 members, hash values (32-bit, signed), used in 57 script files. Registered by 0x15e0b0.

44 members
Member Value Script uses
NONE -1 5
DEBUG 372882022 10
SELECTION -1615000917 112
MOVE_TO -1008159109 17
ROUTE_TO -985702248 1
ATTACK 1119194277 1
RANGE_ATTACK -792658014 11
DEPLOY -1756456604 8
REBASE 1115649463 8
CITY_RANGE_ATTACK 1538406634 24
DISTRICT_RANGE_ATTACK -228309745 20
AIR_ATTACK -1611767772 8
WMD_STRIKE 409072336 12
ICBM_STRIKE 1615466633 14
COASTAL_RAID 380199913 6
EMBARK -1837166573 1
DISEMBARK -630021262 1
CITY_PLOT_SELECTION 438733329 0
BUILDING_PLACEMENT -85343547 19
DISTRICT_PLACEMENT -664236824 23
MAKE_TRADE_ROUTE -1756334557 26
FORM_CORPS -24202438 6
FORM_ARMY 1356399193 6
AIRLIFT -1331449691 6
PARADROP -159775061 14
TELEPORT_TO_CITY 175937486 13
PLACE_MAP_PIN 807898670 7
CITY_MANAGEMENT -934432593 16
WB_SELECT_PLOT 828515937 14
SPY_CHOOSE_MISSION 1070742220 13
SPY_TRAVEL_TO_CITY -1820340997 12
NATURAL_WONDER 491433502 4
CINEMATIC 397393512 21
VIEW_MODAL_LENS 4552534 64
PRIORITY_TARGET 1504273883 13
BUILD_IMPROVEMENT_ADJACENT -110027413 7
MOVE_JUMP 1627526106 6
FULLSCREEN_MAP -255747212 9
CITY_SELECTION -1771815636 5
SACRIFICE_SELECTION -57145246 7
KILL_WEAKER_UNIT -1834615361 8
TRANSFORM_UNIT -798936508 8
RESTORE_UNIT_MOVES -1601251582 8
NAVAL_GOLD_RAID 1446743340 8

LayoutOverride

Game state and interface modes, 3 members, small numbers. Registered by 0x15e0b0.

3 members
Member Value Script uses
LAYOUT_OVERRIDE_NONE 0 0
LAYOUT_OVERRIDE_PHONE 1 0
LAYOUT_OVERRIDE_TABLET 2 0

LeaderRandomPoolTypes

Game state and interface modes, 3 members, hash values (32-bit, signed), used in 2 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
LEADER_RANDOM_POOL_DEFAULT 0 1
LEADER_RANDOM_POOL_1 -1440298592 3
LEADER_RANDOM_POOL_2 858757146 3

MilitaryFormationTypes

Game state and interface modes, 4 members, small numbers, used in 14 script files. Registered by 0x15e0b0.

4 members
Member Value Script uses
NO_MILITARY_FORMATION -1 0
STANDARD_MILITARY_FORMATION 0 7
CORPS_MILITARY_FORMATION 1 15
ARMY_MILITARY_FORMATION 2 15

PlayerTypes

Game state and interface modes, 4 members, small numbers, used in 50 script files. Registered by 0x15e0b0, 0x4d7c30.

4 members
Member Value Script uses
NO_PLAYER -1 3
NONE -1 91
OBSERVER 1000 56
BARBARIAN 63 6

PlotDynamicPropertyKeys

Game state and interface modes, 1 members, small numbers. Registered by 0x15e0b0.

1 members
Member Value Script uses
DELAYED_DAMAGE_TURN 386561951 0

PlotHighlightTypes

Game state and interface modes, 3 members, hash values (32-bit, signed), used in 3 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
PLACEMENT -928433870 2
ATTACK 1541530529 3
MOVEMENT -325315996 5

RevealedState

Game state and interface modes, 3 members, small numbers, used in 14 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
HIDDEN 0 11
REVEALED 1 9
VISIBLE 2 46

TeamTypes

Game state and interface modes, 1 members, small numbers, used in 2 script files. Registered by 0x15e0b0.

1 members
Member Value Script uses
NO_TEAM -1 7

TurnLimitTypes

Game state and interface modes, 3 members, hash values (32-bit, signed), used in 2 script files. Registered by 0x15e0b0.

3 members
Member Value Script uses
NONE -2137446946 0
GAMESPEED -554045265 0
CUSTOM 40503376 2

TurnTimerTypes

Game state and interface modes, 3 members, hash values (32-bit, signed). Registered by 0x15e0b0.

3 members
Member Value Script uses
TURNTIMER_NONE -1525060181 0
TURNTIMER_STANDARD 2133509568 0
TURNTIMER_DYNAMIC 698670180 0

TutorialLevel

Game state and interface modes, 6 members, small numbers, used in 7 script files. Registered by 0x15e0b0.

6 members
Member Value Script uses
NO_TUTORIAL -1 0
LEVEL_TBS_FAMILIAR 0 29
LEVEL_CIV_FAMILIAR 1 34
LEVEL_NEW_TO_XP1 2 58
LEVEL_NEW_TO_XP2 3 1
LEVEL_EXPERIENCED_PLAYER 4 42

UnitConfirmationLevel

Game state and interface modes, 3 members, small numbers. Registered by 0x15e0b0.

3 members
Member Value Script uses
CONFIRMATION_LEVEL_NONE 0 0
CONFIRMATION_LEVEL_COMBAT 1 0
CONFIRMATION_LEVEL_ALWAYS 2 0

UnitPropertyKeys

Game state and interface modes, 2 members, hash values (32-bit, signed), used in 1 script files. Registered by 0x15e0b0.

2 members
Member Value Script uses
MaxHitPoints 2101331729 0
LifespanRemaining -1318296071 1

WMDStatus

Game state and interface modes, 5 members, hash values (32-bit, signed). Registered by 0x15e0b0.

5 members
Member Value Script uses
WMD_NONE -1507201801 0
WMD_OK 447518686 0
WMD_FAIL_NOT_CAPABLE -1072418246 0
WMD_FAIL_NO_ATTACKER 1885064494 0
WMD_FAIL_ATTACKER_LOW_HEALTH -106498130 0