GUI Popup: Difference between revisions
Content added Content deleted
(Added resource names and bundle name.) |
m (Normalization) |
||
Line 19: | Line 19: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || [[#CgsGui::GuiPopup |
| 0x0 || 0x4 || [[#CgsGui::GuiPopup|GuiPopup]]** || mppPopupData || || |
||
|- |
|- |
||
| 0x4 || 0x2 || int16_t || miPopupCount || || |
| 0x4 || 0x2 || int16_t || miPopupCount || || |
||
Line 30: | Line 30: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x8 || [[#CgsGui::GuiPopup |
| 0x0 || 0x8 || [[#CgsGui::GuiPopup|GuiPopup]]** || mppPopupData || || |
||
|- |
|- |
||
| 0x8 || 0x2 || int16_t || miPopupCount || || |
| 0x8 || 0x2 || int16_t || miPopupCount || || |
||
Line 36: | Line 36: | ||
| 0xA || 0x2 || int16_t || miSizeOfPopupResource || || |
| 0xA || 0x2 || int16_t || miSizeOfPopupResource || || |
||
|- |
|- |
||
| 0xC || 0x4 || || || |
| 0xC || 0x4 || || || Padding || |
||
|} |
|} |
||
Line 43: | Line 43: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x8 || [[ |
| 0x0 || 0x8 || [[CgsID]] || mNameId || || |
||
|- |
|- |
||
| 0x8 || 0xD || char[13] || macName || || |
| 0x8 || 0xD || char[13] || macName || || |
||
|- |
|- |
||
| 0x15 || 0x3 || || || |
| 0x15 || 0x3 || || || Padding || |
||
|- |
|- |
||
| 0x18 || 0x4 || [[#CgsGui::PopupStyle |
| 0x18 || 0x4 || [[#CgsGui::PopupStyle|PopupStyle]] || meStyle || || |
||
|- |
|- |
||
| 0x1C || 0x4 || [[#CgsGui::PopupIcons |
| 0x1C || 0x4 || [[#CgsGui::PopupIcons|PopupIcons]] || meIcon || || |
||
|- |
|- |
||
| 0x20 || 0x20 || char[32] || macTitleId || || |
| 0x20 || 0x20 || char[32] || macTitleId || || |
||
Line 57: | Line 57: | ||
| 0x40 || 0x20 || char[32] || macMessageId || || |
| 0x40 || 0x20 || char[32] || macMessageId || || |
||
|- |
|- |
||
| 0x60 || 0x8 || [[#CgsGui::PopupParamTypes |
| 0x60 || 0x8 || [[#CgsGui::PopupParamTypes|PopupParamTypes]][2] || maeMessageParams || || |
||
|- |
|- |
||
| 0x68 || 0x4 || int32_t || miMessageParamsUsed || || |
| 0x68 || 0x4 || int32_t || miMessageParamsUsed || || |
||
Line 63: | Line 63: | ||
| 0x6C || 0x20 || char[32] || macButton1Id || || |
| 0x6C || 0x20 || char[32] || macButton1Id || || |
||
|- |
|- |
||
| 0x8C || 0x4 || [[#CgsGui::PopupParamTypes |
| 0x8C || 0x4 || [[#CgsGui::PopupParamTypes|PopupParamTypes]] || meButton1Param || || |
||
|- |
|- |
||
| 0x90 || 0x1 || bool || mbButton1ParamUsed || || |
| 0x90 || 0x1 || bool || mbButton1ParamUsed || || |
||
Line 69: | Line 69: | ||
| 0x91 || 0x20 || char[32] || macButton2Id || || |
| 0x91 || 0x20 || char[32] || macButton2Id || || |
||
|- |
|- |
||
| 0xB1 || 0x3 || || || |
| 0xB1 || 0x3 || || || Padding || |
||
|- |
|- |
||
| 0xB4 || 0x4 || [[#CgsGui::PopupParamTypes |
| 0xB4 || 0x4 || [[#CgsGui::PopupParamTypes|PopupParamTypes]] || meButton2Param || || |
||
|- |
|- |
||
| 0xB8 || 0x1 || bool || mbButton2ParamUsed || || |
| 0xB8 || 0x1 || bool || mbButton2ParamUsed || || |
||
|- |
|- |
||
| 0xB9 || 0x7 || || || |
| 0xB9 || 0x7 || || || Padding || |
||
|} |
|} |
||
Line 81: | Line 81: | ||
=== CgsGui::PopupStyle === |
=== CgsGui::PopupStyle === |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Name !! Value !! Comments |
! Name !! Value !! Comments |
||
|- |
|- |
||
Line 121: | Line 120: | ||
=== CgsGui::PopupIcons === |
=== CgsGui::PopupIcons === |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Name !! Value !! Comments |
! Name !! Value !! Comments |
||
|- |
|- |
||
Line 133: | Line 131: | ||
=== CgsGui::PopupParamTypes === |
=== CgsGui::PopupParamTypes === |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Name !! Value !! Comments |
! Name !! Value !! Comments |
||
|- |
|- |
Latest revision as of 07:46, 3 October 2023
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
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 |