private void StopAllSounds(ReadyMagazineSoundEffectNode weapon)
 {
     this.StopPlaying(weapon.magazineLastCartridgeChargeEffect);
     this.StopPlaying(weapon.magazineBlowOffEffect);
     this.StopPlaying(weapon.magazineOffsetEffect);
     this.StopPlaying(weapon.magazineRollEffect);
     this.StopPlaying(weapon.magazineCartridgeClickEffect);
     this.StopPlaying(weapon.magazineShotEffect);
     this.StopPlaying(weapon.magazineBounceEffect);
     this.StopPlaying(weapon.magazineCooldownEffect);
 }
 public void PlayShotEffect(HammerMagazineShotEvent evt, ReadyMagazineSoundEffectNode weapon, [JoinByTank] ActiveTankNode tank)
 {
     this.PlaySoundEffect(weapon.magazineShotEffect);
 }
 public void PlayLastCartridgeChargeEffect(HammerChargeLastCartridgeEvent evt, ReadyMagazineSoundEffectNode weapon, [JoinByTank] ActiveTankNode tank)
 {
     this.PlaySoundEffect(weapon.magazineLastCartridgeChargeEffect);
 }
 public void PlayClickEffect(HammerCartridgeClickEvent evt, ReadyMagazineSoundEffectNode weapon, [JoinByTank] ActiveTankNode tank)
 {
     this.PlaySoundEffect(weapon.magazineCartridgeClickEffect);
 }
 public void StopSoundPlay(NodeRemoveEvent evt, ActiveTankNode tank, [JoinByTank] ReadyMagazineSoundEffectNode weapon)
 {
     this.StopAllSounds(weapon);
 }
 public void StopSoundPlay(ExecuteEnergyInjectionEvent evt, ReadyMagazineSoundEffectNode weapon)
 {
     this.StopAllSounds(weapon);
 }