C# 클래스 Warcraft.ADT.Chunks.TerrainLiquidInstance

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

공개 프로퍼티들

프로퍼티 타입 설명
BooleanMap List>
Height byte
HeightLevelRange Range
LiquidBooleanMapOffset uint
LiquidObject Warcraft.DBC.SpecialFields.UInt16ForeignKey
LiquidType Warcraft.DBC.SpecialFields.UInt16ForeignKey
VertexData LiquidVertexData
VertexDataOffset uint
Width byte
XLiquidOffset byte
YLiquidOffset byte

공개 메소드들

메소드 설명
GetSize ( ) : int

Gets the size of a liquid instance block.

TerrainLiquidInstance ( byte data ) : System

메소드 상세

GetSize() 공개 정적인 메소드

Gets the size of a liquid instance block.
public static GetSize ( ) : int
리턴 int

TerrainLiquidInstance() 공개 메소드

public TerrainLiquidInstance ( byte data ) : System
data byte
리턴 System

프로퍼티 상세

BooleanMap 공개적으로 프로퍼티

public List> BooleanMap
리턴 List>

Height 공개적으로 프로퍼티

public byte Height
리턴 byte

HeightLevelRange 공개적으로 프로퍼티

public Range HeightLevelRange
리턴 Range

LiquidBooleanMapOffset 공개적으로 프로퍼티

Offset to an 8 by 8 map of bit boolean values that determine whether or not an instance is filled or not. If the offset is 0, all tiles are filled.
public uint LiquidBooleanMapOffset
리턴 uint

LiquidObject 공개적으로 프로퍼티

The liquid object. Foreign key reference to LiquidObjectRec::ID.
public UInt16ForeignKey,Warcraft.DBC.SpecialFields LiquidObject
리턴 Warcraft.DBC.SpecialFields.UInt16ForeignKey

LiquidType 공개적으로 프로퍼티

The type of the liquid. Foreign key reference to LiquidTypeRec::ID.
public UInt16ForeignKey,Warcraft.DBC.SpecialFields LiquidType
리턴 Warcraft.DBC.SpecialFields.UInt16ForeignKey

VertexData 공개적으로 프로퍼티

public LiquidVertexData VertexData
리턴 LiquidVertexData

VertexDataOffset 공개적으로 프로퍼티

Offset to the vertex data of this liquid instance. The format of the data is determined in LiquidMaterialRec::LiquidVertexFormat via LiquidTypeRec::MaterialID. As a side note, oceans (LiquidType = 2) have a hardcoded check that the LiquidVertexFormat also equals 2. Since the vertex data format is undetermined (and as such the length is also undetermined) without a DBC entry, it's up to external programs to read the correct values. You can also use the GameWorld wrapper class.
public uint VertexDataOffset
리턴 uint

Width 공개적으로 프로퍼티

public byte Width
리턴 byte

XLiquidOffset 공개적으로 프로퍼티

public byte XLiquidOffset
리턴 byte

YLiquidOffset 공개적으로 프로퍼티

public byte YLiquidOffset
리턴 byte