CAIAction Class
Overview
Note
The CAIAction class handles AI processing of creature actions
The structure used for this class is CAIAction
Quick Reference
Quick Ref |
void CAIAction::CAIAction() |
void CAIAction::~CAIAction() |
void CAIAction::Decode(CGameAIBase* caller) |
unsigned char CAIAction::OfType(short type) |
Constructors
Name |
Description |
Constructs a |
|
Destroys a |
CAIAction::CAIAction
Constructs a CAIAction object
void CAIAction();
Remarks
Constructs a CAIAction object
CAIAction::~CAIAction
Destroys the CAIAction object
void ~CAIAction();
Remarks
Destroys the CAIAction object
Methods
Name |
Description |
Decodes |
|
Reads |
CAIAction::Decode
Decode action
void CAIAction::Decode(CGameAIBase* caller);
Parameters
CGameAIBase* caller - pointer to the CGameAIBase caller
Remarks
Decodes action
CAIAction::OfType
OfType
unsigned char CAIAction::OfType(short type);
Parameters
shorttype - the type to get
Return Value
Returns as an unsigned char
Remarks
CAIAction::Read
Reads the action
void CAIAction::Read(CString data, CString source);
Parameters
Remarks