AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ScriptMgr.h File Reference
#include "AchievementMgr.h"
#include "ArenaTeam.h"
#include "AuctionHouseMgr.h"
#include "Battleground.h"
#include "Common.h"
#include "DBCStores.h"
#include "DynamicObject.h"
#include "GameEventMgr.h"
#include "Group.h"
#include "InstanceScript.h"
#include "LFGMgr.h"
#include "ObjectMgr.h"
#include "PetDefines.h"
#include "QuestDef.h"
#include "SharedDefines.h"
#include "Tuples.h"
#include "Types.h"
#include "Weather.h"
#include "World.h"
#include <atomic>

Go to the source code of this file.

Classes

class  ScriptObject
 
class  UpdatableScript< TObject >
 
class  SpellScriptLoader
 
class  ServerScript
 
class  WorldScript
 
class  FormulaScript
 
class  MapScript< TMap >
 
class  WorldMapScript
 
class  InstanceMapScript
 
class  BattlegroundMapScript
 
class  ItemScript
 
class  UnitScript
 
class  MovementHandlerScript
 
class  AllMapScript
 
class  AllCreatureScript
 
class  AllItemScript
 
class  AllGameObjectScript
 
class  CreatureScript
 
class  GameObjectScript
 
class  AreaTriggerScript
 
class  OnlyOnceAreaTriggerScript
 
class  BattlegroundScript
 
class  OutdoorPvPScript
 
class  CommandScript
 
class  WeatherScript
 
class  AuctionHouseScript
 
class  ConditionScript
 
class  VehicleScript
 
class  DynamicObjectScript
 
class  TransportScript
 
class  AchievementCriteriaScript
 
class  PlayerScript
 
class  AccountScript
 
class  GuildScript
 
class  GroupScript
 
class  GlobalScript
 
class  BGScript
 
class  ArenaTeamScript
 
class  SpellSC
 
class  ModuleScript
 
class  GameEventScript
 
class  MailScript
 
class  AchievementScript
 
class  PetScript
 
class  ArenaScript
 
class  MiscScript
 
class  CommandSC
 
class  DatabaseScript
 
class  WorldObjectScript
 
class  LootScript
 
class  ElunaScript
 
class  ScriptMgr
 
class  GenericSpellAndAuraScriptLoader< Ts >
 
class  GenericCreatureScript< AI >
 
class  FactoryCreatureScript< AI, AIFactory >
 
class  GenericGameObjectScript< AI >
 
class  FactoryGameObjectScript< AI, AIFactory >
 
class  ScriptRegistry< TScript >
 

Namespaces

namespace  Acore
 
namespace  Acore::ChatCommands
 
namespace  Acore::SpellScripts
 

Macros

#define VISIBLE_RANGE   166.0f
 
#define RegisterSpellScriptWithArgs(spell_script, script_name, ...)   new GenericSpellAndAuraScriptLoader<spell_script, decltype(std::make_tuple(__VA_ARGS__))>(script_name, std::make_tuple(__VA_ARGS__))
 
#define RegisterSpellScript(spell_script)   RegisterSpellScriptWithArgs(spell_script, #spell_script)
 
#define RegisterSpellAndAuraScriptPairWithArgs(script_1, script_2, script_name, ...)   new GenericSpellAndAuraScriptLoader<script_1, script_2, decltype(std::make_tuple(__VA_ARGS__))>(script_name, std::make_tuple(__VA_ARGS__))
 
#define RegisterSpellAndAuraScriptPair(script_1, script_2)   RegisterSpellAndAuraScriptPairWithArgs(script_1, script_2, #script_1)
 
#define RegisterCreatureAI(ai_name)   new GenericCreatureScript<ai_name>(#ai_name)
 
#define RegisterCreatureAIWithFactory(ai_name, factory_fn)   new FactoryCreatureScript<ai_name, &factory_fn>(#ai_name)
 
#define RegisterGameObjectAI(ai_name)   new GenericGameObjectScript<ai_name>(#ai_name)
 
#define RegisterGameObjectAIWithFactory(ai_name, factory_fn)   new FactoryGameObjectScript<ai_name, &factory_fn>(#ai_name)
 
#define sScriptMgr   ScriptMgr::instance()
 

Typedefs

template<typename T >
using Acore::SpellScripts::is_SpellScript = std::is_base_of< SpellScript, T >
 
template<typename T >
using Acore::SpellScripts::is_AuraScript = std::is_base_of< AuraScript, T >
 

Macro Definition Documentation

◆ RegisterCreatureAI

#define RegisterCreatureAI (   ai_name)    new GenericCreatureScript<ai_name>(#ai_name)

◆ RegisterCreatureAIWithFactory

#define RegisterCreatureAIWithFactory (   ai_name,
  factory_fn 
)    new FactoryCreatureScript<ai_name, &factory_fn>(#ai_name)

◆ RegisterGameObjectAI

#define RegisterGameObjectAI (   ai_name)    new GenericGameObjectScript<ai_name>(#ai_name)

◆ RegisterGameObjectAIWithFactory

#define RegisterGameObjectAIWithFactory (   ai_name,
  factory_fn 
)    new FactoryGameObjectScript<ai_name, &factory_fn>(#ai_name)

◆ RegisterSpellAndAuraScriptPair

#define RegisterSpellAndAuraScriptPair (   script_1,
  script_2 
)    RegisterSpellAndAuraScriptPairWithArgs(script_1, script_2, #script_1)

◆ RegisterSpellAndAuraScriptPairWithArgs

#define RegisterSpellAndAuraScriptPairWithArgs (   script_1,
  script_2,
  script_name,
  ... 
)    new GenericSpellAndAuraScriptLoader<script_1, script_2, decltype(std::make_tuple(__VA_ARGS__))>(script_name, std::make_tuple(__VA_ARGS__))

◆ RegisterSpellScript

#define RegisterSpellScript (   spell_script)    RegisterSpellScriptWithArgs(spell_script, #spell_script)

◆ RegisterSpellScriptWithArgs

#define RegisterSpellScriptWithArgs (   spell_script,
  script_name,
  ... 
)    new GenericSpellAndAuraScriptLoader<spell_script, decltype(std::make_tuple(__VA_ARGS__))>(script_name, std::make_tuple(__VA_ARGS__))

◆ sScriptMgr

#define sScriptMgr   ScriptMgr::instance()

◆ VISIBLE_RANGE

#define VISIBLE_RANGE   166.0f