Struct PlayerBulletData
Represents data related to a player's bullet, including its origin, hit position, and other details.
public readonly struct PlayerBulletData
- Inherited Members
Fields
hitID
The ID of the object or entity that was hit by the bullet.
public readonly ushort hitID
Field Value
hitPos
The position where the bullet hit.
public readonly Vector3 hitPos
Field Value
hitType
The type of object or entity that was hit by the bullet.
public readonly PlayerBulletHitType hitType
Field Value
offset
The offset of the bullet relative to the player's position.
public readonly Vector3 offset
Field Value
origin
The origin position of the bullet when it was fired.
public readonly Vector3 origin
Field Value
weapon
The weapon ID used to fire the bullet.
public readonly byte weapon