EvilEngine/DYNA/ui:text:user string: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
 
Line 3: Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0xFB50BACB}}<nowiki/>
{{#vardefine:hash|0xFB50BACB}}<nowiki/>
{{#vardefine:games|Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

==Format==
Inherits from [[EvilEngine/DYNA/ui:text|DYNA/ui:text]]<br>Unused in The SpongeBob SquarePants Movie but is still supported.
<source lang=cpp>
class zUIUserStringAsset : public zUITextAsset
{
public:
unsigned char hardMaxChars;
unsigned char softMaxChars;
};
</source>


{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || byte || '''hardMaxChars''' ||
| 0x74 || u8 || '''hardMaxChars''' ||
|-
| 0x01 || byte || '''softMaxChars''' ||
|-
|-
| 0x02 || byte || '''padding1''' ||
| 0x75 || u8 || '''softMaxChars''' ||
|-
|-
| 0x03 || byte || '''padding2''' ||
| 0x76 || u8[2] || null || padding
|}
|}



Latest revision as of 16:41, 23 March 2024

ui:text:user string
Hash0xFB50BACB
Games usedThe SpongeBob SquarePants Movie

The Incredibles
Rise of the Underminer

Ratatouille Prototype

Format

Inherits from DYNA/ui:text
Unused in The SpongeBob SquarePants Movie but is still supported.

class zUIUserStringAsset : public zUITextAsset
{
public:
    unsigned char hardMaxChars;
    unsigned char softMaxChars;
};
Offset Type Variable Description
0x74 u8 hardMaxChars
0x75 u8 softMaxChars
0x76 u8[2] null padding