|  |  | Type | Name | Arguments | | - | - | CAiObjWrap | m_xLastEnemy | 
| - | - | CAiObjWrapList | m_xAttackers | 
| - | - | real | m_fAttackStrength | 
| - | - | string | m_sDifficulty | 
| X | - | void | constructor | (
) | 
| X | - | void | destructor | (
) | 
| X | - | ref CAiGoalSpecialSEASAttack | op_Assign | (
 ref CAiGoalSpecialSEASAttack ) | 
| X | - | void | Activate | (
) | 
| X | - | void | AddTask | (
 ^CAiTask p_pxTask ) | 
| X | - | void | constructor | (
 bool p_bPermanent ) | 
| X | - | bool | Deactivate | (
) | 
| 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 | - | ^CAiAllocationMgr | GetAiAllocationMgr | (
) | 
| X | - | ^CAiBrain | GetAiBrain | (
) | 
| X | - | ^CAiSensor | GetAiSensor | (
) | 
| X | - | ^CAiTechTree | GetAiTechTree | (
) | 
| X | - | string | GetDbgString | (
) | 
| X | - | CAiGoalHndl | GetHandle | (
) | 
| X | - | int | GetNumTasks | (
) | 
| X | - | real | GetPriority | (
) | 
| X | - | string | GetSaveName | (
) | 
| X | - | ^CAiTask | GetTask | (
 int p_iIndex ) | 
| X | - | int | GetThinkWait | (
) | 
| X | - | bool | Init | (
 ^CAiBrain p_pxBrain ) | 
| X | - | bool | IsActive | (
) | 
| X | - | bool | IsEnabled | (
) | 
| X | - | bool | IsPermanent | (
) | 
| X | - | bool | IsReached | (
) | 
| X | - | void | Load | (
 ^CUOFReaderNode p_pxNode ) | 
| X | - | void | LoadData | (
 ^CUOFReaderNode p_pxReaderNode ) | 
| X | - | void | OnUnitAdded | (
 CAiObjWrap p_kxrOW  ,  ^CAiNodeInstance p_pxInst ) | 
| X | - | void | OnUserInteraction | (
 CAiObjWrap p_xOW ) | 
| X | - | void | RecalculateCurrentPriority | (
) | 
| X | - | void | RemoveAllRequests | (
) | 
| X | - | void | RemoveTask | (
 ^CAiTask p_pxTask ) | 
| X | - | void | RemoveTaskUS | (
 int p_iIndex ) | 
| X | - | void | Save | (
 ^CUOFWriterNode p_pxNode ) | 
| X | - | void | SetDbgString | (
 string p_krsDbg ) | 
| X | - | void | SetPermanent | (
 bool p_bPermanent ) | 
| X | - | void | SetPriority | (
 real p_fPrio ) | 
| X | - | void | SetRequesterFor | (
 ^CAiRequestInfo p_pxInfo ) | 
| X | - | void | SetThinkWait | (
 int p_iThinkWait ) | 
| X | - | void | Shut | (
) | 
| X | - | void | Think | (
) | 
| X | - | vec3 | GetAttackPos | (
) | 
| X | - | vec3 | GetFightersPos | (
) | 
| X | - | string | GetStrategy | (
) | 
| X | - | void | ShutAllTasks | (
) | 
| X | - | void | SetKotH | (
 bool p_bOn ) | 
| X | - | void | OnTimeOut | (
 int p_iTimerId ) | 
| X | - | bool | StartSitOn | (
) | 
| X | - | bool | TransferUnits | (
) | 
| X | - | void | SetKindergarten | (
 bool p_bValue ) | 
| X | - | void | SetAttackOnlyTargets | (
 bool p_bValue ) | 
| X | - | bool | GetKindergarten | (
) | 
| X | - | ^CAiGoalMinistryOfDefense | GetMOD | (
) | 
| X | - | void | ReturnUnitsToDefensePool | (
 ref CAiObjWrapList p_rxUnits ) | 
| X | - | bool | DismountAllEasyRiders | (
) | 
| - | - | ^CAiModuleFightDefault | GetFightModule | (
) | 
| - | - | ref CAiObjQuery | GetEnemyQuery | (
) | 
| - | - | void | SetFailedPosition | (
 vec3 p_vPos ) | 
| - | - | void | QueryEssentialsFromDefensePool | (
 ^CAiSolution p_pxSolution ) | 
| - | - | bool | GetUnits | (
 string p_sSolution ) | 
| - | - | bool | SpawnUnits | (
 string p_sSolution ) | 
| - | - | bool | SpawnUnits | (
 string p_sSolution  ,  vec3 p_vPos ) | 
| - | - | bool | SpawnUnits | (
 string p_sSolution  ,  vec3 p_vPos  ,  bool p_bIgnoreLocation ) | 
| X | - | void | AddHeroesToSolution | (
 ^CAiSolution p_pxSolution  ,  array p_asClasses ) | 
| X | - | void | UpdateSolutionWithHeroUnits | (
 ^CAiSolution p_pxSolution ) | 
| X | - | CAiNeedPtr | GetNewNeed | (
 string p_sPartialName  ,  string p_sObjFlag  ,  int p_iLevel ) | 
| - | - | CAiNeedPtr | FindUnitsInSolution | (
 ^CAiSolution p_pxSolution  ,  string p_sClass  ,  string p_sObjFlag  ,  int p_iLevel ) | 
| X | - | bool | Start | (
 ^CAiAttackInfo p_pxAttackInfo ) | 
| X | - | bool | IsAttackingOurGroup | (
 ref CAiObjWrap p_rxEnemy ) | 
| X | - | bool | IsAttackingOurTribe | (
 ref CAiObjWrap p_rxEnemy ) | 
| X | - | bool | CheckCompletion | (
) | 
| - | - | void | SendTouristsBackHome | (
) | 
| - | - | bool | UpdateFighters | (
) | 
| X | - | void | SeparateUnits | (
) | 
| - | - | bool | IsSupportUnit | (
 ref CAiObjWrap p_rxActor ) | 
| - | - | void | StartAllAttacks | (
) | 
| - | - | void | RetreatAllAttacks | (
 vec3 p_vPos ) | 
| - | - | bool | GetSafeSpot | (
 ref vec3 p_rvPos  ,  bool p_bFakeSafeSpot ) | 
| - | - | ^CAiTask | StartAttack | (
 ref CAiObjWrapList p_rxActors  ,  ref CAiObjWrapList p_rxSupporters  ,  bool p_bAmphibianPathfinding ) | 
| X | - | void | UpdateAllAttacks | (
) | 
| X | - | bool | UpdateSupporters | (
) | 
| - | - | void | OnAttackInvoked | (
 CAiObjWrap p_xAttacker  ,  CAiObjWrap p_xTarget ) | 
| - | - | void | AddIllusionsToSupporters | (
 vec3 p_vPos ) | 
| - | - | void | AddIllusionProcrefs | (
) | 
| - | - | void | ClearIllusionProcrefs | (
) | 
| X | - | bool | IsLuring | (
 CAiObjWrap p_xObj ) | 
| X | - | bool | UpdateNearbyEnemies | (
) | 
| - | - | bool | ShouldRetreat | (
 int p_iRefreshTime ) | 
| - | - | CAiObjWrapList | UpdateNearbyAnimalTargets | (
 vec3 p_vAttackerPos ) | 
| X | - | void | OnLostUnit | (
 string p_sClass ) | 
| - | - | void | OnEnemiesFound | (
 ref CAiObjWrapList p_rxList ) | 
| - | - | void | OnCalculateValue | (
 ref CAiObjWrap p_rxEnemy  ,  ref real p_rfValue ) | 
| X | - | bool | CompareLevel | (
 CAiObjWrapList p_xTargets  ,  CAiObjWrapList p_xActors  ,  ^CAiBrain p_pxBrain ) |