[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Rage.WeaponDescriptor"]
Inheritance Hierarchy
RageWeaponDescriptor
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The WeaponDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WeaponDescriptor | Initializes a new instance of the WeaponDescriptor class |
Properties
Name | Description | |
---|---|---|
Ammo |
Gets the amount of ammo available for this weapon.
| |
Asset |
Gets the asset of this weapon.
| |
Hash |
Gets the hash of this weapon.
| |
LoadedAmmo |
Gets the amount of ammo currently in this weapon.
| |
MagazineSize |
Gets the amount of ammo this weapon will have in its magazine after reloading.
| |
MaximumAmmo |
Gets the maximum amount of ammo this weapon can hold.
| |
Ped |
Gets the owning Ped of this weapon.
|
Methods
Name | Description | |
---|---|---|
Drop | ||
DropToGround |
Drops this weapon. The weapon will be placed on the ground in front of the Ped.
| |
Equals |
Indicates whether the current WeaponDescriptor is equal to another WeaponDescriptor.
|
Operators
Name | Description | |
---|---|---|
Equality | ||
(String to WeaponDescriptor) | ||
(WeaponAsset to WeaponDescriptor) | ||
(WeaponHash to WeaponDescriptor) | ||
Inequality |
See Also