mirror of https://github.com/axmolengine/axmol.git
commit
4895e6d54a
|
@ -130,10 +130,19 @@ char* stExpCocoNode::GetName(CocoLoader* pCoco)
|
|||
|
||||
}
|
||||
|
||||
char* stExpCocoNode::GetValue(CocoLoader* pCoco)
|
||||
{
|
||||
return ( pCoco->GetMemoryAddr_String() + m_szValue );
|
||||
}
|
||||
char* stExpCocoNode::GetValue(CocoLoader* pCoco)
|
||||
{
|
||||
char* szValue = ( pCoco->GetMemoryAddr_String() + m_szValue );
|
||||
if(GetType(pCoco) == kStringType )
|
||||
{
|
||||
if(szValue && 0==strcmp(szValue,"null"))
|
||||
{
|
||||
strcpy(szValue,"");
|
||||
}
|
||||
}
|
||||
return szValue;
|
||||
}
|
||||
|
||||
|
||||
int stExpCocoNode::GetChildNum()
|
||||
{
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 6b28e948482ca7ed44c31daf3fef2e42ad6b59fb
|
||||
Subproject commit c307f62357e42d2e7e671f4741f855dc8a5fde3a
|
Loading…
Reference in New Issue