Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ScriptMgr.h File Reference
#include "Common.h"
#include "Platform/Singleton.h"
#include <atomic>
#include "DBCStores.h"
#include "SharedDefines.h"
#include "Weather.h"
#include "World.h"
Include dependency graph for ScriptMgr.h:

Go to the source code of this file.

Classes

class  AchievementCriteriaScript
class  AreaTriggerScript
class  AuctionHouseScript
class  BattlegroundMapScript
class  BattlegroundScript
class  CommandScript
class  ConditionScript
class  CreatureScript
class  DynamicObjectScript
class  FactoryCreatureScript< AI, AIFactory >
class  FormulaScript
class  GameObjectScript
class  GenericAuraScriptLoader< A >
class  GenericCreatureScript< AI >
class  GenericGameObjectScript< AI >
class  GenericSpellAndAuraScriptLoader< S, A >
class  GenericSpellScriptLoader< S >
class  GroupScript
class  GuildScript
class  InstanceMapScript
class  ItemScript
class  MapScript< TMap >
class  OutdoorPvPScript
class  PlayerScript
class  ScriptMgr
class  ScriptObject
class  ServerScript
class  SpellScriptLoader
class  TransportScript
struct  TSpellSummary
class  UnitScript
class  UpdatableScript< TObject >
class  VehicleScript
class  WeatherScript
class  WorldMapScript
class  WorldScript

Macros

#define RegisterAuraScript(aura_script)
#define RegisterCreatureAI(ai_name)
#define RegisterCreatureAIWithFactory(ai_name, factory_fn)
#define RegisterGameObjectAI(ai_name)
#define RegisterSpellAndAuraScriptPair(spell_script, aura_script)
#define RegisterSpellScript(spell_script)
#define sScriptMgr   Skyfire::Singleton<ScriptMgr, Skyfire::NullMutex>::instance()
#define VISIBLE_RANGE   166.0f

Macro Definition Documentation

◆ RegisterAuraScript

#define RegisterAuraScript ( aura_script)
Value:

Definition at line 1000 of file ScriptMgr.h.

◆ RegisterCreatureAI

#define RegisterCreatureAI ( ai_name)
Value:

Definition at line 1019 of file ScriptMgr.h.

Referenced by AddSC_durotar().

◆ RegisterCreatureAIWithFactory

#define RegisterCreatureAIWithFactory ( ai_name,
factory_fn )
Value:

Definition at line 1028 of file ScriptMgr.h.

◆ RegisterGameObjectAI

#define RegisterGameObjectAI ( ai_name)
Value:

Definition at line 1037 of file ScriptMgr.h.

◆ RegisterSpellAndAuraScriptPair

#define RegisterSpellAndAuraScriptPair ( spell_script,
aura_script )

◆ RegisterSpellScript

#define RegisterSpellScript ( spell_script)
Value:

Definition at line 991 of file ScriptMgr.h.

Referenced by AddSC_durotar().

◆ sScriptMgr

#define sScriptMgr   Skyfire::Singleton<ScriptMgr, Skyfire::NullMutex>::instance()

Definition at line 764 of file ScriptMgr.h.

Referenced by Guild::_LogBankEvent(), Guild::_LogEvent(), AuctionHouseObject::AddAuction(), Group::AddInvite(), Group::AddMember(), Guild::AddMember(), Transport::AddPassenger(), Map::AddPlayerToMap(), Player::AddQuest(), ScriptRegistry< TScript >::AddScript(), ReactorRunnable::AddSocket(), Skyfire::XP::BaseGain(), Player::BindToInstance(), Unit::CalculateMeleeDamage(), Unit::CalculateSpellDamageTaken(), Spell::cast(), Group::ChangeLeader(), Guild::Create(), InstanceMap::CreateInstanceData(), Transport::CreateNPCPassenger(), Unit::DealDamage(), Unit::DealHeal(), AuctionHouseMgr::DeleteExpiredAuctionsAtStartup(), Guild::DeleteMember(), Group::Disband(), Guild::Disband(), Player::DuelComplete(), Spell::EffectDuel(), Spell::EffectDummy(), VehicleJoinEvent::Execute(), Skyfire::XP::Gain(), Skyfire::XP::GetColorCode(), ChatHandler::getCommandTable(), Skyfire::XP::GetGrayLevel(), Skyfire::XP::GetZeroDifference(), Player::GiveLevel(), LuaPlayer::GiveXP(), Player::GiveXP(), WorldSession::HandleAddonMessagechatOpcode(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleCharCreateCallback(), WorldSession::HandleCharDeleteOpcode(), debug_commandscript::HandleDebugItemExpireCommand(), WorldSession::HandleEmoteOpcode(), WorldSession::HandleGossipHelloOpcode(), WorldSession::HandleGossipSelectOptionOpcode(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberWithdrawMoney(), WorldSession::HandleMessagechatOpcode(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), WorldSession::HandlePlayerLogin(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverHelloOpcode(), WorldSession::HandleQuestgiverStatusQueryOpcode(), reload_commandscript::HandleReloadAllScriptsCommand(), reload_commandscript::HandleReloadEventScriptsCommand(), reload_commandscript::HandleReloadSpellScriptsCommand(), reload_commandscript::HandleReloadWpScriptsCommand(), reset_commandscript::HandleResetLevelCommand(), Guild::HandleSetInfo(), Guild::HandleSetMOTD(), WorldSession::HandleTextEmoteOpcode(), WorldSession::HandleUseItemOpcode(), Skyfire::Honor::hk_honor_at_level_f(), OutdoorPvPMgr::InitOutdoorPvP(), Vehicle::Install(), Unit::Kill(), World::LoadConfigSettings(), Map::LoadMap(), Aura::LoadScripts(), ObjectMgr::LoadScripts(), Spell::LoadScripts(), Guild::MoveItemData::LogAction(), WorldSession::LogoutPlayer(), Map::Map(), AchievementCriteriaData::Meets(), Condition::Meets(), Player::ModifyMoney(), ItemUse_example_item::OnUse(), WorldSocket::ProcessIncoming(), AuctionHouseObject::RemoveAuction(), Group::RemoveMember(), Transport::RemovePassenger(), Vehicle::RemovePassenger(), Map::RemovePlayerFromMap(), Vehicle::Reset(), Player::ResetTalents(), WorldRunnable::Run(), Player::Say(), Map::ScriptCommandStart(), Map::ScriptsProcess(), Map::ScriptsStart(), FactorySelector::selectAI(), FactorySelector::SelectGameObjectAI(), Spell::SendLoot(), WorldSocket::SendPacket(), WorldSession::SendQuestgiverStatusMultiple(), World::SetClosed(), GameObject::SetDestructibleState(), GameObject::SetGoState(), World::SetInitialWorldSettings(), GameObject::SetLootState(), World::SetMotd(), ReputationMgr::SetReputation(), World::ShutdownCancel(), World::ShutdownServ(), ReactorRunnable::SocketClosed(), WorldSocketMgr::StartNetwork(), WorldSocketMgr::StopNetwork(), Player::TextEmote(), Vehicle::Uninstall(), AuctionHouseObject::Update(), Creature::Update(), DynamicObject::Update(), GameObject::Update(), Map::Update(), Player::Update(), Transport::Update(), Weather::Update(), World::Update(), WorldSession::Update(), Player::UpdateDuelFlag(), Item::UpdateDuration(), Weather::UpdateWeather(), Player::UpdateZone(), GameObject::Use(), ObjectMgr::ValidateSpellScripts(), Player::Whisper(), Player::WhisperAddon(), Skyfire::XP::xp_in_group_rate(), Player::Yell(), and Map::~Map().

◆ VISIBLE_RANGE