struct IAIRecordable { struct RecorderEventData { const char* pString; Vec3 pos; float val; void* pExtraData; }; enum e_AIDbgEvent { E_NONE, E_RESET, E_SIGNALRECIEVED, E_SIGNALRECIEVEDAUX, E_SIGNALEXECUTING, E_GOALPIPESELECTED, E_GOALPIPEINSERTED, E_GOALPIPERESETED, E_BEHAVIORSELECTED, E_BEHAVIORDESTRUCTOR, E_BEHAVIORCONSTRUCTOR, E_ATTENTIONTARGET, E_ATTENTIONTARGETPOS, E_REGISTERSTIMULUS, E_HANDLERNEVENT, E_ACTIONSTART, E_ACTIONSUSPEND, E_ACTIONRESUME, E_ACTIONEND, E_EVENT, E_REFPOINTPOS, E_AGENTPOS, E_AGENTDIR, E_LUACOMMENT, E_PERSONALLOG, E_HEALTH, E_HIT_DAMAGE, E_DEATH, E_SIGNALEXECUTEDWARNING, E_PRESSUREGRAPH, E_BOOKMARK, E_COUNT }; };
IAIRecorder.h
enum e_AIDbgEvent { E_NONE, E_RESET, E_SIGNALRECIEVED, E_SIGNALRECIEVEDAUX, E_SIGNALEXECUTING, E_GOALPIPESELECTED, E_GOALPIPEINSERTED, E_GOALPIPERESETED, E_BEHAVIORSELECTED, E_BEHAVIORDESTRUCTOR, E_BEHAVIORCONSTRUCTOR, E_ATTENTIONTARGET, E_ATTENTIONTARGETPOS, E_REGISTERSTIMULUS, E_HANDLERNEVENT, E_ACTIONSTART, E_ACTIONSUSPEND, E_ACTIONRESUME, E_ACTIONEND, E_EVENT, E_REFPOINTPOS, E_AGENTPOS, E_AGENTDIR, E_LUACOMMENT, E_PERSONALLOG, E_HEALTH, E_HIT_DAMAGE, E_DEATH, E_SIGNALEXECUTEDWARNING, E_PRESSUREGRAPH, E_BOOKMARK, E_COUNT };
IAIRecorder.h
struct RecorderEventData { const char* pString; Vec3 pos; float val; void* pExtraData; };
IAIRecorder.h
void* pExtraData;
Vec3 pos;
const char* pString;
float val;
RecorderEventData(const Vec3& p);
RecorderEventData(const char * pStr);
RecorderEventData(float v);
virtual ~IAIRecordable();
virtual IAIDebugRecord* GetAIDebugRecord() = 0;
virtual void RecordEvent(e_AIDbgEvent event, const RecorderEventData* pEventData = NULL) = 0;
virtual void RecordSnapshot() = 0;