C# Class Warcraft.ADT.Chunks.Subchunks.MapChunkHeader

显示文件 Open project: Nihlus/libwarcraft Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
GetSize ( ) : int

Gets the size of the map chunk header.

MapChunkHeader ( byte data ) : System.IO

Method Details

GetSize() public static method

Gets the size of the map chunk header.
public static GetSize ( ) : int
return int

MapChunkHeader() public method

public MapChunkHeader ( byte data ) : System.IO
data byte
return System.IO

Property Details

AlphaMapsOffset public_oe property

MCNK-based Offset of the MCAL Alpha Map Chunk
public uint AlphaMapsOffset
return uint

AlphaMapsSize public_oe property

Size of the Alpha Map chunk
public uint AlphaMapsSize
return uint

AreaID public_oe property

Area ID for the MCNK.
public uint AreaID
return uint

BakedShadowsOffset public_oe property

MCNK-based Offset of the MCSH Static shadow Chunk. This is only set with flags MCNK_MCSH.
public uint BakedShadowsOffset
return uint

BakedShadowsSize public_oe property

Size of the shadow map chunk.
public uint BakedShadowsSize
return uint

Flags public_oe property

Flags for the MCNK
public MapChunkFlags Flags
return MapChunkFlags

HeightmapOffset public_oe property

MCNK-based Offset of the MCVT Heightmap Chunk
public uint HeightmapOffset
return uint

HighResHoles public_oe property

The high res holes.
public ulong HighResHoles
return ulong

LiquidOffset public_oe property

MCNK-based Offset of the MCLQ Liquid Chunk
public uint LiquidOffset
return uint

LiquidSize public_oe property

Size of the liquid chunk. This is 8 when not used - if it is 8, use the newer MH2O chunk.
public uint LiquidSize
return uint

LowResHoles public_oe property

Holes in the MCNK.
public ushort LowResHoles
return ushort

LowResTextureMap public_oe property

A low-quality texture map of the MCNK. Used with LOD.
public ushort LowResTextureMap
return ushort

MapIndexX public_oe property

Zero-based X position of the MCNK
public uint MapIndexX
return uint

MapIndexY public_oe property

Zero-based Y position of the MCNK
public uint MapIndexY
return uint

MapTilePosition public_oe property

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
return Vector3f

ModelReferenceCount public_oe property

Number of doodad references in the MCNK
public uint ModelReferenceCount
return uint

ModelReferencesOffset public_oe property

MCNK-based Offset of the MCRF Object References Chunk
public uint ModelReferencesOffset
return uint

SoundEmitterCount public_oe property

Number of sound emitters in the MCNK
public uint SoundEmitterCount
return uint

SoundEmittersOffset public_oe property

MCNK-based Offset of the MCSE Sound Emitters Chunk
public uint SoundEmittersOffset
return uint

TextureLayerCount public_oe property

Alpha map layers in the MCNK
public uint TextureLayerCount
return uint

TextureLayersOffset public_oe property

MCNK-based Offset of the MCLY Alpha Map Layer Chunk
public uint TextureLayersOffset
return uint

Unknown public_oe property

Unknown value, but it is used.
public ushort Unknown
return ushort

VertexLightingOffset public_oe property

MCNK-based Offset of the MCLV Chunk. Introduced in Cataclysm.
public uint VertexLightingOffset
return uint

VertexNormalOffset public_oe property

MCNK-based Offset of the MMCNR Normal map Chunk
public uint VertexNormalOffset
return uint

VertexShadingOffset public_oe property

MCNK-based Offset of the MCCV Chunk
public uint VertexShadingOffset
return uint

WorldModelObjectReferenceCount public_oe property

Number of object references in this MCNK.
public uint WorldModelObjectReferenceCount
return uint

noEffectDoodad public_oe property

It is not yet known what noEffectDoodad does.
public uint noEffectDoodad
return uint

predTex public_oe property

It is not yet known what predTex does.
public uint predTex
return uint