C# Класс Warcraft.ADT.Chunks.Subchunks.MapChunkHeader

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AlphaMapsOffset uint
AlphaMapsSize uint
AreaID uint
BakedShadowsOffset uint
BakedShadowsSize uint
Flags MapChunkFlags
HeightmapOffset uint
HighResHoles ulong
LiquidOffset uint
LiquidSize uint
LowResHoles ushort
LowResTextureMap ushort
MapIndexX uint
MapIndexY uint
MapTilePosition Vector3f
ModelReferenceCount uint
ModelReferencesOffset uint
SoundEmitterCount uint
SoundEmittersOffset uint
TextureLayerCount uint
TextureLayersOffset uint
Unknown ushort
VertexLightingOffset uint
VertexNormalOffset uint
VertexShadingOffset uint
WorldModelObjectReferenceCount uint
noEffectDoodad uint
predTex uint

Открытые методы

Метод Описание
GetSize ( ) : int

Gets the size of the map chunk header.

MapChunkHeader ( byte data ) : System.IO

Описание методов

GetSize() публичный статический Метод

Gets the size of the map chunk header.
public static GetSize ( ) : int
Результат int

MapChunkHeader() публичный Метод

public MapChunkHeader ( byte data ) : System.IO
data byte
Результат System.IO

Описание свойств

AlphaMapsOffset публичное свойство

MCNK-based Offset of the MCAL Alpha Map Chunk
public uint AlphaMapsOffset
Результат uint

AlphaMapsSize публичное свойство

Size of the Alpha Map chunk
public uint AlphaMapsSize
Результат uint

AreaID публичное свойство

Area ID for the MCNK.
public uint AreaID
Результат uint

BakedShadowsOffset публичное свойство

MCNK-based Offset of the MCSH Static shadow Chunk. This is only set with flags MCNK_MCSH.
public uint BakedShadowsOffset
Результат uint

BakedShadowsSize публичное свойство

Size of the shadow map chunk.
public uint BakedShadowsSize
Результат uint

Flags публичное свойство

Flags for the MCNK
public MapChunkFlags Flags
Результат MapChunkFlags

HeightmapOffset публичное свойство

MCNK-based Offset of the MCVT Heightmap Chunk
public uint HeightmapOffset
Результат uint

HighResHoles публичное свойство

The high res holes.
public ulong HighResHoles
Результат ulong

LiquidOffset публичное свойство

MCNK-based Offset of the MCLQ Liquid Chunk
public uint LiquidOffset
Результат uint

LiquidSize публичное свойство

Size of the liquid chunk. This is 8 when not used - if it is 8, use the newer MH2O chunk.
public uint LiquidSize
Результат uint

LowResHoles публичное свойство

Holes in the MCNK.
public ushort LowResHoles
Результат ushort

LowResTextureMap публичное свойство

A low-quality texture map of the MCNK. Used with LOD.
public ushort LowResTextureMap
Результат ushort

MapIndexX публичное свойство

Zero-based X position of the MCNK
public uint MapIndexX
Результат uint

MapIndexY публичное свойство

Zero-based Y position of the MCNK
public uint MapIndexY
Результат uint

MapTilePosition публичное свойство

The map tile position is a global offset that is applied to the entire heightmap to allow for far greater height differences in the world.
public Vector3f MapTilePosition
Результат Vector3f

ModelReferenceCount публичное свойство

Number of doodad references in the MCNK
public uint ModelReferenceCount
Результат uint

ModelReferencesOffset публичное свойство

MCNK-based Offset of the MCRF Object References Chunk
public uint ModelReferencesOffset
Результат uint

SoundEmitterCount публичное свойство

Number of sound emitters in the MCNK
public uint SoundEmitterCount
Результат uint

SoundEmittersOffset публичное свойство

MCNK-based Offset of the MCSE Sound Emitters Chunk
public uint SoundEmittersOffset
Результат uint

TextureLayerCount публичное свойство

Alpha map layers in the MCNK
public uint TextureLayerCount
Результат uint

TextureLayersOffset публичное свойство

MCNK-based Offset of the MCLY Alpha Map Layer Chunk
public uint TextureLayersOffset
Результат uint

Unknown публичное свойство

Unknown value, but it is used.
public ushort Unknown
Результат ushort

VertexLightingOffset публичное свойство

MCNK-based Offset of the MCLV Chunk. Introduced in Cataclysm.
public uint VertexLightingOffset
Результат uint

VertexNormalOffset публичное свойство

MCNK-based Offset of the MMCNR Normal map Chunk
public uint VertexNormalOffset
Результат uint

VertexShadingOffset публичное свойство

MCNK-based Offset of the MCCV Chunk
public uint VertexShadingOffset
Результат uint

WorldModelObjectReferenceCount публичное свойство

Number of object references in this MCNK.
public uint WorldModelObjectReferenceCount
Результат uint

noEffectDoodad публичное свойство

It is not yet known what noEffectDoodad does.
public uint noEffectDoodad
Результат uint

predTex публичное свойство

It is not yet known what predTex does.
public uint predTex
Результат uint