csharp
public readonly record struct HitClaimWhat a client says one of its pellets hit.
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 ShooterWho fired, as the caller numbers them.
public uint ShotWhich of their shots.
public int PelletWhich pellet of it.
public ulong TargetWhat they say it hit.
public int TickThe tick they were seeing when they fired.
public float DistanceHow far away the target was, in metres.
public float DeviationHow 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