2022-07-30 12:24:03 -04:00
|
|
|
#ifndef __CCCONTENT_MANAGER_H__
|
|
|
|
#define __CCCONTENT_MANAGER_H__
|
|
|
|
|
2022-10-17 08:46:36 -04:00
|
|
|
#include "../../include/ccMacros.h"
|
|
|
|
#include "../../cocoa/CCObject.h"
|
|
|
|
#include "../../cocoa/CCDictionary.h"
|
2022-07-30 12:24:03 -04:00
|
|
|
|
|
|
|
|
2024-06-20 08:19:43 -04:00
|
|
|
// not in cocos2d namespace
|
|
|
|
// @note RobTop Addition
|
|
|
|
class CC_DLL CCContentManager : public cocos2d::CCObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static CCContentManager* sharedManager();
|
|
|
|
CCContentManager();
|
|
|
|
bool init();
|
2022-07-30 12:24:03 -04:00
|
|
|
|
2024-06-20 08:19:43 -04:00
|
|
|
cocos2d::CCDictionary* addDict(const char* dict, bool unk);
|
|
|
|
cocos2d::CCDictionary* addDictDS(const char* dict);
|
|
|
|
|
|
|
|
void clearCache();
|
|
|
|
};
|
2022-07-30 12:24:03 -04:00
|
|
|
|
|
|
|
#endif
|