|   | Type | Name | Arguments | | - | - | ^CAiBrain  | m_pxBrain | 
| - | - | ^CAiSensor  | m_pxSensor | 
| - | - | int  | m_iWallType | 
| - | - | string  | m_sRegionName | 
| - | - | vec3  | m_vStart | 
| - | - | vec3  | m_vEnd | 
| - | - | ^CAiWallDef  | m_pxWD | 
| - | - | string  | m_sClassName | 
| - | - | int  | m_iEstimatedTileCount | 
| - | - | bool  | m_bIsWorking | 
| - | - | int  | m_iFailures | 
| - | - | int  | m_iMaxFailures | 
| - | - | int  | m_iMaxTiles | 
| - | - | int  | m_iNumPlaced | 
| - | - | int  | m_iLastAllocationCnt | 
| - | - | array  | m_apxResourceNeeds | 
| - | - | array  | m_apxResources | 
| - | - | int  | m_iNumWorkers | 
| - | - | int  | m_iIdleWorkers | 
| - | - | bool  | m_bVillageWall | 
| X | - | bool  | m_bHasBuiltAnything | 
| - | - | CAiObjWrapList  | m_xWorkers | 
| - | - | bool  | m_bSpawned | 
| - | - | CAiObjWrap  | m_xObj | 
| - | - | int  | m_iCountWalls | 
| - | - | string  | m_sPlayerID | 
| - | - | int  | m_iPlayerID | 
| - | - | int  | m_iDifficulty | 
| - | - | string  | m_sDifficulty | 
| X | - | void  | destructor |  (
)  | 
| - | - | ref CAiTaskBuildWalls  | op_Assign |  (
 ref CAiTaskBuildWalls )  | 
| X | - | bool  | Abort |  (
)  | 
| X | - | real  | CalculateStartCost |  (
)  | 
| X | - | void  | EvtAllocationComplete |  (
 ^CAiAllocation p_pxAllocation )  | 
| X | - | void  | EvtAllocationDestroyed |  (
 ^CAiAllocation p_pxAllocation  ,  int p_iUnitHandle )  | 
| X | - | void  | EvtAllocationFailed |  (
 ^CAiAllocation p_pxAllocation )  | 
| X | - | void  | EvtCheckpointReached |  (
 int p_iCheckpointId  ,  int p_iObjHandle )  | 
| X | - | void  | EvtCheckpointTimeout |  (
 int p_iCheckpointId )  | 
| X | - | void  | EvtRequestAccepted |  (
 ^CAiRequestInfo p_pxRequest )  | 
| X | - | void  | EvtRequestFailed |  (
 ^CAiRequestInfo p_pxRequest )  | 
| X | - | void  | EvtRequestRejected |  (
 ^CAiRequestInfo p_pxRequest )  | 
| X | - | void  | EvtRequestSucceeded |  (
 ^CAiRequestInfo p_pxRequest )  | 
| X | - | void  | EvtTimeOut |  (
)  | 
| X | - | void  | ForceCompleted |  (
)  | 
| X | - | ^CAiAllocationMgr  | GetAiAllocationMgr |  (
)  | 
| X | - | ^CAiBrain  | GetAiBrain |  (
)  | 
| X | - | ^CAiSensor  | GetAiSensor |  (
)  | 
| X | - | ^CAiTechTree  | GetAiTechTree |  (
)  | 
| X | - | ^CAiAllocation  | GetAllocation |  (
)  | 
| X | - | bitset  | GetCurrentState |  (
)  | 
| X | - | string  | GetCurrentStateName |  (
)  | 
| X | - | string  | GetDbgPtrStr |  (
)  | 
| X | - | ^CAiGoal  | GetGoal |  (
)  | 
| X | - | CAiTaskHndl  | GetHandle |  (
)  | 
| X | - | real  | GetPriority |  (
)  | 
| X | - | real  | GetProductionCost |  (
)  | 
| X | - | real  | GetProductionSpeed |  (
)  | 
| X | - | ^CAiSensor  | GetSensor |  (
)  | 
| X | - | ^CAiSolution  | GetSolution |  (
)  | 
| X | - | int  | GetThinkWait |  (
)  | 
| X | - | void  | Init |  (
 ^CAiGoal p_pxGoal )  | 
| X | - | void  | Init |  (
 ^CAiGoal p_pxGoal  ,  int p_iTimeout )  | 
| X | - | bool  | IsAborted |  (
)  | 
| X | - | bool  | IsCompleted |  (
)  | 
| X | - | bool  | IsInitState |  (
)  | 
| X | - | bool  | IsNotPossible |  (
)  | 
| X | - | bool  | IsRunning |  (
)  | 
| X | - | bool  | IsStartState |  (
)  | 
| X | - | bool  | IsWaitingForResources |  (
)  | 
| X | - | void  | Load |  (
 ^CUOFReaderNode p_pxReader )  | 
| X | - | void  | LoadData |  (
 ^CUOFReaderNode p_pxReaderNode )  | 
| X | - | void  | OnUnitAdded |  (
 CAiObjWrap p_kxrOW  ,  ^CAiNodeInstance p_pxInst )  | 
| X | - | void  | OnUserInteraction |  (
 CAiObjWrap p_kxrObj )  | 
| X | - | void  | RemoveAllRequests |  (
)  | 
| X | - | void  | Save |  (
 ^CUOFWriterNode p_pxWriter )  | 
| X | - | bool  | SetCompleted |  (
)  | 
| X | - | void  | SetImpossible |  (
)  | 
| X | - | void  | SetPriority |  (
 real p_fPriority )  | 
| X | - | void  | SetRequesterFor |  (
 ^CAiRequestInfo p_pxInfo )  | 
| X | - | void  | SetRunning |  (
)  | 
| X | - | void  | SetSolution |  (
 ^CAiSolution p_pxSolution )  | 
| X | - | void  | SetStarted |  (
)  | 
| X | - | void  | SetThinkWait |  (
 int p_iThinkWait )  | 
| X | - | void  | SetTimer |  (
 int p_iTimer )  | 
| X | - | void  | Shut |  (
)  | 
| X | - | bool  | Start |  (
)  | 
| X | - | void  | Think |  (
)  | 
| X | - | bool  | TryAllocate |  (
 ^CAiSolution p_pxSolution  ,  int p_iOutpostId  ,  int p_iNumRetries  ,  bool p_bCreateOnFail )  | 
| X | - | bool  | TryAllocate |  (
 ^CAiSolution p_pxSolution  ,  int p_iOutpostId  ,  int p_iNumRetries  ,  bool p_bCreateOnFail  ,  bool p_bDontAddFailed )  | 
| X | - | bool  | TryAllocate |  (
 ^CAiSolution p_pxSolution  ,  int p_iOutpostId  ,  int p_iNumRetries )  | 
| X | - | bool  | TryAllocate |  (
 ^CAiSolution p_pxSolution  ,  int p_iOutpostId  ,  int p_iNumRetries  ,  bool p_bCreateOnFail  ,  bool p_bDontAddFailed  ,  bool p_bCheckCanAlloc )  | 
| X | - | void  | constructor |  (
 string p_sRegionName  ,  string p_sClassName  ,  int p_iEstNumTiles )  | 
| X | - | void  | constructor |  (
 vec3 p_vStart  ,  vec3 p_vEnd  ,  string p_sClassName  ,  ^CAiWallDef p_pxWD  ,  int p_iEstNumTiles )  | 
| - | - | void  | DumpAll |  (
)  | 
| X | - | ^CAiWallDef  | GetWallDef |  (
)  | 
| X | - | void  | Init |  (
 ^CAiGoal p_pxGoal  ,  CAiObjWrap p_xWorker )  | 
| X | - | bool  | IsWorking |  (
)  | 
| X | - | string  | GetRegionName |  (
)  | 
| X | - | vec3  | GetStartVec |  (
)  | 
| X | - | vec3  | GetEndVec |  (
)  | 
| X | - | string  | GetClassName |  (
)  | 
| X | - | int  | GetWallType |  (
)  | 
| X | - | void  | SetVillageWall |  (
 bool p_bVillageWall )  | 
| X | - | bool  | GetVillageWall |  (
)  | 
| - | - | void  | UpdateTileToBuildCount |  (
)  | 
| - | - | void  | UnlockResourcesFor |  (
 int p_iNumTiles )  |