Merge pull request #8724 from CocosRobot/update_lua_bindings_1413431912

[AUTO]: updating luabinding automatically
This commit is contained in:
minggo 2014-10-16 12:03:07 +08:00
commit 6f93ace68c
8 changed files with 1290 additions and 8 deletions

View File

@ -0,0 +1,60 @@
--------------------------------
-- @module AssetsManagerEx
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @brief Gets the current update state.
-- @function [parent=#AssetsManagerEx] getState
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @brief Check out if there is a new version of manifest.<br>
-- You may use this method before updating, then let user determine whether<br>
-- he wants to update resources.
-- @function [parent=#AssetsManagerEx] checkUpdate
-- @param self
--------------------------------
-- @brief Gets storage path.
-- @function [parent=#AssetsManagerEx] getStoragePath
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Update with the current local manifest.
-- @function [parent=#AssetsManagerEx] update
-- @param self
--------------------------------
-- @brief Function for retrieve the local manifest object
-- @function [parent=#AssetsManagerEx] getLocalManifest
-- @param self
-- @return Manifest#Manifest ret (return value: cc.Manifest)
--------------------------------
-- @brief Function for retrieve the remote manifest object
-- @function [parent=#AssetsManagerEx] getRemoteManifest
-- @param self
-- @return Manifest#Manifest ret (return value: cc.Manifest)
--------------------------------
-- @brief Reupdate all failed assets under the current AssetsManagerEx context
-- @function [parent=#AssetsManagerEx] downloadFailedAssets
-- @param self
--------------------------------
-- @brief Create function for creating a new AssetsManagerEx<br>
-- param manifestUrl The url for the local manifest file<br>
-- param storagePath The storage path for downloaded assetes<br>
-- warning The cached manifest in your storage path have higher priority and will be searched first,<br>
-- only if it doesn't exist, AssetsManagerEx will use the given manifestUrl.
-- @function [parent=#AssetsManagerEx] create
-- @param self
-- @param #string manifestUrl
-- @param #string storagePath
-- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx)
return nil

View File

@ -45,7 +45,8 @@
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- Returns the Console <br>
-- since v3.0
-- @function [parent=#Director] getConsole
-- @param self
-- @return Console#Console ret (return value: cc.Console)

View File

@ -0,0 +1,55 @@
--------------------------------
-- @module EventAssetsManagerEx
-- @extend EventCustom
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getAssetsManagerEx
-- @param self
-- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getAssetId
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getCURLECode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getMessage
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getCURLMCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getPercentByFile
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getEventCode
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#EventAssetsManagerEx] getPercent
-- @param self
-- @return float#float ret (return value: float)
return nil

View File

@ -0,0 +1,19 @@
--------------------------------
-- @module EventListenerAssetsManagerEx
-- @extend EventListenerCustom
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventListenerAssetsManagerEx] clone
-- @param self
-- @return EventListenerAssetsManagerEx#EventListenerAssetsManagerEx ret (return value: cc.EventListenerAssetsManagerEx)
--------------------------------
-- / Overrides
-- @function [parent=#EventListenerAssetsManagerEx] checkAvailable
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -0,0 +1,43 @@
--------------------------------
-- @module Manifest
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @brief Gets remote manifest file url.
-- @function [parent=#Manifest] getManifestFileUrl
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Check whether the version informations have been fully loaded
-- @function [parent=#Manifest] isVersionLoaded
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @brief Check whether the manifest have been fully loaded
-- @function [parent=#Manifest] isLoaded
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @brief Gets remote package url.
-- @function [parent=#Manifest] getPackageUrl
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Gets manifest version.
-- @function [parent=#Manifest] getVersion
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @brief Gets remote version file url.
-- @function [parent=#Manifest] getVersionFileUrl
-- @param self
-- @return string#string ret (return value: string)
return nil

View File

@ -66,4 +66,24 @@
-- @field [parent=#cc] AssetsManager#AssetsManager AssetsManager preloaded module
--------------------------------------------------------
-- the cc EventAssetsManagerEx
-- @field [parent=#cc] EventAssetsManagerEx#EventAssetsManagerEx EventAssetsManagerEx preloaded module
--------------------------------------------------------
-- the cc Manifest
-- @field [parent=#cc] Manifest#Manifest Manifest preloaded module
--------------------------------------------------------
-- the cc AssetsManagerEx
-- @field [parent=#cc] AssetsManagerEx#AssetsManagerEx AssetsManagerEx preloaded module
--------------------------------------------------------
-- the cc EventListenerAssetsManagerEx
-- @field [parent=#cc] EventListenerAssetsManagerEx#EventListenerAssetsManagerEx EventListenerAssetsManagerEx preloaded module
return nil

View File

@ -244,6 +244,32 @@ int register_all_cocos2dx_extension(lua_State* tolua_S);