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

#include <AssetsManager.h>

Public Member Functions

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...
 

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 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: