AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CreatureScript.h File Reference
#include "QuestDef.h"
#include "ScriptObject.h"

Go to the source code of this file.

Classes

class  CreatureScript
 
class  GenericCreatureScript< AI >
 
class  FactoryCreatureScript< AI, AIFactory >
 

Macros

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

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)