Superfighters Deluxe
PlayerWeaponAddedArg Struct Reference

PlayerWeaponAddedActionCallback.Event arguments More...

Public Member Functions

 PlayerWeaponAddedArg (WeaponItemType wpnItemType, WeaponItem wpnItem, int srcObjectID)
 

Public Attributes

readonly int SourceObjectID
 Gets the original UniqueID from the ObjectWeaponItem when this weapon was grabbed. Returns 0 from other sources such as scripts (as there is no source object). NOTE: The ObjectWeaponItem does not exist anymore as the player has grabbed the item. More...
 
readonly WeaponItem WeaponItem
 Gets the WeaponItem that was added. More...
 
readonly WeaponItemType WeaponItemType
 Gets the weapon item type that was added. More...
 

Detailed Description

PlayerWeaponAddedActionCallback.Event arguments

Constructor & Destructor Documentation

◆ PlayerWeaponAddedArg()

PlayerWeaponAddedArg ( WeaponItemType  wpnItemType,
WeaponItem  wpnItem,
int  srcObjectID 
)

Parameters
wpnItem
wpnItemType
srcObjectID

Member Data Documentation

◆ SourceObjectID

readonly int SourceObjectID

Gets the original UniqueID from the ObjectWeaponItem when this weapon was grabbed. Returns 0 from other sources such as scripts (as there is no source object). NOTE: The ObjectWeaponItem does not exist anymore as the player has grabbed the item.

◆ WeaponItem

Gets the WeaponItem that was added.

◆ WeaponItemType

Gets the weapon item type that was added.