Sly 1:VAULT: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
m (Moved stub tag above navbox)
(Fixed struct fields table)
Line 4: Line 4:


== Fields ==
== Fields ==
{{Struct|
{{Struct top}}
{{Struct field|0x614|0x4|[[Sly 1:SMA|SMA]] *|psmaVault|SMA goal to set upon opening the vault.}}
{{Struct field|0x614|0x4|[[Sly 1:SMA|SMA]]*|psmaVault|SMA goal to set upon opening the vault.}}
{{Struct field|0x640|0x4|int|nCombination|Vault combination (any three digit number)}}
{{Struct field|0x640|0x4|int|nCombination|Vault combination (any three digit number)}}
{{Struct field|0x760|0x4|int|''Thief move mask''|Mask of bits to unlock on the powerup flags upon opening the vault}}
{{Struct field|0x760|0x4|int|''Thief move mask''|Mask of bits to unlock on the powerup flags upon opening the vault}}
{{Struct field|0x764|0x4|int|''Dialog index''|Index of which DIALOG to play upon opening{{Check}}}}
{{Struct field|0x764|0x4|int|''Dialog index''|Index of which DIALOG to play upon opening{{Check}}}}
{{Struct field|0x768||[[Sly 1:DIALOG|DIALOG]] * [27]|''Unlock dialogues''|Array of pointers to all possible DIALOGs that can play upon opening{{Check}}}}
{{Struct field|0x768||[[Sly 1:DIALOG|DIALOG]]* [27]|''Unlock dialogues''|Array of pointers to all possible DIALOGs that can play upon opening{{Check}}}}
{{Struct field|0x7d8|0x4|int|cpdialogPending|Amount of pending DIALOGs}}
{{Struct field|0x7d8|0x4|int|cpdialogPending|Amount of pending DIALOGs}}
{{Struct field|0x7dc||DIALOG[{{check}}]|apdialogPending|Array of pending DIALOGs}}
{{Struct field|0x7dc||DIALOG[{{check}}]|apdialogPending|Array of pending DIALOGs}}
{{Struct bottom}}
}}


{{Stub}}
{{Stub}}

Revision as of 16:04, 23 September 2023

VAULT
Data Structure
GameSly 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 Size Type Name Notes
0x614 0x4
[[Sly 1:SMA|SMA]]*
psmaVault SMA goal to set upon opening the vault.
0x640 0x4
int
nCombination Vault combination (any three digit number)
0x760 0x4
int
Thief move mask Mask of bits to unlock on the powerup flags upon opening the vault
0x764 0x4
int
Dialog index Index of which DIALOG to play upon opening[check]
0x768
[[Sly 1:DIALOG|DIALOG]]* [27]
Unlock dialogues Array of pointers to all possible DIALOGs that can play upon opening[check]
0x7d8 0x4
int
cpdialogPending Amount of pending DIALOGs
0x7dc
DIALOG[<sup style="white-space:nowrap;">[<i>[[Help:Contributing/How to contribute#Fact-checking|<span title="This statement needs to be checked for accuracy.">check</span>]]</i>]</sup>[[Category:Articles needing fact-checking]]]
apdialogPending Array of pending DIALOGs