Logo FSBarV1_Archived

EnemyUnitState Type

Record fields

Record Field Description

DefId

Full Usage: DefId

Field type: int option

Absent iff the engine has not disclosed the def (radar-only of unknown class).

Field type: int option

HealthInfo

Full Usage: HealthInfo

Field type: HealthInfoCase

FR-003 totality: exactly one arm is always set. `unknown` indicates radar-only or frozen-last-known. `health = 0` is a legitimate "visible but dying" reading.

Field type: HealthInfoCase

InLos

Full Usage: InLos

Field type: bool
Field type: bool

InRadar

Full Usage: InRadar

Field type: bool
Field type: bool

Position

Full Usage: Position

Field type: Vec3Wire option

Last-known position — frozen when the enemy dropped from both LOS and radar this tick.

Field type: Vec3Wire option

UnitId

Full Usage: UnitId

Field type: int
Field type: int

Static members

Static member Description

EnemyUnitState.Proto

Full Usage: EnemyUnitState.Proto

Returns: Lazy<ProtoDef<EnemyUnitState>>
Returns: Lazy<ProtoDef<EnemyUnitState>>

EnemyUnitState.empty

Full Usage: EnemyUnitState.empty

Returns: EnemyUnitState
Returns: EnemyUnitState

Type something to start searching.