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
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.BaseCombatWeapon.PelletClaim

Constructors1

Showing 1 constructors

public PelletClaim(Vector3 Origin, Vector3 Position, Vector3 Direction, Sandbox.GameObject HitObject, Sandbox.TagSet Tags)PUBLICCONSTRUCTOR

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.

ParameterTypeDescription
OriginVector3—
PositionVector3—
DirectionVector3—
HitObjectGameObject—
TagsTagSet—

Methods1

Showing 1 methods

Properties5

Showing 5 properties

On this page