Classes | |
| class | AssetsManager |
| This class is used to auto update resources, such as pictures or scripts. More... | |
| class | AssetsManagerDelegateProtocol |
| This class is the delegate for receving events during update process of AssetsManager. More... | |
| class | AssetsManagerEx |
| This class is used for resources hot update, you can update images or scripts during runtime of the game. More... | |
| class | EventAssetsManagerEx |
| EventAssetsManagerEx is the event class which will be distributed during AssetsManagerEx updating process. More... | |
| class | EventListenerAssetsManagerEx |
| The event listener for receving events during AssetsManagerEx update process. More... | |
| class | Manifest |
| Manifest is an abstraction of the assets list. More... | |
| struct | Manifest::Asset |
| The asset object. More... | |
| struct | Manifest::AssetDiff |
| Object indicate the difference between two Assets. More... | |
Enumerations | |
| enum | ErrorCode { CREATE_FILE, NETWORK, NO_NEW_VERSION, UNCOMPRESS } |
| Error code that can be notified to listener. More... | |
| enum | State { UNCHECKED, PREDOWNLOAD_VERSION, DOWNLOADING_VERSION, VERSION_LOADED, PREDOWNLOAD_MANIFEST, DOWNLOADING_MANIFEST, MANIFEST_LOADED, NEED_UPDATE, UPDATING, UP_TO_DATE, FAIL_TO_UPDATE } |
| Update states. More... | |
| enum | EventCode { ERROR_NO_LOCAL_MANIFEST, ERROR_DOWNLOAD_MANIFEST, ERROR_PARSE_MANIFEST, NEW_VERSION_FOUND, ALREADY_UP_TO_DATE, UPDATE_PROGRESSION, ASSET_UPDATED, ERROR_UPDATING, UPDATE_FINISHED, UPDATE_FAILED, ERROR_DECOMPRESS } |
| Update events code. More... | |
| 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... | |
|
strong |
Error code that can be notified to listener.
|
strong |
Error code that can be notified to listener.
|
strong |
Error code that can be notified to listener.
|
strong |
Update states.
|
strong |
Update states.
|
strong |
Update states.
|
strong |
Update events code.
| Enumerator | |
|---|---|
| ERROR_NO_LOCAL_MANIFEST |
Local manifest not found error. |
| ERROR_DOWNLOAD_MANIFEST |
Remote manifest download failed. |
| ERROR_PARSE_MANIFEST |
Manifest parse failed. |
| NEW_VERSION_FOUND |
New version found. |
| ALREADY_UP_TO_DATE |
Already up to date with the remote resources server. |
| UPDATE_PROGRESSION |
Update progression event. |
| ASSET_UPDATED |
One asset updated event. |
| ERROR_UPDATING |
Error during update process. |
| UPDATE_FINISHED |
Update finished event. |
| UPDATE_FAILED |
Update failed event. |
| ERROR_DECOMPRESS |
Failed to decompress a file event. |
|
strong |
Update events code.
| Enumerator | |
|---|---|
| ERROR_NO_LOCAL_MANIFEST |
Local manifest not found error. |
| ERROR_DOWNLOAD_MANIFEST |
Remote manifest download failed. |
| ERROR_PARSE_MANIFEST |
Manifest parse failed. |
| NEW_VERSION_FOUND |
New version found. |
| ALREADY_UP_TO_DATE |
Already up to date with the remote resources server. |
| UPDATE_PROGRESSION |
Update progression event. |
| ASSET_UPDATED |
One asset updated event. |
| ERROR_UPDATING |
Error during update process. |
| UPDATE_FINISHED |
Update finished event. |
| UPDATE_FAILED |
Update failed event. |
| ERROR_DECOMPRESS |
Failed to decompress a file event. |
|
strong |
Update events code.
| Enumerator | |
|---|---|
| ERROR_NO_LOCAL_MANIFEST |
Local manifest not found error. |
| ERROR_DOWNLOAD_MANIFEST |
Remote manifest download failed. |
| ERROR_PARSE_MANIFEST |
Manifest parse failed. |
| NEW_VERSION_FOUND |
New version found. |
| ALREADY_UP_TO_DATE |
Already up to date with the remote resources server. |
| UPDATE_PROGRESSION |
Update progression event. |
| ASSET_UPDATED |
One asset updated event. |
| ERROR_UPDATING |
Error during update process. |
| UPDATE_FINISHED |
Update finished event. |
| UPDATE_FAILED |
Update failed event. |
| ERROR_DECOMPRESS |
Failed to decompress a file event. |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |