|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Functions | |
| int | Despawn (lua_State *L, GameObject *go) |
| int | GetDisplayId (lua_State *L, GameObject *go) |
| int | GetGoState (lua_State *L, GameObject *go) |
| int | GetLootState (lua_State *L, GameObject *go) |
| int | GetRelativePoint (lua_State *L, GameObject *go) |
| int | HasQuest (lua_State *L, GameObject *go) |
| int | IsActive (lua_State *L, GameObject *go) |
| int | IsDestructible (lua_State *L, GameObject *go) |
| int | IsSpawned (lua_State *L, GameObject *go) |
| int | IsTransport (lua_State *L, GameObject *go) |
| int | Move (lua_State *L, GameObject *go) |
| int | RegisterEvent (lua_State *L, GameObject *go) |
| int | RemoveEventById (lua_State *L, GameObject *go) |
| int | RemoveEvents (lua_State *L, GameObject *go) |
| int | RemoveFromWorld (lua_State *L, GameObject *go) |
| int | Respawn (lua_State *L, GameObject *go) |
| int | SaveToDB (lua_State *L, GameObject *go) |
| int | SetGoState (lua_State *L, GameObject *go) |
| int | SetLootState (lua_State *L, GameObject *go) |
| int | SummonCreature (lua_State *L, GameObject *go) |
| int | SummonGameObject (lua_State *L, GameObject *go) |
| int | UseDoorOrButton (lua_State *L, GameObject *go) |
| int LuaGameObject::Despawn | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 221 of file GameObjectMethods.cpp.
References GameObject::SetRespawnTime(), and GameObject::SetSpawnedByDefault().
| int LuaGameObject::GetDisplayId | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 80 of file GameObjectMethods.cpp.
References GameObject::GetDisplayId(), and sEluna.
| int LuaGameObject::GetGoState | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 190 of file GameObjectMethods.cpp.
References GameObject::GetGoState(), Object::IsInWorld(), and sEluna.
| int LuaGameObject::GetLootState | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 215 of file GameObjectMethods.cpp.
References GameObject::getLootState(), and sEluna.
| int LuaGameObject::GetRelativePoint | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 12 of file GameObjectMethods.cpp.
References Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), M_PI, Position::NormalizeOrientation(), and sEluna.
| int LuaGameObject::HasQuest | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 86 of file GameObjectMethods.cpp.
References GameObject::hasQuest(), and sEluna.
| int LuaGameObject::IsActive | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 112 of file GameObjectMethods.cpp.
References WorldObject::isActiveObject(), and sEluna.
| int LuaGameObject::IsDestructible | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 106 of file GameObjectMethods.cpp.
References GameObject::IsDestructibleBuilding(), and sEluna.
| int LuaGameObject::IsSpawned | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 94 of file GameObjectMethods.cpp.
References GameObject::isSpawned(), and sEluna.
| int LuaGameObject::IsTransport | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 100 of file GameObjectMethods.cpp.
References GameObject::IsTransport(), and sEluna.
| int LuaGameObject::Move | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 118 of file GameObjectMethods.cpp.
References Position::Relocate().
| int LuaGameObject::RegisterEvent | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 143 of file GameObjectMethods.cpp.
References Object::GetGUID(), and sEluna.
| int LuaGameObject::RemoveEventById | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 155 of file GameObjectMethods.cpp.
References Object::GetGUID(), and sEluna.
| int LuaGameObject::RemoveEvents | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 162 of file GameObjectMethods.cpp.
References Object::GetGUID(), and sEluna.
| int LuaGameObject::RemoveFromWorld | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 134 of file GameObjectMethods.cpp.
References GameObject::DeleteFromDB(), and GameObject::RemoveFromWorld().
| int LuaGameObject::Respawn | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 232 of file GameObjectMethods.cpp.
References GameObject::SetRespawnTime(), and GameObject::SetSpawnedByDefault().
| int LuaGameObject::SaveToDB | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 128 of file GameObjectMethods.cpp.
References GameObject::SaveToDB().
| int LuaGameObject::SetGoState | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 176 of file GameObjectMethods.cpp.
References GO_STATE_ACTIVE, GO_STATE_ACTIVE_ALTERNATIVE, GO_STATE_READY, and GameObject::SetGoState().
| int LuaGameObject::SetLootState | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 199 of file GameObjectMethods.cpp.
References GO_ACTIVATED, GO_JUST_DEACTIVATED, GO_NOT_READY, GO_READY, and GameObject::SetLootState().
| int LuaGameObject::SummonCreature | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 24 of file GameObjectMethods.cpp.
References sEluna, WorldObject::SummonCreature(), TEMPSUMMON_CORPSE_DESPAWN, TEMPSUMMON_CORPSE_TIMED_DESPAWN, TEMPSUMMON_DEAD_DESPAWN, TEMPSUMMON_MANUAL_DESPAWN, TEMPSUMMON_TIMED_DESPAWN, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, and Object::ToCreature().
| int LuaGameObject::SummonGameObject | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 68 of file GameObjectMethods.cpp.
References sEluna, and WorldObject::SummonGameObject().
| int LuaGameObject::UseDoorOrButton | ( | lua_State * | L, |
| GameObject * | go ) |
Definition at line 168 of file GameObjectMethods.cpp.
References GameObject::UseDoorOrButton().