AttribSys Vault: Difference between revisions

Added breakdown and replaced Node with AttribEntry.
mNo edit summary
(Added breakdown and replaced Node with AttribEntry.)
 
Line 68:
 
= Vault =
[[File:PUSMC01 AttribSys Breakdown.svg|thumb|A breakdown diagram of the Cavalry's vault.]]
 
The vault is a set of structures with [[#Attrib::Vault::ChunkBlock|ChunkBlocks]] which are read sequentially. In Burnout Paradise, these are:
* '''Vers''': The version
Line 154 ⟶ 156:
|}
 
This is always followed by the types, then the entries (which are [[#Attrib::NodeCollectionLoadData::AttribEntry|nodesentries]]).
 
=== Attrib::NodeCollectionLoadData::AttribEntry ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 162 ⟶ 164:
| 0x0 || 0x8 || [[Attribute hash|Key]] || mKey || ||
|-
| 0x8 || 0x4 || [[#Attrib::Node::anon_union_0|anon_union_0]]void* || field_1mData || || Just a pointer
|-
| 0xC || 0x2 || uint16_t || mTypeIndex || ||
|-
| 0xE || 0x1 || uint8_t || mMax || ||
|-
| 0xF || 0x1 || uint8_t || mFlags || ||
|}
 
=== Attrib::Node::anon_union_0 ===
{| class="wikitable"
! Length !! Type !! Name !! Description !! Comments
|-
| 0x4 || void* || mPtr || ||
|-
| 0x40xC || Array*0x2 || mArrayuint16_t || mType || ||
|-
| 0x40xE || uintptr_t0x1 || mValueuint8_t || mNodeFlags || ||
|-
| 0x40xF || 0x1 || uintptr_tuint8_t || mOffsetmEntryFlags || ||
|}
 
Line 194 ⟶ 183:
|}
 
Followed by [[#Attrib::Vault::ExportEntry|export entries]] of an amount defined by <code>mCount</code>.
 
=== Attrib::Vault::ExportEntry ===