mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna Implement [] to parser, change all & to [] in documentation and fix a bug with CastCustomSpell
This commit is contained in:
28
MapMethods.h
28
MapMethods.h
@@ -12,7 +12,7 @@ namespace LuaMap
|
||||
|
||||
#ifndef CLASSIC
|
||||
/**
|
||||
* Returns 'true' if the &Map is an arena, false otherwise
|
||||
* Returns 'true' if the [Map] is an arena, false otherwise
|
||||
*
|
||||
* @return bool isArena
|
||||
*/
|
||||
@@ -24,7 +24,7 @@ namespace LuaMap
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns 'true' if the &Map is a battleground, false otherwise
|
||||
* Returns 'true' if the [Map] is a battleground, false otherwise
|
||||
*
|
||||
* @return bool isBattleGround
|
||||
*/
|
||||
@@ -39,7 +39,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns 'true' if the &Map is a dungeon, false otherwise
|
||||
* Returns 'true' if the [Map] is a dungeon, false otherwise
|
||||
*
|
||||
* @return bool isDungeon
|
||||
*/
|
||||
@@ -50,7 +50,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns 'true' if the &Map is empty, false otherwise
|
||||
* Returns 'true' if the [Map] is empty, false otherwise
|
||||
*
|
||||
* @return bool isEmpty
|
||||
*/
|
||||
@@ -62,7 +62,7 @@ namespace LuaMap
|
||||
|
||||
#ifndef CLASSIC
|
||||
/**
|
||||
* Returns 'true' if the &Map is a heroic, false otherwise
|
||||
* Returns 'true' if the [Map] is a heroic, false otherwise
|
||||
*
|
||||
* @return bool isHeroic
|
||||
*/
|
||||
@@ -74,7 +74,7 @@ namespace LuaMap
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns 'true' if the &Map is a raid, false otherwise
|
||||
* Returns 'true' if the [Map] is a raid, false otherwise
|
||||
*
|
||||
* @return bool isRaid
|
||||
*/
|
||||
@@ -85,7 +85,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the name of the &Map
|
||||
* Returns the name of the [Map]
|
||||
*
|
||||
* @return string mapName
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the height of the &Map at the given X and Y coordinates
|
||||
* Returns the height of the [Map] at the given X and Y coordinates
|
||||
*
|
||||
* @param float x
|
||||
* @param float y
|
||||
@@ -118,7 +118,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the difficulty of the &Map
|
||||
* Returns the difficulty of the [Map]
|
||||
*
|
||||
* @return int32 difficulty
|
||||
*/
|
||||
@@ -133,7 +133,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the instance ID of the &Map
|
||||
* Returns the instance ID of the [Map]
|
||||
*
|
||||
* @return uint32 instanceId
|
||||
*/
|
||||
@@ -144,7 +144,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the player count currently on the &Map
|
||||
* Returns the player count currently on the [Map]
|
||||
* Does not include gamemasters
|
||||
*
|
||||
* @return uint32 playerCount
|
||||
@@ -156,7 +156,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the ID of the &Map
|
||||
* Returns the ID of the [Map]
|
||||
*
|
||||
* @return uint32 mapId
|
||||
*/
|
||||
@@ -167,7 +167,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the area ID of the &Map at the specified X, Y and Z coordinates
|
||||
* Returns the area ID of the [Map] at the specified X, Y and Z coordinates
|
||||
*
|
||||
* @param float x
|
||||
* @param float y
|
||||
@@ -189,7 +189,7 @@ namespace LuaMap
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a &WorldObject by it's guid from the map if it is spawned
|
||||
* Returns a [WorldObject] by it's guid from the map if it is spawned
|
||||
*
|
||||
* @param uint64 guid
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user