C# Class LSLib.LS.LSF.Header

Show file Open project: Norbyte/lslib Class Usage Examples

Public Properties

Property Type Description
AttributesSizeOnDisk System.UInt32
AttributesUncompressedSize System.UInt32
CompressionFlags Byte
EngineVersion System.UInt32
Extended System.UInt32
Magic System.UInt32
NodesSizeOnDisk System.UInt32
NodesUncompressedSize System.UInt32
Signature byte[]
StringsSizeOnDisk System.UInt32
StringsUncompressedSize System.UInt32
Unknown2 Byte
Unknown3 System.UInt16
ValuesSizeOnDisk System.UInt32
ValuesUncompressedSize System.UInt32
Version System.UInt32

Property Details

AttributesSizeOnDisk public property

Compressed size of the attribute list
public UInt32,System AttributesSizeOnDisk
return System.UInt32

AttributesUncompressedSize public property

Total uncompressed size of the attribute list
public UInt32,System AttributesUncompressedSize
return System.UInt32

CompressionFlags public property

Compression method and level used for the string, node, attribute and value buffers. Uses the same format as packages (see BinUtils.MakeCompressionFlags)
public Byte CompressionFlags
return Byte

EngineVersion public property

Possibly version number? (major, minor, rev, build)
public UInt32,System EngineVersion
return System.UInt32

Extended public property

Extended node/attribute format indicator, 0 for V2, 0/1 for V3
public UInt32,System Extended
return System.UInt32

Magic public property

LSOF file signature; should be the same as LSFHeader.Signature
public UInt32,System Magic
return System.UInt32

NodesSizeOnDisk public property

Compressed size of the node list
public UInt32,System NodesSizeOnDisk
return System.UInt32

NodesUncompressedSize public property

Total uncompressed size of the node list
public UInt32,System NodesUncompressedSize
return System.UInt32

Signature public static property

LSOF file signature
public static byte[] Signature
return byte[]

StringsSizeOnDisk public property

Compressed size of the string hash table
public UInt32,System StringsSizeOnDisk
return System.UInt32

StringsUncompressedSize public property

Total uncompressed size of the string hash table
public UInt32,System StringsUncompressedSize
return System.UInt32

Unknown2 public property

Possibly unused, always 0
public Byte Unknown2
return Byte

Unknown3 public property

public UInt16,System Unknown3
return System.UInt16

ValuesSizeOnDisk public property

Compressed size of the raw value buffer
public UInt32,System ValuesSizeOnDisk
return System.UInt32

ValuesUncompressedSize public property

Total uncompressed size of the raw value buffer
public UInt32,System ValuesUncompressedSize
return System.UInt32

Version public property

Version of the LSOF file; D:OS EE is version 1/2, D:OS 2 is version 3
public UInt32,System Version
return System.UInt32