C# Class TagTool.Cache.ResourceReference

Afficher le fichier Open project: TheGuardians/TagTool Class Usage Examples

Méthodes publiques

Свойство Type Description
Checksum uint
CompressedSize uint
CompressionType sbyte
D3DObjectFixups List
DecompressedSize uint
DefinitionAddress ResourceAddress
DefinitionData byte[]
DefinitionFixups List
Index int
Owner TagTool.TagGroups.TagInstance
RawSize uint
Salt ushort
Type sbyte
Unknown0 sbyte
Unknown1 sbyte
Unknown18 uint
Unknown1C uint
Unknown20 uint
Unknown37 byte
Unknown68 int

Méthodes publiques

Méthode Description
ChangeLocation ( ResourceLocation newLocation ) : void

Changes the location of the resource by changing its location flags.

DisableChecksum ( ) : void

Disables the resource's checksum by changing its location flags.

GetLocation ( ) : ResourceLocation

Gets the location of the resource by checking its location flags.

Method Details

ChangeLocation() public méthode

Changes the location of the resource by changing its location flags.
Unsupported resource location
public ChangeLocation ( ResourceLocation newLocation ) : void
newLocation ResourceLocation The new location.
Résultat void

DisableChecksum() public méthode

Disables the resource's checksum by changing its location flags.
public DisableChecksum ( ) : void
Résultat void

GetLocation() public méthode

Gets the location of the resource by checking its location flags.
The resource does not have a location flag set
public GetLocation ( ) : ResourceLocation
Résultat ResourceLocation

Property Details

Checksum public_oe property

Gets or sets the checksum of the resource data. Only used if OldResourceLocationFlags.UseChecksum or OldResourceLocationFlags.UseChecksum2 are set.
public uint Checksum
Résultat uint

CompressedSize public_oe property

Gets or sets the total size of the compressed resource data, including chunk headers.
public uint CompressedSize
Résultat uint

CompressionType public_oe property

public sbyte CompressionType
Résultat sbyte

D3DObjectFixups public_oe property

Gets or sets the D3D object fixups to apply to the definition data.
public List D3DObjectFixups
Résultat List

DecompressedSize public_oe property

Gets or sets the size of the decompressed resource data.
public uint DecompressedSize
Résultat uint

DefinitionAddress public_oe property

Gets or sets the address of the resource's definition structure within its definition data.
public ResourceAddress DefinitionAddress
Résultat ResourceAddress

DefinitionData public_oe property

Gets or sets the buffer containing the resource's definition data.
public byte[] DefinitionData
Résultat byte[]

DefinitionFixups public_oe property

Gets or sets the fixups to apply to the definition data.
public List DefinitionFixups
Résultat List

Index public_oe property

Gets or sets the index of the resource within its .dat file.
public int Index
Résultat int

Owner public_oe property

Gets or sets the tag that owns the resource.
public TagInstance,TagTool.TagGroups Owner
Résultat TagTool.TagGroups.TagInstance

RawSize public_oe property

public uint RawSize
Résultat uint

Salt public_oe property

public ushort Salt
Résultat ushort

Type public_oe property

public sbyte Type
Résultat sbyte

Unknown0 public_oe property

public sbyte Unknown0
Résultat sbyte

Unknown1 public_oe property

public sbyte Unknown1
Résultat sbyte

Unknown18 public_oe property

public uint Unknown18
Résultat uint

Unknown1C public_oe property

public uint Unknown1C
Résultat uint

Unknown20 public_oe property

public uint Unknown20
Résultat uint

Unknown37 public_oe property

public byte Unknown37
Résultat byte

Unknown68 public_oe property

public int Unknown68
Résultat int