|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Functions | |
| int | AddTaxiPath (lua_State *L) |
| int | AddVendorItem (lua_State *L) |
| int | AuthDBExecute (lua_State *L) |
| int | AuthDBQuery (lua_State *L) |
| int | Ban (lua_State *L) |
| int | bit_and (lua_State *L) |
| int | bit_lshift (lua_State *L) |
| int | bit_not (lua_State *L) |
| int | bit_or (lua_State *L) |
| int | bit_rshift (lua_State *L) |
| int | bit_xor (lua_State *L) |
| int | CharDBExecute (lua_State *L) |
| int | CharDBQuery (lua_State *L) |
| int | CreateLuaEvent (lua_State *L) |
| int | CreatePacket (lua_State *L) |
| int | GetCoreVersion (lua_State *L) |
| int | GetGameTime (lua_State *L) |
| int | GetGUIDEntry (lua_State *L) |
| int | GetGUIDLow (lua_State *L) |
| int | GetGUIDType (lua_State *L) |
| int | GetGuildByLeaderGUID (lua_State *L) |
| int | GetGuildByName (lua_State *L) |
| static int | GetItemGUID (lua_State *L) |
| int | GetItemLink (lua_State *L) |
| int | GetLuaEngine (lua_State *L) |
| int | GetMapById (lua_State *L) |
| static int | GetObjectGUID (lua_State *L) |
| int | GetPlayerByGUID (lua_State *L) |
| int | GetPlayerByName (lua_State *L) |
| int | GetPlayerCount (lua_State *L) |
| static int | GetPlayerGUID (lua_State *L) |
| int | GetPlayersInMap (lua_State *L) |
| int | GetPlayersInWorld (lua_State *L) |
| int | GetQuest (lua_State *L) |
| static int | GetUnitGUID (lua_State *L) |
| int | Kick (lua_State *L) |
| int | PerformIngameSpawn (lua_State *L) |
| int | RegisterCreatureEvent (lua_State *L) |
| int | RegisterCreatureGossipEvent (lua_State *L) |
| int | RegisterGameObjectEvent (lua_State *L) |
| int | RegisterGameObjectGossipEvent (lua_State *L) |
| int | RegisterGroupEvent (lua_State *L) |
| int | RegisterGuildEvent (lua_State *L) |
| int | RegisterItemEvent (lua_State *L) |
| int | RegisterItemGossipEvent (lua_State *L) |
| int | RegisterPlayerEvent (lua_State *L) |
| int | RegisterPlayerGossipEvent (lua_State *L) |
| int | RegisterServerEvent (lua_State *L) |
| int | RegisterVehicleEvent (lua_State *L) |
| int | ReloadEluna (lua_State *L) |
| int | RemoveEventById (lua_State *L) |
| int | RemoveEvents (lua_State *L) |
| int | SaveAllPlayers (lua_State *L) |
| int | SendMail (lua_State *L) |
| int | SendWorldMessage (lua_State *L) |
| int | VendorRemoveAllItems (lua_State *L) |
| int | VendorRemoveItem (lua_State *L) |
| int | WorldDBExecute (lua_State *L) |
| int | WorldDBQuery (lua_State *L) |
| int LuaGlobalFunctions::AddTaxiPath | ( | lua_State * | L | ) |
Definition at line 920 of file GlobalMethods.h.
References TaxiPathNodeEntry::actionFlag, LuaTaxiMgr::AddPath(), TaxiPathNodeEntry::arrivalEventID, TaxiPathNodeEntry::delay, TaxiPathNodeEntry::departureEventID, TaxiPathNodeEntry::mapid, sEluna, TaxiPathNodeEntry::x, TaxiPathNodeEntry::y, and TaxiPathNodeEntry::z.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::AddVendorItem | ( | lua_State * | L | ) |
Definition at line 681 of file GlobalMethods.h.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::AuthDBExecute | ( | lua_State * | L | ) |
Definition at line 431 of file GlobalMethods.h.
References LoginDatabase.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::AuthDBQuery | ( | lua_State * | L | ) |
Definition at line 416 of file GlobalMethods.h.
References LoginDatabase, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::Ban | ( | lua_State * | L | ) |
Definition at line 745 of file GlobalMethods.h.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::bit_and | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::bit_lshift | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::bit_not | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::bit_or | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::bit_rshift | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::bit_xor | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::CharDBExecute | ( | lua_State * | L | ) |
Definition at line 405 of file GlobalMethods.h.
References CharacterDatabase.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::CharDBQuery | ( | lua_State * | L | ) |
Definition at line 390 of file GlobalMethods.h.
References CharacterDatabase, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::CreateLuaEvent | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::CreatePacket | ( | lua_State * | L | ) |
Definition at line 664 of file GlobalMethods.h.
References NUM_OPCODE_HANDLERS, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetCoreVersion | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::GetGameTime | ( | lua_State * | L | ) |
Definition at line 286 of file GlobalMethods.h.
References sEluna, and sWorld.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetGUIDEntry | ( | lua_State * | L | ) |
Definition at line 912 of file GlobalMethods.h.
References GUID_ENPART(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetGUIDLow | ( | lua_State * | L | ) |
Definition at line 798 of file GlobalMethods.h.
References GUID_LOPART(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetGUIDType | ( | lua_State * | L | ) |
Definition at line 905 of file GlobalMethods.h.
References GUID_HIPART(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetGuildByLeaderGUID | ( | lua_State * | L | ) |
Definition at line 461 of file GlobalMethods.h.
References Object::GetGUID(), sEluna, and sGuildMgr.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetGuildByName | ( | lua_State * | L | ) |
Definition at line 442 of file GlobalMethods.h.
References sEluna, and sGuildMgr.
Referenced by RegisterGlobals().
|
static |
Definition at line 493 of file GlobalMethods.h.
References HIGHGUID_ITEM, MAKE_NEW_GUID(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetItemLink | ( | lua_State * | L | ) |
Definition at line 981 of file GlobalMethods.h.
References DEFAULT_LOCALE, ObjectMgr::GetLocaleString(), ItemQualityColors, MAX_LOCALES, ItemTemplate::Name1, ItemTemplate::Quality, sEluna, and sObjectMgr.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetLuaEngine | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::GetMapById | ( | lua_State * | L | ) |
Definition at line 450 of file GlobalMethods.h.
References sEluna, sMapMgr, and sMapStore.
Referenced by RegisterGlobals().
|
static |
Definition at line 501 of file GlobalMethods.h.
References HIGHGUID_GAMEOBJECT, MAKE_NEW_GUID(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetPlayerByGUID | ( | lua_State * | L | ) |
Definition at line 270 of file GlobalMethods.h.
References ObjectAccessor::FindPlayer(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetPlayerByName | ( | lua_State * | L | ) |
Definition at line 278 of file GlobalMethods.h.
References ObjectAccessor::FindPlayerByName(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetPlayerCount | ( | lua_State * | L | ) |
Definition at line 470 of file GlobalMethods.h.
References sEluna, and sWorld.
Referenced by RegisterGlobals().
|
static |
Definition at line 485 of file GlobalMethods.h.
References HIGHGUID_PLAYER, MAKE_NEW_GUID(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetPlayersInMap | ( | lua_State * | L | ) |
Definition at line 330 of file GlobalMethods.h.
References MapRefManager::begin(), MapRefManager::end(), Map::GetPlayers(), Player::GetSession(), Player::GetTeamId(), sEluna, sMapMgr, and TEAM_NEUTRAL.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetPlayersInWorld | ( | lua_State * | L | ) |
Definition at line 301 of file GlobalMethods.h.
References Unit::GetPlayer(), sEluna, sWorld, and TEAM_NEUTRAL.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::GetQuest | ( | lua_State * | L | ) |
Definition at line 252 of file GlobalMethods.h.
References sEluna, and sObjectMgr.
Referenced by RegisterGlobals().
|
static |
Definition at line 510 of file GlobalMethods.h.
References HIGHGUID_UNIT, MAKE_NEW_GUID(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::Kick | ( | lua_State * | L | ) |
Definition at line 735 of file GlobalMethods.h.
References Player::GetSession(), WorldSession::KickPlayer(), and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::PerformIngameSpawn | ( | lua_State * | L | ) |
Definition at line 555 of file GlobalMethods.h.
References Map::AddToMap(), Creature::Create(), GameObject::Create(), GameObjectTemplate::displayId, GameObjectTemplate::entry, Creature::GetDBTableGUIDLow(), Map::GetId(), Map::GetSpawnMode(), GO_STATE_READY, HIGHGUID_GAMEOBJECT, HIGHGUID_UNIT, Creature::LoadCreatureFromDB(), GameObject::LoadGameObjectFromDB(), PHASEMASK_NORMAL, Creature::SaveToDB(), sEluna, Unit::SetPhaseMask(), TempSummon::SetTempSummonType(), sGameObjectDisplayInfoStore, sMapMgr, sObjectMgr, Map::SummonCreature(), TEMPSUMMON_MANUAL_DESPAWN, and TEMPSUMMON_TIMED_OR_DEAD_DESPAWN.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterCreatureEvent | ( | lua_State * | L | ) |
Definition at line 200 of file GlobalMethods.h.
References REGTYPE_CREATURE, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterCreatureGossipEvent | ( | lua_State * | L | ) |
Definition at line 105 of file GlobalMethods.h.
References REGTYPE_CREATURE_GOSSIP, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterGameObjectEvent | ( | lua_State * | L | ) |
Definition at line 219 of file GlobalMethods.h.
References REGTYPE_GAMEOBJECT, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterGameObjectGossipEvent | ( | lua_State * | L | ) |
Definition at line 124 of file GlobalMethods.h.
References REGTYPE_GAMEOBJECT_GOSSIP, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterGroupEvent | ( | lua_State * | L | ) |
Definition at line 87 of file GlobalMethods.h.
References REGTYPE_GROUP, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterGuildEvent | ( | lua_State * | L | ) |
Definition at line 69 of file GlobalMethods.h.
References REGTYPE_GUILD, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterItemEvent | ( | lua_State * | L | ) |
Definition at line 143 of file GlobalMethods.h.
References REGTYPE_ITEM, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterItemGossipEvent | ( | lua_State * | L | ) |
Definition at line 162 of file GlobalMethods.h.
References REGTYPE_ITEM_GOSSIP, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterPlayerEvent | ( | lua_State * | L | ) |
Definition at line 33 of file GlobalMethods.h.
References REGTYPE_PLAYER, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterPlayerGossipEvent | ( | lua_State * | L | ) |
Definition at line 181 of file GlobalMethods.h.
References REGTYPE_PLAYER_GOSSIP, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterServerEvent | ( | lua_State * | L | ) |
Definition at line 15 of file GlobalMethods.h.
References REGTYPE_SERVER, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RegisterVehicleEvent | ( | lua_State * | L | ) |
Definition at line 51 of file GlobalMethods.h.
References REGTYPE_VEHICLE, and sEluna.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::ReloadEluna | ( | lua_State * | L | ) |
Definition at line 263 of file GlobalMethods.h.
References StartEluna().
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::RemoveEventById | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::RemoveEvents | ( | lua_State * | L | ) |
| int LuaGlobalFunctions::SaveAllPlayers | ( | lua_State * | L | ) |
Definition at line 791 of file GlobalMethods.h.
References ObjectAccessor::SaveAllPlayers().
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::SendMail | ( | lua_State * | L | ) |
Definition at line 807 of file GlobalMethods.h.
References MailDraft::AddItem(), CharacterDatabase, Item::CreateItem(), Object::GetGUID(), GUID_LOPART(), MAIL_CHECK_MASK_NONE, MAIL_NORMAL, MAIL_STATIONERY_DEFAULT, MAX_MAIL_ITEMS, ItemTemplate::MaxCount, sEluna, MailDraft::SendMailTo(), and sObjectMgr.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::SendWorldMessage | ( | lua_State * | L | ) |
Definition at line 293 of file GlobalMethods.h.
References SERVER_MSG_STRING, and sWorld.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::VendorRemoveAllItems | ( | lua_State * | L | ) |
Definition at line 719 of file GlobalMethods.h.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::VendorRemoveItem | ( | lua_State * | L | ) |
Definition at line 703 of file GlobalMethods.h.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::WorldDBExecute | ( | lua_State * | L | ) |
Definition at line 379 of file GlobalMethods.h.
References WorldDatabase.
Referenced by RegisterGlobals().
| int LuaGlobalFunctions::WorldDBQuery | ( | lua_State * | L | ) |
Definition at line 364 of file GlobalMethods.h.
References sEluna, and WorldDatabase.
Referenced by RegisterGlobals().