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

Vec2

Anchor

public Vec2 Anchor

Field Value

Vec2

Angle

public float Angle

Field Value

float

Behaviour

The weapon's behaviour, resolved at wave start.

public IWeaponBehaviour Behaviour

Field Value

IWeaponBehaviour

BehaviourState

State owned by a custom weapon behaviour.

public object BehaviourState

Field Value

object

CompletedAttacks

public int CompletedAttacks

Field Value

int

CooldownLeft

public int CooldownLeft

Field Value

int

CurrentStyle

public MeleeStyle CurrentStyle

Field Value

MeleeStyle

Def

public WeaponDef Def

Field Value

WeaponDef

Extension

Current forward extension and rotation relative to the aim.

public float Extension

Field Value

float

HitIds

public readonly List<int> HitIds

Field Value

List<int>

LastAttackTick

public int LastAttackTick

Field Value

int

OrbitAngle

public float OrbitAngle

Field Value

float

PendingCrit

public bool PendingCrit

Field Value

bool

PendingDamage

public int PendingDamage

Field Value

int

Phase

public MeleePhase Phase

Field Value

MeleePhase

PhaseTicks

public int PhaseTicks

Field Value

int

PhaseTicksLeft

public int PhaseTicksLeft

Field Value

int

Reach

Distance the strike extends to, fixed at attack start.

public float Reach

Field Value

float

RehitTimers

public readonly List<KeyValuePair<int, int>> RehitTimers

Field Value

List<KeyValuePair<int, int>>

Slot

public int Slot

Field Value

int