Cocos2d-x  v3.12
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
AssetsManagerDelegateProtocol Class Reference

This class is the delegate for receving events during update process of AssetsManager. More...

Public Member Functions

virtual void onProgress (int percent)
 Call back function for recording downloading percent How much percent downloaded This call back function just for recording downloading percent. More...
 
virtual void onSuccess ()
 Call back function for success.
 

Detailed Description

This class is the delegate for receving events during update process of AssetsManager.

Member Function Documentation

virtual void onProgress ( int  percent)
inlinevirtual

Call back function for recording downloading percent How much percent downloaded This call back function just for recording downloading percent.

AssetsManager will do some other thing after downloading, if you want to manipulate the downloaded files, you should write code in onSuccess() after downloading.


The documentation for this class was generated from the following file: