2022-02-27 03:15:00 +01:00
|
|
|
#pragma once
|
2022-03-21 00:28:14 +01:00
|
|
|
#include "game/server/ai_node.h"
|
2022-02-27 03:15:00 +01:00
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// CAI_Network
|
|
|
|
//
|
|
|
|
// Purpose: Stores a node graph through which an AI may pathfind
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class CAI_Network
|
|
|
|
{
|
|
|
|
public:
|
2022-03-20 17:03:46 +01:00
|
|
|
void* m_pVTable;
|
2022-02-27 03:15:00 +01:00
|
|
|
|
|
|
|
// this is uninitialised and never set on ain build, fun!
|
2022-03-21 00:28:14 +01:00
|
|
|
int m_iNumLinks; // +8
|
|
|
|
char unk1[124]; // +12
|
|
|
|
int m_iNumZones; // +136
|
|
|
|
char unk2[16]; // +140
|
2022-02-27 03:15:00 +01:00
|
|
|
|
|
|
|
// unk8 on disk
|
2022-03-21 00:28:14 +01:00
|
|
|
int unk5; // +156
|
|
|
|
char unk6[4]; // +160
|
|
|
|
int m_iNumHints; // +164
|
2022-02-27 03:15:00 +01:00
|
|
|
|
|
|
|
// these probably aren't actually hints, but there's 1 of them per hint so idk
|
2022-03-21 00:28:14 +01:00
|
|
|
short m_Hints[2000]; // +168
|
|
|
|
int m_iNumScriptNodes; // +4168
|
2022-03-20 17:03:46 +01:00
|
|
|
char pad[28]; // unk
|
2022-03-21 00:28:14 +01:00
|
|
|
int64_t m_iNumNodes; // +4200
|
|
|
|
CAI_Node** m_pAInode; // +4208
|
2022-03-20 17:03:46 +01:00
|
|
|
|
2022-03-21 00:28:14 +01:00
|
|
|
CAI_ScriptNode m_ScriptNode[4000]; // +4172
|
2022-02-27 03:15:00 +01:00
|
|
|
};
|