public Script() {
m_Null = new ScriptNull(this);
m_True = new ScriptBoolean(this, true);
m_False = new ScriptBoolean(this, false);
m_GlobalTable = CreateTable();
m_GlobalTable.SetValue(GLOBAL_TABLE, m_GlobalTable);
m_GlobalTable.SetValue(GLOBAL_VERSION, CreateString(Version));
m_GlobalTable.SetValue(GLOBAL_SCRIPT, CreateObject(this));
PushAssembly(typeof(object).GetTypeInfo().Assembly); //mscorlib.dll
PushAssembly(typeof(System.Net.Sockets.Socket).GetTypeInfo().Assembly); //System.dll
PushAssembly(GetType().GetTypeInfo().Assembly); //当前所在的程序集
}
public void LoadLibrary() {