Cavestory Mod API
|
AI Player's brain. More...
#include <CaveNet_ExportedTypes.h>
Public Member Functions | |
AI_Brain () | |
Constructor. | |
~AI_Brain () | |
Deconstructor. | |
AI_ActionBase * | AddAction (AI_ActionBase *pAction) |
Add an action to the queue. | |
void | NotifyOfClientDeletion (CaveNet::DataStructures::NetClient *pClient) |
Notify this brain of pointer deletion. More... | |
void | NotifyOfPlayerDeletion (CaveNet::DataStructures::NetPlayer *pPlayer) |
Notify this brain of pointer deletion. More... | |
void | Think () |
Think for this bot. | |
int | Tick () |
Tick this bot for one frame. | |
Public Attributes | |
void(* | m_OnCleanup )(AI_Brain *pBrain) |
CaveNet::DataStructures::NetPlayer * | focus_1 |
... | |
CaveNet::DataStructures::NetPlayer * | focus_2 |
... | |
CaveNet::DataStructures::NetPlayer * | focus_3 |
... | |
CaveNet::DataStructures::NetPlayer * | focus_4 |
... | |
NPCHAR * | target_1 |
... | |
NPCHAR * | target_2 |
... | |
NPCHAR * | target_3 |
... | |
NPCHAR * | target_4 |
... | |
void * | ptr_1 |
... | |
void * | ptr_2 |
... | |
void * | ptr_3 |
... | |
void * | ptr_4 |
... | |
int | act_no |
... | |
int | act_wait |
... | |
int | count1 |
... | |
int | count2 |
... | |
int | count3 |
... | |
int | count4 |
... | |
int | count5 |
... | |
int | count6 |
... | |
int | count7 |
... | |
int | count8 |
... | |
int | count9 |
... | |
int | count10 |
... | |
int | count11 |
... | |
int | count12 |
... | |
int | count13 |
... | |
int | count14 |
... | |
int | count15 |
... | |
int | timer_1 |
... | |
int | timer_2 |
... | |
int | tgt_x |
... | |
int | tgt_y |
... | |
int | start_time |
... | |
void * | m_CustomVarList [32] |
... | |
List< AI_ActionBase * > | m_ActionQueue |
The action queue for this brain. | |
NetPlayer * | m_Player |
The player attached to this brain. | |
int | m_SelectedWeapon |
Selected weapon. | |
Friends | |
class | NetPlayer |
AI Player's brain.
void CaveNet::DataStructures::AI_Brain::NotifyOfClientDeletion | ( | CaveNet::DataStructures::NetClient * | pClient | ) |
Notify this brain of pointer deletion.
pClient | The client being deleted. |
void CaveNet::DataStructures::AI_Brain::NotifyOfPlayerDeletion | ( | CaveNet::DataStructures::NetPlayer * | pPlayer | ) |
Notify this brain of pointer deletion.
pClient | The server being deleted. |