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

Go to the source code of this file.

Classes

class  GameObjectScript
 
class  GenericGameObjectScript< AI >
 
class  FactoryGameObjectScript< AI, AIFactory >
 

Macros

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

Macro Definition Documentation

◆ 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)