Skip to content

File I/O

Written by: Alian713, Kramb


1. cOffsetString

Value: int 0

Used with the xsOffsetFilePosition. Makes the offset function move the file position by the number of bytes it takes to store a string (4 bytes + a number of bytes that is determined by the integer that the first 4 bytes represent)

2. cOffsetInteger

Value: int 1

Used with the xsOffsetFilePosition. Makes the offset function move the file position by the number of bytes it takes to store an integer (4 bytes)

3. cOffsetFloat

Value: int 2

Used with the xsOffsetFilePosition. Makes the offset function move the file position by the number of bytes it takes to store a float (4 bytes)

4. cOffsetVector

Value: int 3

Used with the xsOffsetFilePosition. Makes the offset function move the file position by the number of bytes it takes to store a vector (12 bytes)