Class WeaponState
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
public sealed class WeaponState
- Inheritance
-
WeaponState
- Inherited Members
Constructors
WeaponState()
public WeaponState()
Fields
Aim
public Vec2 Aim
Field Value
Anchor
public Vec2 Anchor
Field Value
Angle
public float Angle
Field Value
Behaviour
The weapon's behaviour, resolved at wave start.
public IWeaponBehaviour Behaviour
Field Value
BehaviourState
State owned by a custom weapon behaviour.
public object BehaviourState
Field Value
CompletedAttacks
public int CompletedAttacks
Field Value
CooldownLeft
public int CooldownLeft
Field Value
CurrentStyle
public MeleeStyle CurrentStyle
Field Value
Def
public WeaponDef Def
Field Value
Extension
Current forward extension and rotation relative to the aim.
public float Extension
Field Value
HitIds
public readonly List<int> HitIds
Field Value
LastAttackTick
public int LastAttackTick
Field Value
OrbitAngle
public float OrbitAngle
Field Value
PendingCrit
public bool PendingCrit
Field Value
PendingDamage
public int PendingDamage
Field Value
Phase
public MeleePhase Phase
Field Value
PhaseTicks
public int PhaseTicks
Field Value
PhaseTicksLeft
public int PhaseTicksLeft
Field Value
Reach
Distance the strike extends to, fixed at attack start.
public float Reach
Field Value
RehitTimers
public readonly List<KeyValuePair<int, int>> RehitTimers
Field Value
- List<KeyValuePair<int, int>>
Slot
public int Slot