GUI Popup
GuiPopup | |
---|---|
aka Popup | |
![]() The CNOnlEntGame GUI popup shown when creating an online match. | |
Resource names | POPUPS.pup |
Type ID | 0x1F |
Category | Generic |
Memory distribution |
Main Memory only |
Editor available? |
No |
![]() | Previous versions Information on previous versions of GUI Popup resources. |
Popups are card styled messages that appear at specific points in the game, such as when an online room is left or joined. Their resource is found in POPUPS.PUP.
Structures[edit | edit source]
CgsGui::GuiPopupResource[edit | edit source]
32-bit[edit | edit source]
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | GuiPopup** | mppPopupData | ||
0x4 | 0x2 | int16_t | miPopupCount | ||
0x6 | 0x2 | int16_t | miSizeOfPopupResource |
64-bit[edit | edit source]
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | GuiPopup** | mppPopupData | ||
0x8 | 0x2 | int16_t | miPopupCount | ||
0xA | 0x2 | int16_t | miSizeOfPopupResource | ||
0xC | 0x4 | Padding |
CgsGui::GuiPopup[edit | edit source]
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | CgsID | mNameId | ||
0x8 | 0xD | char[13] | macName | ||
0x15 | 0x3 | Padding | |||
0x18 | 0x4 | PopupStyle | meStyle | ||
0x1C | 0x4 | PopupIcons | meIcon | ||
0x20 | 0x20 | char[32] | macTitleId | ||
0x40 | 0x20 | char[32] | macMessageId | ||
0x60 | 0x8 | PopupParamTypes[2] | maeMessageParams | ||
0x68 | 0x4 | int32_t | miMessageParamsUsed | ||
0x6C | 0x20 | char[32] | macButton1Id | ||
0x8C | 0x4 | PopupParamTypes | meButton1Param | ||
0x90 | 0x1 | bool | mbButton1ParamUsed | ||
0x91 | 0x20 | char[32] | macButton2Id | ||
0xB1 | 0x3 | Padding | |||
0xB4 | 0x4 | PopupParamTypes | meButton2Param | ||
0xB8 | 0x1 | bool | mbButton2ParamUsed | ||
0xB9 | 0x7 | Padding |
Enumerations[edit | edit source]
CgsGui::PopupStyle[edit | edit source]
Name | Value | Comments |
---|---|---|
E_POPUPSTYLE_CRASHNAV_WAIT | 0 | Type: CrashNav |
E_POPUPSTYLE_CRASHNAV_OK | 1 | Type: CrashNav |
E_POPUPSTYLE_CRASHNAV_OKCANCEL | 2 | Type: CrashNav |
E_POPUPSTYLE_CRASHNAV_ONLINE_WAIT | 3 | Type: CrashNavOnline |
E_POPUPSTYLE_CRASHNAV_ONLINE_OK | 4 | Type: CrashNavOnline |
E_POPUPSTYLE_CRASHNAV_ONLINE_OKCANCEL | 5 | Type: CrashNavOnline |
E_POPUPSTYLE_INGAME_WAIT | 6 | Type: InGame |
E_POPUPSTYLE_INGAME_OK | 7 | Type: InGame |
E_POPUPSTYLE_INGAME_OKCANCEL | 8 | Type: InGame |
E_POPUPSTYLE_INGAME_ONLINE_WAIT | 9 | Type: InGameOnline |
E_POPUPSTYLE_INGAME_ONLINE_OK | 10 | Type: InGameOnline |
E_POPUPSTYLE_INGAME_ONLINE_OKCANCEL | 11 | Type: InGameOnline |
E_POPUPSTYLE_INGAME_ONLINE_ENTER_FREEBURN | 12 | Type: EnterFreeBurn |
E_POPUPSTYLE_CUSTOM | 13 | |
? | 14 | In-game enter island Type: IslandPopUp |
? | 15 | In-game buy island Type: IslandPopUp |
E_POPUPSTYLE_COUNT | 16 |
CgsGui::PopupIcons[edit | edit source]
Name | Value | Comments |
---|---|---|
E_POPUPICONS_INVISIBLE | 0 | |
E_POPUPICONS_WARNING | 1 | |
E_POPUPICONS_COUNT | 2 |
CgsGui::PopupParamTypes[edit | edit source]
Name | Value | Comments |
---|---|---|
E_POPUPPARAMTYPES_UNUSED | 0 | |
E_POPUPPARAMTYPES_STRING | 1 | |
E_POPUPPARAMTYPES_STRING_ID | 2 | |
E_POPUPPARAMTYPES_COUNT | 3 |