C# Класс Warcraft.WDT.WorldTable

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

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

Свойство Тип Описание
AreaInfo Warcraft.WDT.Chunks.WorldTableAreaInfo
Header Warcraft.WDT.Chunks.WorldTableHeader
Version Warcraft.ADT.Chunks.TerrainVersion
WorldModelObjectPlacementInfo TerrainWorldModelObjectPlacementInfo
WorldModelObjects Warcraft.ADT.Chunks.TerrainWorldModelObjects

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

Метод Описание
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

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

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

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.
Результат Warcraft.WDT.Chunks.AreaInfoEntry

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

Gets a list of area information entries that have terrain tiles.
public GetAreasWithTerrain ( ) : List
Результат List

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

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
Результат List

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

Determines whether this instance has any terrain.
public HasAnyTerrain ( ) : bool
Результат bool

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

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.
Результат bool

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

public Serialize ( ) : byte[]
Результат byte[]

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

public WorldTable ( byte data ) : System.Collections.Generic
data byte
Результат System.Collections.Generic

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

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

public WorldTableAreaInfo,Warcraft.WDT.Chunks AreaInfo
Результат Warcraft.WDT.Chunks.WorldTableAreaInfo

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

public WorldTableHeader,Warcraft.WDT.Chunks Header
Результат Warcraft.WDT.Chunks.WorldTableHeader

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

public TerrainVersion,Warcraft.ADT.Chunks Version
Результат Warcraft.ADT.Chunks.TerrainVersion

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

public TerrainWorldModelObjectPlacementInfo WorldModelObjectPlacementInfo
Результат TerrainWorldModelObjectPlacementInfo

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

public TerrainWorldModelObjects,Warcraft.ADT.Chunks WorldModelObjects
Результат Warcraft.ADT.Chunks.TerrainWorldModelObjects