struct IAIGroupTactic { };
IAIGroup.h
virtual ~IAIGroupTactic();
virtual void DebugDraw() = 0;
Draw debug information about the group tactic. See console var ai_DrawGroupTactic.
void GetMemoryUsage(ICrySizer * pSizer) const;
virtual Vec3 GetPoint(IAIObject* pRequester, int type, float param) = 0;
Returns queried point related to the tactic, see EGroupStateType.
virtual int GetState(IAIObject* pRequester, int type, float param) = 0;
Returns queried state related to the tactic, see EGroupStateType.
virtual void NotifyState(IAIObject* pRequester, int type, float param) = 0;
Notify or report tactic, see EGroupNotifyType.
virtual void OnMemberAdded(IAIObject* pMember) = 0;
Called when new member is added to group.
virtual void OnMemberRemoved(IAIObject* pMember) = 0;
Called when new member is removed from the group.
virtual void OnUnitAttentionTargetChanged() = 0;
Callback called when an attention target of a unit belonging to the group is changed.
virtual void Reset() = 0;
Called on AIsystem reset, should reset the state of the tactic.
virtual void Serialize(TSerialize ser) = 0;
Serialize the state of the tactic.
virtual void Update(float dt) = 0;
Updates the group tactic.