Пользовательские дополнения
На главную
common.PlayMusic( musicAlias )
Запускает музыку по алиасу, указанному в поле musicParameters в "\Interface\System\UIGameRoot.(UIGameRoot).xdb".
Музыка запускается с параметрами, соответствующими этому алиасу.
-- библиотека:
common
-- объявление:
function PlayMusic( musicAlias )
-- параметры:
musicAlias: string - алиас музыки
-- возвращаемые значения:
нет
-- пример:
common.PlayMusic( musicAlias )
Search: "CategoryLuaApi" "CategoryLuaSound"
CategoryLuaSound
FunctionCommonCreateProlongedStateSound
FunctionCommonCreateSound
FunctionCommonGetAddonRelatedSoundGroup
FunctionCommonGetStateRelatedSoundGroup
FunctionCommonIsSoundEnabled
FunctionCommonPlayMusic
FunctionSound2DLuaGetVolume
FunctionSound2DLuaIsMuted
FunctionSound2DLuaIsPaused
FunctionSound2DLuaIsPlaying
FunctionSound2DLuaPlay
FunctionSound2DLuaSetMuted
FunctionSound2DLuaSetPaused
FunctionSound2DLuaSetVolume
FunctionSound2DLuaStop
Sound2DId
CategoryLuaApi
CategoryFunction
CategoryLuaSound
На главную