Weapon Constructor

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the Weapon class.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public Weapon(
	WeaponAsset weaponAsset,
	Vector3 position,
	int ammoCount
)

Parameters

weaponAsset
Type: RageWeaponAsset
The weapon asset.
position
Type: RageVector3
The position.
ammoCount
Type: SystemInt32
The ammo count.
See Also

Reference