GUI Popup: Difference between revisions
Content added Content deleted
No edit summary |
(Added infobox.) |
||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
| name = GuiPopup |
|||
| othernames = Popup |
|||
| example = [[File:Paradise GuiPopup Example.png|frameless|350px]]<br />The CNOnlEntGame GUI popup shown<br />when creating an online match. |
|||
| id = 0x1F |
|||
| category = Generic |
|||
| memdist = Main Memory only |
|||
}} |
|||
{{subpage|Previous versions|text=Information on previous versions of GUI Popup resources.}} |
{{subpage|Previous versions|text=Information on previous versions of GUI Popup resources.}} |
||
Revision as of 21:17, 24 September 2023
GuiPopup | |
---|---|
aka Popup | |
The CNOnlEntGame GUI popup shown when creating an online match. | |
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.
Structures
CgsGui::GuiPopupResource
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | GuiPopup** | mppPopupData | ||
0x4 | 0x2 | int16_t | miPopupCount | ||
0x6 | 0x2 | int16_t | miSizeOfPopupResource |
64-bit
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
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
CgsGui::PopupStyle
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
Name | Value | Comments |
---|---|---|
E_POPUPICONS_INVISIBLE | 0 | |
E_POPUPICONS_WARNING | 1 | |
E_POPUPICONS_COUNT | 2 |
CgsGui::PopupParamTypes
Name | Value | Comments |
---|---|---|
E_POPUPPARAMTYPES_UNUSED | 0 | |
E_POPUPPARAMTYPES_STRING | 1 | |
E_POPUPPARAMTYPES_STRING_ID | 2 | |
E_POPUPPARAMTYPES_COUNT | 3 |