Class Map [-] [+]

A game map, e.g. Azeroth, Eastern Kingdoms, the Molten Core, etc.

Inherits all methods from: none

Methods

GetAreaId

Returns the area ID of the Map at the specified X, Y, and Z coordinates.

GetDifficulty

Returns the difficulty of the Map.

GetHeight

Returns the height of the Map at the given X and Y coordinates.

GetInstanceData

Gets the instance data table for the Map, if it exists.

GetInstanceId

Returns the instance ID of the Map.

GetMapId

Returns the ID of the Map.

GetName

Returns the name of the Map.

GetPlayerCount

Returns the player count currently on the Map (excluding GMs).

GetPlayers

Returns a table with all the current Players in the map

GetWorldObject

Returns a WorldObject by its GUID from the map if it is spawned.

IsArena

Returns true if the Map is an arena BattleGround, false otherwise.

IsBattleground

Returns true if the Map is a non-arena BattleGround, false otherwise.

IsDungeon

Returns true if the Map is a dungeon, false otherwise.

IsEmpty

Returns true if the Map has no Players, false otherwise.

IsHeroic

Returns true if the Map is a heroic, false otherwise.

IsRaid

Returns true if the Map is a raid, false otherwise.

SaveInstanceData

Saves the Map's instance data to the database.

SetWeather

Sets the [Weather] type based on [WeatherType] and grade supplied.

Generated on
©2016 - Eluna Lua Engine