Added 2 more entries to thew AIStates enum.

This commit is contained in:
Relintai 2019-08-04 16:52:38 +02:00
parent 35efa1fd9b
commit 78f2b19ff9
2 changed files with 6 additions and 2 deletions

View File

@ -4,5 +4,5 @@ const String EntityEnums::BINDING_STRING_PLAYER_RESOURCE_TYPES = "None, Rage, Ma
const String EntityEnums::BINDING_STRING_ENTITY_TYPES = "None, Player, AI, Mob"; const String EntityEnums::BINDING_STRING_ENTITY_TYPES = "None, Player, AI, Mob";
const String EntityEnums::BINDING_STRING_ENTITY_STATE_TYPES = "None, Stun, Root, Frozen, Silenced, Disoriented, Feared, Burning, Cold, Cursed, Pacified"; const String EntityEnums::BINDING_STRING_ENTITY_STATE_TYPES = "None, Stun, Root, Frozen, Silenced, Disoriented, Feared, Burning, Cold, Cursed, Pacified";
const String EntityEnums::BINDING_STRING_CHARCATER_SKELETON_POINTS = "Root, Pelvis, Spine, Spine 1, Spine 2, Neck, Head, Left Clavicle, Left upper Arm, Left Forearm, Left Hand, Left Thumb Base, Left Thumb End, Left Fingers Base, Left Fingers End, Right Clavicle, Right upper Arm, Right Forearm, Right Hand, Right Thumb Base, Right Thumb End, Right Fingers Base, Right Fingers End, Left Thigh, Left Calf, Left Foot, Right Thigh, Right Calf, Right Foot"; const String EntityEnums::BINDING_STRING_CHARCATER_SKELETON_POINTS = "Root, Pelvis, Spine, Spine 1, Spine 2, Neck, Head, Left Clavicle, Left upper Arm, Left Forearm, Left Hand, Left Thumb Base, Left Thumb End, Left Fingers Base, Left Fingers End, Right Clavicle, Right upper Arm, Right Forearm, Right Hand, Right Thumb Base, Right Thumb End, Right Fingers Base, Right Fingers End, Left Thigh, Left Calf, Left Foot, Right Thigh, Right Calf, Right Foot";
const String EntityEnums::BINDING_STRING_AI_STATES = "Off,Rest,Regenerate,Attack"; const String EntityEnums::BINDING_STRING_AI_STATES = "Off,Rest,Patrol,Follow Path,Regenerate,Attack";

View File

@ -127,6 +127,8 @@ public:
enum AIStates { enum AIStates {
AI_STATE_OFF, AI_STATE_OFF,
AI_STATE_REST, AI_STATE_REST,
AI_STATE_PATROL,
AI_STATE_FOLLOW_PATH,
AI_STATE_REGENERATE, AI_STATE_REGENERATE,
AI_STATE_ATTACK, AI_STATE_ATTACK,
}; };
@ -210,6 +212,8 @@ protected:
BIND_ENUM_CONSTANT(AI_STATE_OFF); BIND_ENUM_CONSTANT(AI_STATE_OFF);
BIND_ENUM_CONSTANT(AI_STATE_REST); BIND_ENUM_CONSTANT(AI_STATE_REST);
BIND_ENUM_CONSTANT(AI_STATE_PATROL);
BIND_ENUM_CONSTANT(AI_STATE_FOLLOW_PATH);
BIND_ENUM_CONSTANT(AI_STATE_REGENERATE); BIND_ENUM_CONSTANT(AI_STATE_REGENERATE);
BIND_ENUM_CONSTANT(AI_STATE_ATTACK); BIND_ENUM_CONSTANT(AI_STATE_ATTACK);
} }