Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LuaMap Namespace Reference

Functions

int GetAreaId (lua_State *L, Map *map)
int GetDifficulty (lua_State *L, Map *map)
int GetHeight (lua_State *L, Map *map)
int GetInstanceId (lua_State *L, Map *map)
int GetMapId (lua_State *L, Map *map)
int GetName (lua_State *L, Map *map)
int GetPlayerCount (lua_State *L, Map *map)
int IsArena (lua_State *L, Map *map)
int IsBattleground (lua_State *L, Map *map)
int IsDungeon (lua_State *L, Map *map)
int IsEmpty (lua_State *L, Map *map)
int IsHeroic (lua_State *L, Map *map)
int IsRaid (lua_State *L, Map *map)

Function Documentation

◆ GetAreaId()

int LuaMap::GetAreaId ( lua_State * L,
Map * map )

Definition at line 62 of file MapMethods.cpp.

References Map::GetAreaId(), and sEluna.

◆ GetDifficulty()

int LuaMap::GetDifficulty ( lua_State * L,
Map * map )

Definition at line 34 of file MapMethods.cpp.

References Map::GetDifficulty(), and sEluna.

◆ GetHeight()

int LuaMap::GetHeight ( lua_State * L,
Map * map )

Definition at line 20 of file MapMethods.cpp.

References Map::GetHeight(), INVALID_HEIGHT, MAX_HEIGHT, and sEluna.

◆ GetInstanceId()

int LuaMap::GetInstanceId ( lua_State * L,
Map * map )

Definition at line 41 of file MapMethods.cpp.

References Map::GetInstanceId(), and sEluna.

◆ GetMapId()

int LuaMap::GetMapId ( lua_State * L,
Map * map )

Definition at line 55 of file MapMethods.cpp.

References Map::GetId(), and sEluna.

◆ GetName()

int LuaMap::GetName ( lua_State * L,
Map * map )

Definition at line 13 of file MapMethods.cpp.

References Map::GetMapName(), and sEluna.

◆ GetPlayerCount()

int LuaMap::GetPlayerCount ( lua_State * L,
Map * map )

Definition at line 48 of file MapMethods.cpp.

References Map::GetPlayersCountExceptGMs(), and sEluna.

◆ IsArena()

int LuaMap::IsArena ( lua_State * L,
Map * map )

Definition at line 73 of file MapMethods.cpp.

References Map::IsBattleArena(), and sEluna.

◆ IsBattleground()

int LuaMap::IsBattleground ( lua_State * L,
Map * map )

Definition at line 80 of file MapMethods.cpp.

References Map::IsBattleground(), and sEluna.

◆ IsDungeon()

int LuaMap::IsDungeon ( lua_State * L,
Map * map )

Definition at line 87 of file MapMethods.cpp.

References Map::IsDungeon(), and sEluna.

◆ IsEmpty()

int LuaMap::IsEmpty ( lua_State * L,
Map * map )

Definition at line 94 of file MapMethods.cpp.

References LinkedListHead::isEmpty(), and sEluna.

◆ IsHeroic()

int LuaMap::IsHeroic ( lua_State * L,
Map * map )

Definition at line 101 of file MapMethods.cpp.

References Map::IsHeroic(), and sEluna.

◆ IsRaid()

int LuaMap::IsRaid ( lua_State * L,
Map * map )

Definition at line 108 of file MapMethods.cpp.

References Map::IsRaid(), and sEluna.