/*	kd:
	Boring interface for playing sounds without remembering the exact names. */

struct Gcs_ShopSounds {
	static void PlaySound (Sound id, double volume = 1.0) {
		Object.S_Sound(id, 0, volume);
	}
	
	static void PlayActivationSound (
		class <Inventory> inv, double volume = 1.0) {
		Object.S_Sound(
			String.Format("%s_active", inv.GetClassName()), 0, volume);
	}
	
	static void PlayDeactivationSound (
		class <Inventory> inv, double volume = 1.0) {
		Object.S_Sound(
			String.Format("%s_inactive", inv.GetClassName()), 0, volume);
	}
	
	static void ShopStart () {
		PlaySound("menu/clear");
	}
	
	static void ShopEnd () {
		PlaySound("menu/activate");
	}
	
	static void Select () {
		PlaySound("spell/move");
	}
	
	static void SelectItem () {
		PlaySound("spell/move");
	}
	
	static void Buy () {
		PlaySound("spell/buy");
	}
	
	static void Failure () {
		PlaySound("menu/invalid");
	}
	
	static void Bookmark () {
		PlaySound("spell/buy");
	}
	
	static void BookmarkRemove () {
		PlaySound("menu/invalid");
	}
	
	static void FxOn () {
		PlaySound("spell/buy");
	}
	
	static void FxOff () {
		PlaySound("menu/invalid");
	}
	
	static void SetBind () {
		PlaySound("spell/buy");
	}
	
	static void QuickStart () {
		PlaySound("menu/activate");
	}
	
	static void BindStart () {
		PlaySound("menu/activate");
	}
	
	static void BindTick () {
		PlaySound("spell/yes");
	}
}