C# Class Warcraft.WDT.WorldTable

Afficher le fichier Open project: Nihlus/libwarcraft Class Usage Examples

Méthodes publiques

Свойство Type Description
AreaInfo Warcraft.WDT.Chunks.WorldTableAreaInfo
Header Warcraft.WDT.Chunks.WorldTableHeader
Version Warcraft.ADT.Chunks.TerrainVersion
WorldModelObjectPlacementInfo TerrainWorldModelObjectPlacementInfo
WorldModelObjects Warcraft.ADT.Chunks.TerrainWorldModelObjects

Méthodes publiques

Méthode 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 méthode

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.
Résultat Warcraft.WDT.Chunks.AreaInfoEntry

GetAreasWithTerrain() public méthode

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

GetLoadedAreas() public méthode

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
Résultat List

HasAnyTerrain() public méthode

Determines whether this instance has any terrain.
public HasAnyTerrain ( ) : bool
Résultat bool

IsTilePopulated() public méthode

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.
Résultat bool

Serialize() public méthode

public Serialize ( ) : byte[]
Résultat byte[]

WorldTable() public méthode

public WorldTable ( byte data ) : System.Collections.Generic
data byte
Résultat System.Collections.Generic

Property Details

AreaInfo public_oe property

public WorldTableAreaInfo,Warcraft.WDT.Chunks AreaInfo
Résultat Warcraft.WDT.Chunks.WorldTableAreaInfo

Header public_oe property

public WorldTableHeader,Warcraft.WDT.Chunks Header
Résultat Warcraft.WDT.Chunks.WorldTableHeader

Version public_oe property

public TerrainVersion,Warcraft.ADT.Chunks Version
Résultat Warcraft.ADT.Chunks.TerrainVersion

WorldModelObjectPlacementInfo public_oe property

public TerrainWorldModelObjectPlacementInfo WorldModelObjectPlacementInfo
Résultat TerrainWorldModelObjectPlacementInfo

WorldModelObjects public_oe property

public TerrainWorldModelObjects,Warcraft.ADT.Chunks WorldModelObjects
Résultat Warcraft.ADT.Chunks.TerrainWorldModelObjects