open source

This commit is contained in:
lvfulong
2020-11-11 16:17:13 +08:00
parent 4d989f3ecb
commit bc4ca748de
2441 changed files with 623057 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
/**
@file jsobjbase.cpp
@brief
@author James
@version 1.0
@date 2019_8_24
*/
#include "JSObjBase.h"
namespace laya
{
unsigned int gnJSClsID = 1;
JsObjClassInfo JSObjNode::JSCLSINFO = { "JSObjNode",NULL,0 };
JCSimpList* JSObjNode::s_pListJSObj = NULL;
JSObjNode::JSObjNode()
{
if (s_pListJSObj)
{
s_pListJSObj->push_back(this);
}
m_pClsInfo = &JSObjNode::JSCLSINFO;
}
JSObjNode::~JSObjNode()
{
if (s_pListJSObj)
{
s_pListJSObj->delNode(this);
}
}
}
//-----------------------------END FILE--------------------------------