Struct WadChunk
Represents a file entry in a WadFile
Namespace: LeagueToolkit.Core.Wad
Assembly: LeagueToolkit.dll
Syntax
public readonly struct WadChunk
Properties
| Improve this Doc View SourceCompressedSize
Gets the compressed size of the chunk
Declaration
public readonly int CompressedSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Compression
Gets the compression of the chunk data
Declaration
public readonly WadChunkCompression Compression { get; }
Property Value
Type | Description |
---|---|
WadChunkCompression |
DataOffset
Gets the offset to the data of the chunk
Declaration
public readonly long DataOffset { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
IsDuplicated
Gets a value indicating whether the data of this chunk is duplicated
Declaration
public readonly bool IsDuplicated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PathHash
Gets the lowercase path of the chunk hashed using
Declaration
public readonly ulong PathHash { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
StartSubChunk
Gets the start sub-chunk index
Declaration
public readonly int StartSubChunk { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubChunkCount
Gets the sub-chunk count
Declaration
public readonly int SubChunkCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UncompressedSize
Gets the uncompressed size of the chunk
Declaration
public readonly int UncompressedSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |