LuaInterface.ObjectTranslator.ObjectTranslator C# (CSharp) Method

ObjectTranslator() public method

public ObjectTranslator ( LuaInterface.Lua interpreter, IntPtr luaState ) : System
interpreter LuaInterface.Lua
luaState System.IntPtr
return System
        public ObjectTranslator(Lua interpreter,IntPtr luaState)
        {
            this.interpreter=interpreter;
            typeChecker=new CheckType(this);
            metaFunctions=new MetaFunctions(this);
            assemblies=new List<Assembly>();

            importTypeFunction=new LuaCSFunction(this.importType);
            loadAssemblyFunction=new LuaCSFunction(this.loadAssembly);
            registerTableFunction=new LuaCSFunction(this.registerTable);
            unregisterTableFunction=new LuaCSFunction(this.unregisterTable);
            getMethodSigFunction=new LuaCSFunction(this.getMethodSignature);
            getConstructorSigFunction=new LuaCSFunction(this.getConstructorSignature);

            ctypeFunction = new LuaCSFunction(this.ctype);
            enumFromIntFunction = new LuaCSFunction(this.enumFromInt);

            createLuaObjectList(luaState);
            createIndexingMetaFunction(luaState);
            createBaseClassMetatable(luaState);
            createClassMetatable(luaState);
            createFunctionMetatable(luaState);
            setGlobalFunctions(luaState);
        }