Vixen
c7401864
csharp
public readonly record struct HitClaim

What a client says one of its pellets hit.

Read the guide page for this →

Remarks

⚠ There is deliberately no "how many things it went through" on here. A client that could say its bullet had penetrated nothing would get full damage on every target it named; the server counts the pellet's prior accepted claims itself, which is a number it already has and a client cannot touch.

Fields and properties (7)

  • public ulong Shooter

    Who fired, as the caller numbers them.

  • public uint Shot

    Which of their shots.

  • public int Pellet

    Which pellet of it.

  • public ulong Target

    What they say it hit.

  • public int Tick

    The tick they were seeing when they fired.

  • public float Distance

    How far away the target was, in metres.

  • public float Deviation

    How far off the aim the pellet was, in degrees, as the client computed it.

Methods (1)

  • public HitClaim(ulong Shooter, uint Shot, int Pellet, ulong Target, int Tick, float Distance, float Deviation)

    What a client says one of its pellets hit.

Used by (3)

  • HitClaimValidatorVixen.Gameplay.Shooting
  • HitClaimValidatorTestsVixen.Gameplay.Shooting.Tests
  • RewindBudgetTestsVixen.Gameplay.Shooting.Tests