s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
PelletClaim
chevron_left Classes
struct
PelletClaim

Constructors

functionsPelletClaim

Properties

data_objectBonedata_objectDirectiondata_objectHitObjectdata_objectOrigindata_objectPositiondata_objectTags

Methods

functionsDeconstruct
PelletClaim
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.
struct Sandbox.BaseCombatWeapon .
sealedSandbox.Engine

build Constructors 1

PelletClaim (Origin, Position, Direction, HitObject, 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.

data_object Properties 6

Bone
Nullable`1
Model bone hit on the shooter’s trace. A hull hit has no bone.
Direction
Vector3
HitObject
GameObject
Origin
Vector3
Position
Vector3
Tags
TagSet

functions Methods 1

Deconstruct (Origin, Position, Direction, HitObject, Tags)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter