diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccs/ComAudio.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/ccs/ComAudio.lua | 134 |
2 files changed, 0 insertions, 134 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua b/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua deleted file mode 100644 index d198e2ef..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua +++ /dev/null @@ -1,134 +0,0 @@ ----@meta - ----@class ccs.ComAudio :cc.Component@all parent class: Component,PlayableProtocol -local ComAudio={ } -ccs.ComAudio=ComAudio - - - - ----* ----@return self -function ComAudio:stopAllEffects () end ----* ----@return float -function ComAudio:getEffectsVolume () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:stopEffect (nSoundId) end ----* ----@return float -function ComAudio:getBackgroundMusicVolume () end ----* ----@return boolean -function ComAudio:willPlayBackgroundMusic () end ----* ----@param volume float ----@return self -function ComAudio:setBackgroundMusicVolume (volume) end ----* / @{/ @name implement Playable Protocol ----@return self -function ComAudio:start () end ----@overload fun():self ----@overload fun(boolean:boolean):self ----@param bReleaseData boolean ----@return self -function ComAudio:stopBackgroundMusic (bReleaseData) end ----* ----@return self -function ComAudio:pauseBackgroundMusic () end ----* ----@return boolean -function ComAudio:isBackgroundMusicPlaying () end ----* ----@return boolean -function ComAudio:isLoop () end ----* ----@return self -function ComAudio:resumeAllEffects () end ----* ----@return self -function ComAudio:pauseAllEffects () end ----* ----@param pszFilePath char ----@return self -function ComAudio:preloadBackgroundMusic (pszFilePath) end ----@overload fun(char:char):self ----@overload fun(char:char,boolean:boolean):self ----@overload fun():self ----@param pszFilePath char ----@param bLoop boolean ----@return self -function ComAudio:playBackgroundMusic (pszFilePath,bLoop) end ----* ----@return self -function ComAudio:stop () end ----* lua endToLua ----@return self -function ComAudio:endToLua () end ----@overload fun(char:char):self ----@overload fun(char:char,boolean:boolean):self ----@overload fun():self ----@param pszFilePath char ----@param bLoop boolean ----@return unsigned_int -function ComAudio:playEffect (pszFilePath,bLoop) end ----* ----@param pszFilePath char ----@return self -function ComAudio:preloadEffect (pszFilePath) end ----* ----@param bLoop boolean ----@return self -function ComAudio:setLoop (bLoop) end ----* ----@param pszFilePath char ----@return self -function ComAudio:unloadEffect (pszFilePath) end ----* ----@return self -function ComAudio:rewindBackgroundMusic () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:pauseEffect (nSoundId) end ----* ----@return self -function ComAudio:resumeBackgroundMusic () end ----* ----@param pszFilePath char ----@return self -function ComAudio:setFile (pszFilePath) end ----* ----@param volume float ----@return self -function ComAudio:setEffectsVolume (volume) end ----* ----@return char -function ComAudio:getFile () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:resumeEffect (nSoundId) end ----* ----@return self -function ComAudio:create () end ----* ----@return cc.Ref -function ComAudio:createInstance () end ----* js NA<br> ----* lua NA ----@return self -function ComAudio:onRemove () end ----* ----@param r void ----@return boolean -function ComAudio:serialize (r) end ----* ----@return boolean -function ComAudio:init () end ----* js NA<br> ----* lua NA ----@return self -function ComAudio:onAdd () end
\ No newline at end of file |