Vixen
c7401864
csharp
public readonly record struct ShotRecord

What the server knows about one shot it has been told about.

Read the guide page for this →

Fields and properties (5)

  • public uint Shot

    Which shot.

  • public DefId Weapon

    Which weapon fired it.

  • public int Tick

    The tick the server had when it was fired.

  • public float Spread

    The cone it went in, in degrees.

  • public int Pellets

    How many pellets it fired.

Methods (1)

  • public ShotRecord(uint Shot, DefId Weapon, int Tick, float Spread, int Pellets)

    What the server knows about one shot it has been told about.

Used by (2)

  • HitClaimValidatorVixen.Gameplay.Shooting
  • ShooterVixen.Gameplay.Shooting