16 lines
596 B
TypeScript
16 lines
596 B
TypeScript
/**
|
|
* Audio Functions
|
|
* @public
|
|
* @noSelf
|
|
*/
|
|
declare namespace audio {
|
|
|
|
function play_sound(soundId: int, audioName: string, audioRef: string, p4: boolean, p5: any, p6: boolean): void;
|
|
function play_sound_frontend(soundId: int, audioName: string, audioRef: string, p4: boolean): void;
|
|
function play_sound_from_entity(soundId: int, audioName: string, entity: Entity, audioRef: string): void;
|
|
function play_sound_from_coord(soundId: int, audioName: string, pos: v3, audioRef: string, a5: boolean, range: int, a7: boolean): void;
|
|
function stop_sound(soundId: int): void;
|
|
|
|
}
|
|
|