Struct SimEvent
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
Something that happened during one tick, for presentation and replays. Plain values only, so events can be kept after the entities they mention are gone.
public struct SimEvent
- Inherited Members
Fields
Amount
public float Amount
Field Value
CustomId
Custom events: the sender's id (e.g. "mine_armed"). Built-in events use it for detail (e.g. the status behaviour id).
public string CustomId
Field Value
IsCrit
public bool IsCrit
Field Value
Kind
public SimEventKind Kind
Field Value
Position
public Vec2 Position
Field Value
Slot
Weapon slot, or -1.
public int Slot
Field Value
SourceId
public int SourceId
Field Value
TargetId
public int TargetId
Field Value
Tick
public int Tick
Field Value
Methods
ToString()
public override string ToString()