![]() |
Superfighters Deluxe
|
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... | |
PlayerWeaponAddedActionCallback.Event arguments
PlayerWeaponAddedArg | ( | WeaponItemType | wpnItemType, |
WeaponItem | wpnItem, | ||
int | srcObjectID | ||
) |
wpnItem | |
wpnItemType | |
srcObjectID |
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.
readonly WeaponItem WeaponItem |
Gets the WeaponItem that was added.
readonly WeaponItemType WeaponItemType |
Gets the weapon item type that was added.