C# 클래스 TagTool.Cache.ResourceReference

파일 보기 프로젝트 열기: TheGuardians/TagTool 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

메소드 상세

ChangeLocation() 공개 메소드

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

DisableChecksum() 공개 메소드

Disables the resource's checksum by changing its location flags.
public DisableChecksum ( ) : void
리턴 void

GetLocation() 공개 메소드

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

프로퍼티 상세

Checksum 공개적으로 프로퍼티

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

CompressedSize 공개적으로 프로퍼티

Gets or sets the total size of the compressed resource data, including chunk headers.
public uint CompressedSize
리턴 uint

CompressionType 공개적으로 프로퍼티

public sbyte CompressionType
리턴 sbyte

D3DObjectFixups 공개적으로 프로퍼티

Gets or sets the D3D object fixups to apply to the definition data.
public List D3DObjectFixups
리턴 List

DecompressedSize 공개적으로 프로퍼티

Gets or sets the size of the decompressed resource data.
public uint DecompressedSize
리턴 uint

DefinitionAddress 공개적으로 프로퍼티

Gets or sets the address of the resource's definition structure within its definition data.
public ResourceAddress DefinitionAddress
리턴 ResourceAddress

DefinitionData 공개적으로 프로퍼티

Gets or sets the buffer containing the resource's definition data.
public byte[] DefinitionData
리턴 byte[]

DefinitionFixups 공개적으로 프로퍼티

Gets or sets the fixups to apply to the definition data.
public List DefinitionFixups
리턴 List

Index 공개적으로 프로퍼티

Gets or sets the index of the resource within its .dat file.
public int Index
리턴 int

Owner 공개적으로 프로퍼티

Gets or sets the tag that owns the resource.
public TagInstance,TagTool.TagGroups Owner
리턴 TagTool.TagGroups.TagInstance

RawSize 공개적으로 프로퍼티

public uint RawSize
리턴 uint

Salt 공개적으로 프로퍼티

public ushort Salt
리턴 ushort

Type 공개적으로 프로퍼티

public sbyte Type
리턴 sbyte

Unknown0 공개적으로 프로퍼티

public sbyte Unknown0
리턴 sbyte

Unknown1 공개적으로 프로퍼티

public sbyte Unknown1
리턴 sbyte

Unknown18 공개적으로 프로퍼티

public uint Unknown18
리턴 uint

Unknown1C 공개적으로 프로퍼티

public uint Unknown1C
리턴 uint

Unknown20 공개적으로 프로퍼티

public uint Unknown20
리턴 uint

Unknown37 공개적으로 프로퍼티

public byte Unknown37
리턴 byte

Unknown68 공개적으로 프로퍼티

public int Unknown68
리턴 int