I can get a variable from a ccbi with type “CCNode” when I use CCBReaderLoad, but I cannot use its function, like setVisible, the log says it is a nil value.
after I track the code, I find that there is a bug in the function CCBProxy::getNodeTypeName;
const char* CCBProxy::getNodeTypeName(CCNode* pNode)
{
if (NULL == pNode) {
return NULL;
}
if (NULL != dynamic_cast(pNode)) {
return "CCLabelTTF";
}
...
return "No Support";
}
It doesn’t support CCNode; So, maybe the return value should be “CCNode”.
please fix, thanks
stalendp@gmail.com