#include "Common.h"
#include "ObjectGuid.h"
#include "Tuples.h"
#include <boost/preprocessor/punctuation/remove_parens.hpp>
#include <memory>
#include <vector>
Go to the source code of this file.
|
| #define | VISIBLE_RANGE 166.0f |
| |
| #define | RegisterSpellAndAuraScriptPairWithArgs(script_1, script_2, script_name, ...) new GenericSpellAndAuraScriptLoader<BOOST_PP_REMOVE_PARENS(script_1), BOOST_PP_REMOVE_PARENS(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 | RegisterSpellScriptWithArgs(spell_script, script_name, ...) RegisterSpellAndAuraScriptPairWithArgs(spell_script, void, script_name, __VA_ARGS__) |
| |
| #define | RegisterSpellScript(spell_script) RegisterSpellAndAuraScriptPairWithArgs(spell_script, void, #spell_script) |
| |
| #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 | RegisterAreaTriggerAI(ai_name) new GenericAreaTriggerEntityScript<ai_name>(#ai_name) |
| |
| #define | RegisterConversationAI(ai_name) new GenericConversationScript<ai_name>(#ai_name) |
| |
| #define | RegisterBattlegroundMapScript(script_name, mapId) new GenericBattlegroundMapScript<script_name>(#script_name, mapId) |
| |
| #define | sScriptMgr ScriptMgr::instance() |
| |
◆ RegisterAreaTriggerAI
◆ RegisterBattlegroundMapScript
◆ RegisterConversationAI
◆ 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<BOOST_PP_REMOVE_PARENS(script_1), BOOST_PP_REMOVE_PARENS(script_2), decltype(std::make_tuple(__VA_ARGS__))>(script_name, std::make_tuple(__VA_ARGS__)) |
◆ RegisterSpellScript
◆ RegisterSpellScriptWithArgs
◆ sScriptMgr
◆ VISIBLE_RANGE
| #define VISIBLE_RANGE 166.0f |