five-on-it / apps/client/src/renderer/audio / shotSoundOf
Function: shotSoundOf()
shotSoundOf(
weapon):"vehicle.engine"|"vehicle.tyre.scrub"|"vehicle.horn"|"vehicle.siren"|"vehicle.ice-cream.jingle"|"vehicle.carjack"|"weapon.fists.swing"|"weapon.pistol.shot"|"weapon.shotgun.shot"|"weapon.rifle.shot"|"weapon.rocket.launch"|"weapon.grenade.throw"|"weapon.tranquilizer.shot"|"vehicle.knock"|"weapon.hit"|"world.explosion"|"world.thunder"|"world.fire"|"weather.rain"|"weather.wind"|"animal.dog.bark"|"music.theme"|"radio.tune"|"ui.menu.move"|"ui.menu.select"|"ui.menu.back"|"ui.menu.start"|"ui.pause"|undefined
Defined in: apps/client/src/renderer/audio.ts:91
The sound of a weapon's shot, by the weapon's name; none for a weapon that has none.
Parameters
weapon
string | undefined
Returns
"vehicle.engine" | "vehicle.tyre.scrub" | "vehicle.horn" | "vehicle.siren" | "vehicle.ice-cream.jingle" | "vehicle.carjack" | "weapon.fists.swing" | "weapon.pistol.shot" | "weapon.shotgun.shot" | "weapon.rifle.shot" | "weapon.rocket.launch" | "weapon.grenade.throw" | "weapon.tranquilizer.shot" | "vehicle.knock" | "weapon.hit" | "world.explosion" | "world.thunder" | "world.fire" | "weather.rain" | "weather.wind" | "animal.dog.bark" | "music.theme" | "radio.tune" | "ui.menu.move" | "ui.menu.select" | "ui.menu.back" | "ui.menu.start" | "ui.pause" | undefined