Exemple #1
0
 public void PlayPullBoltAudio()
 {
     if (!IsHeldSlotEmpty)
     {
         GameAudioMedia.PlayWeaponAudio(HeldConfigId, RelatedAppearence.WeaponHandObject(), (config) => config.PullBolt);
     }
 }
Exemple #2
0
        public void SwitchIn(EWeaponSlotType in_slot)
        {
            if (!weaponProcessor.FilterSwitchIn(in_slot))
            {
                weaponInteract.ShowTip(Core.Common.ETipType.NoWeaponInSlot);
                return;
            }

            if (IsHeldBagSlotType(in_slot))
            {
                SameSpeciesSwitchIn(in_slot);
            }
            else
            {
                DrawWeapon(in_slot);
                GameAudioMedia.PlayWeaponAudio(HeldWeaponAgent.ConfigId, RelatedAppearence.WeaponHandObject(), (item) => item.SwitchIn);
            }
        }