Manifest is an abstraction of the assets list. More...
Inherits Ref.
Classes | |
| struct | Asset |
| The asset object. More... | |
| struct | AssetDiff |
| Object indicate the difference between two Assets. More... | |
Public Types | |
| enum | DiffType { ADDED, DELETED, MODIFIED } |
| Type of difference between local and remote asset. More... | |
| enum | DownloadState { UNSTARTED, DOWNLOADING, SUCCESSED } |
| Download state of a updating asset. More... | |
Public Member Functions | |
| bool | isVersionLoaded () const |
| Check whether the version informations have been fully loaded The version informations have been loaded or not. | |
| bool | isLoaded () const |
| Check whether the manifest have been fully loaded The manifest have been loaded or not. | |
| const std::string & | getPackageUrl () const |
| Gets remote package url. More... | |
| local | getPackageUrl () |
| Gets remote package url. More... | |
| const std::string & | getManifestFileUrl () const |
| Gets remote manifest file url. More... | |
| const std::string & | getVersionFileUrl () const |
| Gets remote version file url. More... | |
| local | getVersionFileUrl () |
| Gets remote version file url. More... | |
| const std::string & | getVersion () const |
| Gets manifest version. More... | |
| local | getVersion () |
| Gets manifest version. More... | |
| std::vector< std::string > | getSearchPaths () const |
| Get the search paths list related to the Manifest. More... | |
| local | getSearchPaths () |
| Get the search paths list related to the Manifest. More... | |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| local | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| local | getReferenceCount () |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID | |
| local | _ID |
| object id, ScriptSupport need public _ID | |
| int | _luaID |
| Lua reference id. | |
| local | _luaID |
| Lua reference id. | |
| void * | _scriptObject |
| scriptObject, support for swift | |
| local | _scriptObject |
| scriptObject, support for swift | |
| bool | _rooted |
| When true, it means that the object was already rooted. | |
| local | _rooted |
| When true, it means that the object was already rooted. | |
| bool | _scriptOwned |
| The life of the object is scrolled by the scripting engine. More... | |
| local | _scriptOwned |
| The life of the object is scrolled by the scripting engine. More... | |
Manifest is an abstraction of the assets list.
It's initialized and parsed with a manifest file. It contains all defined assets, and can be compared to generate difference between local and remote manifest.
| const std::string& getPackageUrl | ( | ) | const |
Gets remote package url.
The remote package url
| var getPackageUrl | ( | ) |
Gets remote package url.
The remote package url
| local getPackageUrl | ( | ) |
Gets remote package url.
The remote package url
| const std::string& getManifestFileUrl |
( | ) | const |
Gets remote manifest file url.
The remote manifest file url
| var getManifestFileUrl | ( | ) |
Gets remote manifest file url.
The remote manifest file url
| local getManifestFileUrl | ( | ) |
Gets remote manifest file url.
The remote manifest file url
| const std::string& getVersionFileUrl |
( | ) | const |
Gets remote version file url.
The remote version file url
| var getVersionFileUrl | ( | ) |
Gets remote version file url.
The remote version file url
| local getVersionFileUrl | ( | ) |
Gets remote version file url.
The remote version file url
| const std::string& getVersion | ( | ) | const |
Gets manifest version.
The manifest version
| var getVersion | ( | ) |
Gets manifest version.
The manifest version
| local getVersion | ( | ) |
Gets manifest version.
The manifest version
| std::vector<std::string> getSearchPaths |
( | ) | const |
Get the search paths list related to the Manifest.
The search paths
| var getSearchPaths | ( | ) |
Get the search paths list related to the Manifest.
The search paths
| local getSearchPaths | ( | ) |
Get the search paths list related to the Manifest.
The search paths