cocos2d-x  3.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CocosPlayClient.h File Reference
#include <string>

Namespaces

 cocosplay
 

Functions

void  ()
bool  ()
 Checks whether CocosPlay is enabled. More...
 
bool  ()
 Checks whether CocosPlay is in demo mode. More...
 
void  (const std::string &filePath)
 Updates assets by filePath, if the file doesn't exist, CocosPlay will show a progress page of downloading. More...
 
bool  (const std::string &filePath)
 Checks whether the file exists. More...
 
void  (const std::string &filePath)
 Notifies to Cocos Play SDK that a file was loaded It will do nothing if game doesn't run on Cocos Play. More...
 
std::string  ()
 Gets the resource root path of current game. More...
 
void  ()
 Purges the file searching cache. More...
 
void  (const std::string &filePath)
 Purges the file searching cache by giving file path. More...
 
void  ()
 Notifies that the game demo was ended. More...