Sly 1:VAULT: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Created Sly 1 struct stub) |
TheOnlyZac (talk | contribs) m (Layout) |
||
Line 1: | Line 1: | ||
{{Infobox struct |
{{Infobox struct |
||
}} |
}} |
||
'''VAULT''' is a struct in {{Sly 1}}. It is used in the functions <code>OpenVault</code> and <code>UpdateVaultActive</code>. One can be found in memory |
'''VAULT''' is a struct in {{Sly 1}}. It is used in the functions <code>OpenVault</code> and <code>UpdateVaultActive</code>. One can be found in memory in each level that contains a vault. |
||
==Fields== |
== Fields == |
||
{| class="wikitable" |
{| class="wikitable" |
||
|+Caption text |
|||
|- |
|||
!Offset |
!Offset |
||
!Type!!Name!!Description |
!Type!!Name!!Description |
||
Line 27: | Line 25: | ||
|- |
|- |
||
|0x768 |
|0x768 |
||
|[[Sly 1:DIALOG|DIALOG]] * [27]||''Unlock dialogues''||Array of all possible DIALOGs that can play upon opening{{Check}} |
|[[Sly 1:DIALOG|DIALOG]] * [27]||''Unlock dialogues''||Array of pointers to all possible DIALOGs that can play upon opening{{Check}} |
||
|- |
|- |
||
|0x7d8 |
|0x7d8 |
||
|int |
|int |
||
|cpdialogPending |
|cpdialogPending |
||
| |
|Amount of pending DIALOGs |
||
|- |
|- |
||
|0x7dc |
|0x7dc |
||
Line 40: | Line 38: | ||
|} |
|} |
||
⚫ | |||
{{Navbox Sly 1}} |
{{Navbox Sly 1}} |
||
⚫ |
Revision as of 05:01, 19 October 2022
Data Structure | |
---|---|
Game | Sly Cooper and the Thievius Raccoonus |
VAULT is a struct in Sly Cooper and the Thievius Raccoonus. It is used in the functions OpenVault
and UpdateVaultActive
. One can be found in memory in each level that contains a vault.
Fields
Offset | Type | Name | Description |
---|---|---|---|
0x614 | SMA * | psmaVault | SMA goal to set upon opening the vault. |
0x640 | int | nCombination | Vault combination (any three digit number) |
0x760 | int | Thief move mask | Mask of bits to unlock on the powerup flags upon opening the vault |
0x764 | int | Dialog index | Index of which DIALOG to play upon opening[check] |
0x768 | DIALOG * [27] | Unlock dialogues | Array of pointers to all possible DIALOGs that can play upon opening[check] |
0x7d8 | int | cpdialogPending | Amount of pending DIALOGs |
0x7dc | DIALOG * * | apdialogPending | Array of pending DIALOGs |
This article is a stub. You can help SlyMods by expanding it. |