OnRackedWeaponMounted
Usage
- No return behavior
Example Autogenerated
csharp
private void OnRackedWeaponMounted( Item item, BasePlayer player, WeaponRack instance )
{
Puts( "OnRackedWeaponMounted works!" );
}
Location
- WeaponRack::MountWeapon(Item item, BasePlayer player, int gridCellIndex, int rotation, bool sendUpdate)
csharp
//---
if (sendUpdate)
{
ItemManager.DoRemoves();
base.SendNetworkUpdateImmediate(false);
}
Interface.CallHook("OnRackedWeaponMounted", item, player, this);
return true;
}