API Referenceglobal
PelletClaimclass
One pellet's hit inside a `Sandbox.BaseCombatWeapon.ShotClaim` - where it was fired from, what it hit and where. Pellets that missed, or hit nothing that can take damage or a push, aren't claimed.
object→PelletClaim
Constructors1
Showing 1 constructors
public PelletClaim(Vector3 Origin, Vector3 Position, Vector3 Direction, Sandbox.GameObject HitObject, Sandbox.TagSet Tags)
One pellet's hit inside a `Sandbox.BaseCombatWeapon.ShotClaim` - where it was fired from, what it hit and where. Pellets that missed, or hit nothing that can take damage or a push, aren't claimed.
| Parameter | Type | Description |
|---|---|---|
| Origin | Vector3 | — |
| Position | Vector3 | — |
| Direction | Vector3 | — |
| HitObject | GameObject | — |
| Tags | TagSet | — |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(Vector3 Origin, Vector3 Position, Vector3 Direction, Sandbox.GameObject HitObject, Sandbox.TagSet Tags)
| Parameter | Type | Description |
|---|---|---|
| Origin | Vector3 | — |
| Position | Vector3 | — |
| Direction | Vector3 | — |
| HitObject | GameObject | — |
| Tags | TagSet | — |
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public Vector3 Sandbox.BaseCombatWeapon.PelletClaim.Direction { get; set; }
public Sandbox.GameObject Sandbox.BaseCombatWeapon.PelletClaim.HitObject { get; set; }
public Vector3 Sandbox.BaseCombatWeapon.PelletClaim.Origin { get; set; }
public Vector3 Sandbox.BaseCombatWeapon.PelletClaim.Position { get; set; }
public Sandbox.TagSet Sandbox.BaseCombatWeapon.PelletClaim.Tags { get; set; }
No results match this filter.