C# Class Warcraft.WDT.WorldTable

Exibir arquivo Open project: Nihlus/libwarcraft Class Usage Examples

Public Properties

Property Type Description
AreaInfo Warcraft.WDT.Chunks.WorldTableAreaInfo
Header Warcraft.WDT.Chunks.WorldTableHeader
Version Warcraft.ADT.Chunks.TerrainVersion
WorldModelObjectPlacementInfo TerrainWorldModelObjectPlacementInfo
WorldModelObjects Warcraft.ADT.Chunks.TerrainWorldModelObjects

Public Methods

Method Description
GetAreaInfo ( uint InTileX, uint InTileY ) : AreaInfoEntry

Gets the area info for the specified coordinates.

GetAreasWithTerrain ( ) : List

Gets a list of area information entries that have terrain tiles.

GetLoadedAreas ( ) : List

Gets a list of loaded areas. When working with unloaded files (i.e, not in a game or application), this method will never return any areas.

HasAnyTerrain ( ) : bool

Determines whether this instance has any terrain.

IsTilePopulated ( uint InTileX, uint InTileY ) : bool

Determines whether the tile at the specified coordinates is populated with terrain data or not.

Serialize ( ) : byte[]
WorldTable ( byte data ) : System.Collections.Generic

Method Details

GetAreaInfo() public method

Gets the area info for the specified coordinates.
public GetAreaInfo ( uint InTileX, uint InTileY ) : AreaInfoEntry
InTileX uint In tile x.
InTileY uint In tile y.
return Warcraft.WDT.Chunks.AreaInfoEntry

GetAreasWithTerrain() public method

Gets a list of area information entries that have terrain tiles.
public GetAreasWithTerrain ( ) : List
return List

GetLoadedAreas() public method

Gets a list of loaded areas. When working with unloaded files (i.e, not in a game or application), this method will never return any areas.
public GetLoadedAreas ( ) : List
return List

HasAnyTerrain() public method

Determines whether this instance has any terrain.
public HasAnyTerrain ( ) : bool
return bool

IsTilePopulated() public method

Determines whether the tile at the specified coordinates is populated with terrain data or not.
public IsTilePopulated ( uint InTileX, uint InTileY ) : bool
InTileX uint 0-based x coordinate of the tile.
InTileY uint 0-based y coordinate of the tile.
return bool

Serialize() public method

public Serialize ( ) : byte[]
return byte[]

WorldTable() public method

public WorldTable ( byte data ) : System.Collections.Generic
data byte
return System.Collections.Generic

Property Details

AreaInfo public_oe property

public WorldTableAreaInfo,Warcraft.WDT.Chunks AreaInfo
return Warcraft.WDT.Chunks.WorldTableAreaInfo

Header public_oe property

public WorldTableHeader,Warcraft.WDT.Chunks Header
return Warcraft.WDT.Chunks.WorldTableHeader

Version public_oe property

public TerrainVersion,Warcraft.ADT.Chunks Version
return Warcraft.ADT.Chunks.TerrainVersion

WorldModelObjectPlacementInfo public_oe property

public TerrainWorldModelObjectPlacementInfo WorldModelObjectPlacementInfo
return TerrainWorldModelObjectPlacementInfo

WorldModelObjects public_oe property

public TerrainWorldModelObjects,Warcraft.ADT.Chunks WorldModelObjects
return Warcraft.ADT.Chunks.TerrainWorldModelObjects