[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Rage.PedInventory"]
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
public sealed class PedInventory
Public NotInheritable Class PedInventory
public ref class PedInventory sealed
Thetype exposes the following members.
Gets the weapon currently equipped by the owning Ped.
Gets the object representing this weapon in the world.
Only weapons in the game world, and equipped by Peds have an object. Holstered weapons do not.
Gets a value indicating whether this inventory has a flashlight.
Gets a value indicating whether this inventory contains a loaded weapon.
Gets a value indicating whether this inventory has a parachute.
Gets the owning Ped of this inventory.
Gets a collection of all the weapons currently in this inventory.
Gives the specified weapon component to the specified weapon belonging to this Ped.
The Ped must own the specified weapon to receive the component.
The weapon asset can be one of the following:
The component name can be one of the following:
Ensures the owning Ped has a flashlight.
|GiveNewWeapon(WeaponAsset, Int16, Boolean)|
|GiveNewWeapon(WeaponDescriptor, Int16, Boolean)|
|GiveNewWeapon(WeaponHash, Int16, Boolean)|