![]() |
Superfighters Deluxe
|
PlayerWeaponRemovedActionCallback.Event arguments More...
Public Member Functions | |
PlayerWeaponRemovedArg (WeaponItemType wpnItemType, WeaponItem wpnItem, int tarObjectID, bool wasDropped, bool wasThrown) | |
Public Attributes | |
readonly bool | Dropped |
Gets if this item was manually dropped by the player (holding the drop button). False if removed from other sources, such as disarm, deaths, throws, scripts etc... More... | |
readonly int | TargetObjectID |
Gets the ObjectID of the object created in the world. Returns 0 if no object was created in the world. Note: The IObject, even if created, might not exist anymore if removed from other scripts or events. Note: This might be an IObjectWeaponItem or IObject of some other type depending if the player dropped the item or threw this item. More... | |
readonly bool | Thrown |
Gets if this item was thrown by the player. More... | |
readonly WeaponItem | WeaponItem |
Gets the WeaponItem that was Removed. More... | |
readonly WeaponItemType | WeaponItemType |
Gets the weapon item type that was Removed. More... | |
PlayerWeaponRemovedActionCallback.Event arguments
PlayerWeaponRemovedArg | ( | WeaponItemType | wpnItemType, |
WeaponItem | wpnItem, | ||
int | tarObjectID, | ||
bool | wasDropped, | ||
bool | wasThrown | ||
) |
wpnItem | |
wpnItemType | |
tarObjectID | |
wasDropped | |
wasThrown |
readonly bool Dropped |
Gets if this item was manually dropped by the player (holding the drop button). False if removed from other sources, such as disarm, deaths, throws, scripts etc...
readonly int TargetObjectID |
Gets the ObjectID of the object created in the world. Returns 0 if no object was created in the world. Note: The IObject, even if created, might not exist anymore if removed from other scripts or events. Note: This might be an IObjectWeaponItem or IObject of some other type depending if the player dropped the item or threw this item.
readonly bool Thrown |
Gets if this item was thrown by the player.
readonly WeaponItem WeaponItem |
Gets the WeaponItem that was Removed.
readonly WeaponItemType WeaponItemType |
Gets the weapon item type that was Removed.