2012-06-13 02:59:49 +08:00
|
|
|
#include "CCBFileLoader.h"
|
2012-06-01 05:57:13 +08:00
|
|
|
|
2012-09-24 11:47:33 +08:00
|
|
|
|
2012-07-19 17:22:36 +08:00
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
2012-06-01 05:57:13 +08:00
|
|
|
|
|
|
|
#define PROPERTY_CCBFILE "ccbFile"
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
void CCBFileLoader::onHandlePropTypeCCBFile(Node * pNode, Node * pParent, const char * pPropertyName, Node * pCCBFileNode, CCBReader * pCCBReader) {
|
2012-11-26 21:51:05 +08:00
|
|
|
if(strcmp(pPropertyName, PROPERTY_CCBFILE) == 0) {
|
2012-09-17 14:27:17 +08:00
|
|
|
((CCBFile*)pNode)->setCCBFileNode(pCCBFileNode);
|
2012-06-01 05:57:13 +08:00
|
|
|
} else {
|
2013-06-20 14:15:53 +08:00
|
|
|
NodeLoader::onHandlePropTypeCCBFile(pNode, pParent, pPropertyName, pCCBFileNode, pCCBReader);
|
2012-06-01 05:57:13 +08:00
|
|
|
}
|
|
|
|
}
|
2012-07-19 17:22:36 +08:00
|
|
|
|
|
|
|
NS_CC_EXT_END
|