Class Map [-] [+]
A game map, e.g. Azeroth, Eastern Kingdoms, the Molten Core, etc.
Inherits all methods from: none
Methods
| Data |
Returns a runtime-persistent cache tied to the Map. This data will remain for as long as the Map exists, or until a server restart. |
| 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 |
| IsBattleground |
Returns |
| IsDungeon |
Returns |
| IsEmpty | |
| IsHeroic |
Returns |
| IsRaid |
Returns |
| SaveInstanceData |
Saves the Map's instance data to the database. |
| SetWeather |
Sets the [Weather] type based on [WeatherType] and grade supplied. |