Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
CreatureAIRegistry.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#include "
CombatAI.h
"
7
#include "
CreatureAIFactory.h
"
8
#include "
CreatureAIRegistry.h
"
9
#include "
GuardAI.h
"
10
#include "
MovementGeneratorImpl.h
"
11
#include "
PassiveAI.h
"
12
#include "
PetAI.h
"
13
#include "
RandomMovementGenerator.h
"
14
#include "
ReactorAI.h
"
15
#include "
SmartAI.h
"
16
#include "
TotemAI.h
"
17
#include "
WaypointMovementGenerator.h
"
18
19
namespace
AIRegistry
20
{
21
void
Initialize
()
22
{
23
(
new
CreatureAIFactory<NullCreatureAI>
(
"NullCreatureAI"
))->RegisterSelf();
24
(
new
CreatureAIFactory<TriggerAI>
(
"TriggerAI"
))->RegisterSelf();
25
(
new
CreatureAIFactory<AggressorAI>
(
"AggressorAI"
))->RegisterSelf();
26
(
new
CreatureAIFactory<ReactorAI>
(
"ReactorAI"
))->RegisterSelf();
27
(
new
CreatureAIFactory<PassiveAI>
(
"PassiveAI"
))->RegisterSelf();
28
(
new
CreatureAIFactory<CritterAI>
(
"CritterAI"
))->RegisterSelf();
29
(
new
CreatureAIFactory<GuardAI>
(
"GuardAI"
))->RegisterSelf();
30
(
new
CreatureAIFactory<PetAI>
(
"PetAI"
))->RegisterSelf();
31
(
new
CreatureAIFactory<TotemAI>
(
"TotemAI"
))->RegisterSelf();
32
(
new
CreatureAIFactory<CombatAI>
(
"CombatAI"
))->RegisterSelf();
33
(
new
CreatureAIFactory<ArcherAI>
(
"ArcherAI"
))->RegisterSelf();
34
(
new
CreatureAIFactory<TurretAI>
(
"TurretAI"
))->RegisterSelf();
35
(
new
CreatureAIFactory<VehicleAI>
(
"VehicleAI"
))->RegisterSelf();
36
(
new
CreatureAIFactory<SmartAI>
(
"SmartAI"
))->RegisterSelf();
37
38
(
new
GameObjectAIFactory<GameObjectAI>
(
"GameObjectAI"
))->RegisterSelf();
39
(
new
GameObjectAIFactory<SmartGameObjectAI>
(
"SmartGameObjectAI"
))->RegisterSelf();
40
41
(
new
MovementGeneratorFactory<RandomMovementGenerator<Creature>
>(
RANDOM_MOTION_TYPE
))->RegisterSelf();
42
(
new
MovementGeneratorFactory<WaypointMovementGenerator<Creature>
>(
WAYPOINT_MOTION_TYPE
))->RegisterSelf();
43
}
44
}
CombatAI.h
CreatureAIFactory.h
CreatureAIRegistry.h
GuardAI.h
WAYPOINT_MOTION_TYPE
@ WAYPOINT_MOTION_TYPE
Definition
MotionMaster.h:26
RANDOM_MOTION_TYPE
@ RANDOM_MOTION_TYPE
Definition
MotionMaster.h:25
MovementGeneratorImpl.h
PassiveAI.h
PetAI.h
RandomMovementGenerator.h
ReactorAI.h
SmartAI.h
TotemAI.h
WaypointMovementGenerator.h
AIRegistry
Definition
CreatureAIRegistry.cpp:20
AIRegistry::Initialize
void Initialize()
Definition
CreatureAIRegistry.cpp:21
CreatureAIFactory
Definition
CreatureAIFactory.h:21
GameObjectAIFactory
Definition
CreatureAIFactory.h:49
MovementGeneratorFactory
Definition
MovementGenerator.h:73
src
server
game
AI
CreatureAIRegistry.cpp
Generated on
for Project SkyFire Core by
1.17.0