Example #1
0
 private void ProcessMountWeaponInPackage(WeaponInPackage pos, int weaponId, int avatarId)
 {
     if (SingletonManager.Get <WeaponConfigManager>().IsC4(weaponId))
     {
         _playerEntity.AddC4ToBag(weaponId);
     }
     else
     {
         _playerEntity.appearanceInterface.Appearance.MountWeaponInPackage(pos, avatarId);
     }
 }