ShotClaimclass
An owning client's report of one trigger pull - every pellet that hit something, and the damage and force the weapon says each pellet carries. Everything in it is client-reported. On claimed hits `Sandbox.DamageInfo.Hitbox` is null - hitgroups arrive as tags on each pellet (e.g. "head") instead, resolved on the client.
Constructors1
Showing 1 constructors
public ShotClaim(int Sequence, float Damage, float Force, Sandbox.BaseCombatWeapon.PelletClaim[] Pellets)
An owning client's report of one trigger pull - every pellet that hit something, and the damage and force the weapon says each pellet carries. Everything in it is client-reported. On claimed hits `Sandbox.DamageInfo.Hitbox` is null - hitgroups arrive as tags on each pellet (e.g. "head") instead, resolved on the client.
| Parameter | Type | Description |
|---|---|---|
| Sequence | int | — |
| Damage | float | — |
| Force | float | — |
| Pellets | PelletClaim[] | — |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(int Sequence, float Damage, float Force, Sandbox.BaseCombatWeapon.PelletClaim[] Pellets)
| Parameter | Type | Description |
|---|---|---|
| Sequence | int | — |
| Damage | float | — |
| Force | float | — |
| Pellets | PelletClaim[] | — |
void—No results match this filter.
Properties4
Showing 4 properties
public float Sandbox.BaseCombatWeapon.ShotClaim.Damage { get; set; }
float—public float Sandbox.BaseCombatWeapon.ShotClaim.Force { get; set; }
float—public Sandbox.BaseCombatWeapon.PelletClaim[] Sandbox.BaseCombatWeapon.ShotClaim.Pellets { get; set; }
public int Sandbox.BaseCombatWeapon.ShotClaim.Sequence { get; set; }
int—No results match this filter.