FB2AggroSourceState
Overview
- Aggro state of one Source, holding multiple Targets at once. The manager's ActiveAggros holds it as a TMap<FB1EntityId, FB2AggroSourceState>.
Metadata
| Field | Value |
|---|---|
| Kind | struct |
| Environment | B2 - Simulation |
| Category | structs |
Properties (4)
| Name | Type | Description |
|---|---|---|
Entries | FB2AggroEntry[] | The Source's per-Target aggro entries. Each tick the single largest-total entry is picked as the chase target. |
TopEntryIndexCache | integer | Cached Top-entry index. INDEX_NONE means invalid; the manager recomputes it on the next query. Invalidated on: AddAggro entry, the empty-entry removal step in Tick (if an entry was actually removed), DecreaseAggroByReason / DecreaseAggroByTargetReason, RemoveAggro / RemoveAggroForTarget / OnEntityRemoved, and on Decay (decay amounts differ per reason). |
WalkBackLocation | FVector | |
bWalkBackCaptured | boolean |