@pretendonetwork/wiiu-sound-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

wiiuSound

The wiiuSound API is used by WiiU applets to play various sounds. These types provide intellisense and type safety

Installation

npm i --save-dev @pretendonetwork/wiiu-sound-types

Once installed, wiiuSound will be agumented into the global scope as well as into the Window interface

Enums and types

An enum of available sound effect labels and their union type is available to make interacting with the API easier and more readable

Constants

SoundEffects

Labels for the various sound effects. Not all labels are available in all applets. Using an unsupported label plays no sound

export const enum SoundEffects {
	SE_BAR_BTN = 'SE_BAR_BTN',
	SE_BAR_BTN_CHECK = 'SE_BAR_BTN_CHECK',
	SE_BAR_BTN_CHECK_TOUCH_OFF = 'SE_BAR_BTN_CHECK_TOUCH_OFF',
	SE_BAR_BTN_TOUCH_OFF = 'SE_BAR_BTN_TOUCH_OFF',
	SE_BAR_CANCEL = 'SE_BAR_CANCEL',
	SE_BAR_CANCEL_TOUCH_OFF = 'SE_BAR_CANCEL_TOUCH_OFF',
	SE_BAR_DECIDE = 'SE_BAR_DECIDE',
	SE_BAR_DECIDE_TOUCH_OFF = 'SE_BAR_DECIDE_TOUCH_OFF',
	SE_BAR_ERROR_APPEAR = 'SE_BAR_ERROR_APPEAR',
	SE_BAR_SCROLL = 'SE_BAR_SCROLL',
	SE_BAR_SCROLLBAR_SELECT = 'SE_BAR_SCROLLBAR_SELECT',
	SE_BAR_SCROLL_END = 'SE_BAR_SCROLL_END',
	SE_BAR_SCROLL_MSG = 'SE_BAR_SCROLL_MSG',
	SE_BAR_SUB_DECIDE = 'SE_BAR_SUB_DECIDE',
	SE_BAR_SUB_DECIDE_TOUCH_OFF = 'SE_BAR_SUB_DECIDE_TOUCH_OFF',
	SE_BAR_WAITING = 'SE_BAR_WAITING',
	SE_CMN_CURSOR_SELECT = 'SE_CMN_CURSOR_SELECT',
	SE_CMN_TOUCH_CANCEL = 'SE_CMN_TOUCH_CANCEL',
	SE_CMN_TOUCH_ON = 'SE_CMN_TOUCH_ON',
	SE_OLV_CURT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SE_WAVE_CHECKBOX_UNCHECK',
	SE_WAVE_CHECKBOX_CHECK = 'SE_WAVE_CHECKBOX_CHECK',
	SE_WAVE_MII_CANCEL = 'SE_WAVE_MII_CANCEL',
	SE_WAVE_MII_ADD = 'SE_WAVE_MII_ADD',
	BGM_OLV_INIT = 'BGM_OLV_INIT',
	BGM_OLV_SETTING = 'BGM_OLV_SETTING',
	BGM_OLV_MAIN = 'BGM_OLV_MAIN'
};

Types

SoundEffect

Union of all the labels in SoundEffects

Readme

Keywords

none

Package Sidebar

Install

npm i @pretendonetwork/wiiu-sound-types

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

7.21 kB

Total Files

7

Last publish

Collaborators

  • jonbarrow