summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.AssetsManager.lua
blob: 3bef0d796065cb738f9800d7257cb37c133f0897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---@meta

---@class cc.AssetsManager :cc.Node
local AssetsManager={ }
cc.AssetsManager=AssetsManager




---* 
---@param storagePath char
---@return self
function AssetsManager:setStoragePath (storagePath) end
---* 
---@param packageUrl char
---@return self
function AssetsManager:setPackageUrl (packageUrl) end
---* 
---@return boolean
function AssetsManager:checkUpdate () end
---* 
---@return char
function AssetsManager:getStoragePath () end
---* 
---@return self
function AssetsManager:update () end
---*  @brief Sets connection time out in seconds
---@param timeout unsigned_int
---@return self
function AssetsManager:setConnectionTimeout (timeout) end
---* 
---@param versionFileUrl char
---@return self
function AssetsManager:setVersionFileUrl (versionFileUrl) end
---* 
---@return char
function AssetsManager:getPackageUrl () end
---*  @brief Gets connection time out in seconds
---@return unsigned_int
function AssetsManager:getConnectionTimeout () end
---* 
---@return string
function AssetsManager:getVersion () end
---* 
---@return char
function AssetsManager:getVersionFileUrl () end
---* 
---@return self
function AssetsManager:deleteVersion () end
---* 
---@param packageUrl char
---@param versionFileUrl char
---@param storagePath char
---@param errorCallback function
---@param progressCallback function
---@param successCallback function
---@return self
function AssetsManager:create (packageUrl,versionFileUrl,storagePath,errorCallback,progressCallback,successCallback) end
---* 
---@return self
function AssetsManager:AssetsManager () end