Black Trigram (흑괘) - API Documentation - v0.2.10
GitHub
Game Website
Preparing search index...
types/audio
AudioManagerInterface
Interface AudioManagerInterface
interface
AudioManagerInterface
{
isInitialized
:
boolean
;
masterVolume
:
number
;
musicVolume
:
number
;
muted
:
boolean
;
sfxVolume
:
number
;
initialize
(
config
:
AudioConfig
)
:
Promise
<
void
>
;
mute
()
:
void
;
playDojiangAmbience
()
:
Promise
<
void
>
;
playKoreanTechniqueSound
(
techniqueId
:
string
,
archetype
:
string
,
)
:
Promise
<
void
>
;
playMusic
(
trackId
:
string
)
:
Promise
<
void
>
;
playMusicTrack
(
id
:
string
)
:
Promise
<
void
>
;
playSoundEffect
(
id
:
string
)
:
Promise
<
void
>
;
playTrigramStanceSound
(
stance
:
string
)
:
Promise
<
void
>
;
playVitalPointHitSound
(
severity
:
string
)
:
Promise
<
void
>
;
setVolume
(
type
:
"sfx"
|
"music"
|
"voice"
|
"master"
,
volume
:
number
)
:
void
;
stopMusic
()
:
void
;
unmute
()
:
void
;
}
Hierarchy (
View Summary
)
IAudioManager
AudioManagerInterface
Index
Properties
is
Initialized
master
Volume
music
Volume
muted
sfx
Volume
Methods
initialize
mute
play
Dojiang
Ambience
play
Korean
Technique
Sound
play
Music
play
Music
Track
play
Sound
Effect
play
Trigram
Stance
Sound
play
Vital
Point
Hit
Sound
set
Volume
stop
Music
unmute
Properties
Readonly
is
Initialized
isInitialized
:
boolean
Readonly
master
Volume
masterVolume
:
number
Readonly
music
Volume
musicVolume
:
number
Readonly
muted
muted
:
boolean
Readonly
sfx
Volume
sfxVolume
:
number
Methods
initialize
initialize
(
config
:
AudioConfig
)
:
Promise
<
void
>
Parameters
config
:
AudioConfig
Returns
Promise
<
void
>
mute
mute
()
:
void
Returns
void
play
Dojiang
Ambience
playDojiangAmbience
()
:
Promise
<
void
>
Returns
Promise
<
void
>
play
Korean
Technique
Sound
playKoreanTechniqueSound
(
techniqueId
:
string
,
archetype
:
string
)
:
Promise
<
void
>
Parameters
techniqueId
:
string
archetype
:
string
Returns
Promise
<
void
>
play
Music
playMusic
(
trackId
:
string
)
:
Promise
<
void
>
Parameters
trackId
:
string
Returns
Promise
<
void
>
play
Music
Track
playMusicTrack
(
id
:
string
)
:
Promise
<
void
>
Parameters
id
:
string
Returns
Promise
<
void
>
play
Sound
Effect
playSoundEffect
(
id
:
string
)
:
Promise
<
void
>
Parameters
id
:
string
Returns
Promise
<
void
>
play
Trigram
Stance
Sound
playTrigramStanceSound
(
stance
:
string
)
:
Promise
<
void
>
Parameters
stance
:
string
Returns
Promise
<
void
>
play
Vital
Point
Hit
Sound
playVitalPointHitSound
(
severity
:
string
)
:
Promise
<
void
>
Parameters
severity
:
string
Returns
Promise
<
void
>
set
Volume
setVolume
(
type
:
"sfx"
|
"music"
|
"voice"
|
"master"
,
volume
:
number
)
:
void
Parameters
type
:
"sfx"
|
"music"
|
"voice"
|
"master"
volume
:
number
Returns
void
stop
Music
stopMusic
()
:
void
Returns
void
unmute
unmute
()
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Properties
is
Initialized
master
Volume
music
Volume
muted
sfx
Volume
Methods
initialize
mute
play
Dojiang
Ambience
play
Korean
Technique
Sound
play
Music
play
Music
Track
play
Sound
Effect
play
Trigram
Stance
Sound
play
Vital
Point
Hit
Sound
set
Volume
stop
Music
unmute
GitHub
Game Website
Black Trigram (흑괘) - API Documentation - v0.2.10
Loading...