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

Functions

int GetAreaId (lua_State *L, WorldObject *obj)
int GetCreaturesInRange (lua_State *L, WorldObject *obj)
int GetGameObjectsInRange (lua_State *L, WorldObject *obj)
int GetInstanceId (lua_State *L, WorldObject *obj)
int GetLocation (lua_State *L, WorldObject *obj)
int GetMap (lua_State *L, WorldObject *obj)
int GetMapId (lua_State *L, WorldObject *obj)
int GetName (lua_State *L, WorldObject *obj)
int GetNearestCreature (lua_State *L, WorldObject *obj)
int GetNearestGameObject (lua_State *L, WorldObject *obj)
int GetNearestPlayer (lua_State *L, WorldObject *obj)
int GetO (lua_State *L, WorldObject *obj)
int GetPhaseMask (lua_State *L, WorldObject *obj)
int GetPlayersInRange (lua_State *L, WorldObject *obj)
int GetWorldObject (lua_State *L, WorldObject *obj)
int GetX (lua_State *L, WorldObject *obj)
int GetY (lua_State *L, WorldObject *obj)
int GetZ (lua_State *L, WorldObject *obj)
int GetZoneId (lua_State *L, WorldObject *obj)

Function Documentation

◆ GetAreaId()

int LuaWorldObject::GetAreaId ( lua_State * L,
WorldObject * obj )

Definition at line 41 of file WorldObjectMethods.cpp.

References WorldObject::GetAreaId(), and sEluna.

◆ GetCreaturesInRange()

int LuaWorldObject::GetCreaturesInRange ( lua_State * L,
WorldObject * obj )

Definition at line 156 of file WorldObjectMethods.cpp.

◆ GetGameObjectsInRange()

int LuaWorldObject::GetGameObjectsInRange ( lua_State * L,
WorldObject * obj )

Definition at line 181 of file WorldObjectMethods.cpp.

◆ GetInstanceId()

int LuaWorldObject::GetInstanceId ( lua_State * L,
WorldObject * obj )

Definition at line 35 of file WorldObjectMethods.cpp.

References WorldObject::GetInstanceId(), and sEluna.

◆ GetLocation()

int LuaWorldObject::GetLocation ( lua_State * L,
WorldObject * obj )

◆ GetMap()

int LuaWorldObject::GetMap ( lua_State * L,
WorldObject * obj )

Definition at line 23 of file WorldObjectMethods.cpp.

References WorldObject::GetMap(), and sEluna.

◆ GetMapId()

int LuaWorldObject::GetMapId ( lua_State * L,
WorldObject * obj )

Definition at line 53 of file WorldObjectMethods.cpp.

References WorldLocation::GetMapId(), and sEluna.

◆ GetName()

int LuaWorldObject::GetName ( lua_State * L,
WorldObject * obj )

Definition at line 17 of file WorldObjectMethods.cpp.

References WorldObject::GetName(), and sEluna.

◆ GetNearestCreature()

int LuaWorldObject::GetNearestCreature ( lua_State * L,
WorldObject * obj )

Definition at line 118 of file WorldObjectMethods.cpp.

◆ GetNearestGameObject()

int LuaWorldObject::GetNearestGameObject ( lua_State * L,
WorldObject * obj )

Definition at line 104 of file WorldObjectMethods.cpp.

◆ GetNearestPlayer()

int LuaWorldObject::GetNearestPlayer ( lua_State * L,
WorldObject * obj )

Definition at line 92 of file WorldObjectMethods.cpp.

◆ GetO()

int LuaWorldObject::GetO ( lua_State * L,
WorldObject * obj )

Definition at line 77 of file WorldObjectMethods.cpp.

References Position::GetOrientation(), and sEluna.

◆ GetPhaseMask()

int LuaWorldObject::GetPhaseMask ( lua_State * L,
WorldObject * obj )

Definition at line 29 of file WorldObjectMethods.cpp.

References WorldObject::GetPhaseMask(), and sEluna.

◆ GetPlayersInRange()

int LuaWorldObject::GetPlayersInRange ( lua_State * L,
WorldObject * obj )

Definition at line 132 of file WorldObjectMethods.cpp.

◆ GetWorldObject()

int LuaWorldObject::GetWorldObject ( lua_State * L,
WorldObject * obj )

Definition at line 208 of file WorldObjectMethods.cpp.

References ElunaGetWorldObject(), and sEluna.

◆ GetX()

int LuaWorldObject::GetX ( lua_State * L,
WorldObject * obj )

Definition at line 59 of file WorldObjectMethods.cpp.

References Position::GetPositionX(), and sEluna.

◆ GetY()

int LuaWorldObject::GetY ( lua_State * L,
WorldObject * obj )

Definition at line 65 of file WorldObjectMethods.cpp.

References Position::GetPositionY(), and sEluna.

◆ GetZ()

int LuaWorldObject::GetZ ( lua_State * L,
WorldObject * obj )

Definition at line 71 of file WorldObjectMethods.cpp.

References Position::GetPositionZ(), and sEluna.

◆ GetZoneId()

int LuaWorldObject::GetZoneId ( lua_State * L,
WorldObject * obj )

Definition at line 47 of file WorldObjectMethods.cpp.

References WorldObject::GetZoneId(), and sEluna.