Template:RCO TOC entry common area
Jump to navigation
Jump to search
Offset | Length | Type | Name | Example (TOC) | Example (XML) | Notes | ||
---|---|---|---|---|---|---|---|---|
0x00 | 0x04 | int | entry_type | Yes | Yes | 01 / 01 / 00 00 | <MainTree name="label"> | First byte = type, second byte = id, last 2 bytes = padding |
0x04 | 0x04 | int | entry_label_offset | Yes | Yes | 00 00 00 00 | Label offset relative to the start of the label_string_table (optional) | |
0x08 | 0x04 | int | attributes_offset | Yes | Yes | 00 00 00 28 | no XML representation | Attributes offset relative to the start of the entry (optional) |
0x0C | 0x04 | int | children_offset | Yes | Yes | 00 00 00 00 | First children offset relative to the start of the entry (optional) | |
0x10 | 0x04 | int | children_number | Yes | Yes | 00 00 00 00 | represents XML hierarchy | Number of subentries |
0x14 | 0x04 | int | next_sibling_offset | Yes | Yes | 00 00 00 00 | Next sibling offset relative to the start of the entry (optional) | |
0x18 | 0x04 | int | prev_sibling_offset | Yes | Yes | 00 00 00 00 | Previous sibling offset relative to the start of the entry (optional) | |
0x1C | 0x04 | int | parent_offset | Yes | Yes | 00 00 00 28 | Entry offset relative to the start of the parent entry | |
0x20 | 0x08 | unk | toc_entry_unk | Yes | Yes | 00 00 00 00 .. . | no XML representation | Unknown |