#include "Common.h"
#include "ObjectGuid.h"
#include "Tuples.h"
#include "Types.h"
#include <memory>
#include <vector>
Go to the source code of this file.
|
| #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() |
| |
◆ RegisterCreatureAI
◆ RegisterCreatureAIWithFactory
| #define RegisterCreatureAIWithFactory |
( |
|
ai_name, |
|
|
|
factory_fn |
|
) |
| new FactoryCreatureScript<ai_name, &factory_fn>(#ai_name) |
◆ RegisterGameObjectAI
◆ RegisterGameObjectAIWithFactory
| #define RegisterGameObjectAIWithFactory |
( |
|
ai_name, |
|
|
|
factory_fn |
|
) |
| new FactoryGameObjectScript<ai_name, &factory_fn>(#ai_name) |
◆ RegisterSpellAndAuraScriptPair
◆ 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
◆ 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
◆ VISIBLE_RANGE
| #define VISIBLE_RANGE 166.0f |