.hrec file

From NPC for VCMP 0.4 Servers
Revision as of 14:35, 27 January 2024 by Habi (talk | contribs) (Created page with "{| class="wikitable" |+ .hrec File Structure |- ! Field !! Description |- | Unsigned Int (4 bytes) - Magic || 9000 (Identifier for the file) |- | uint32_t (4 bytes) - Time (as ticks) || Time information in ticks |- | uint16_t (2 bytes) - Length of Filename || Length of the filename that follows |- | char* (variable length) - Filename || Variable-length character array storing the filename |- | char* (24 bytes) - Playername || Fixed-size character array (24 bytes) represe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.hrec File Structure
Field Description
Unsigned Int (4 bytes) - Magic 9000 (Identifier for the file)
uint32_t (4 bytes) - Time (as ticks) Time information in ticks
uint16_t (2 bytes) - Length of Filename Length of the filename that follows
char* (variable length) - Filename Variable-length character array storing the filename
char* (24 bytes) - Playername Fixed-size character array (24 bytes) representing the player's name
Repeat the structure for each entry in the file