cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AssetsManagerDelegateProtocol Class Reference

#include <AssetsManager.h>

Public Member Functions

virtual ~AssetsManagerDelegateProtocol ()
virtual void onError (AssetsManager::ErrorCode errorCode)
virtual void onProgress (int percent)
 Call back function for recording downloading percent. More...
 
virtual void onSuccess ()
 Call back function for success. More...
 

Constructor & Destructor Documentation

virtual
~AssetsManagerDelegateProtocol
( )
inlinevirtual

Member Function Documentation

virtual void onError ( AssetsManager::ErrorCode  errorCode)
inlinevirtual
virtual void onProgress ( int  percent)
inlinevirtual

Call back function for recording downloading percent.

Parameters
percentHow much percent downloaded
Warning
This call back function just for recording downloading percent. AssetsManager will do some other thing after downloading, you should write code in onSuccess() after downloading.
virtual void onSuccess ( )
inlinevirtual

Call back function for success.


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