private Type typeOf(IntPtr luaState, int idx)
        {
            int num = LuaDLL.luanet_checkudata(luaState, 1, "luaNet_class");

            if (num == -1)
            {
                return(null);
            }
            ProxyType proxyType = (ProxyType)this.objects[num];

            return(proxyType.UnderlyingSystemType);
        }
Exemplo n.º 2
0
 private Type typeOf(IntPtr luaState, int idx)
 {
     int udata = LuaDLL.luanet_checkudata(luaState, 1, "luaNet_class");
     if (udata == -1)
     {
         return null;
     }
     else
     {
         ProxyType pt = (ProxyType)objects[udata];
         return pt.UnderlyingSystemType;
     }
 }
Exemplo n.º 3
0
        private Type typeOf(KopiLua.Lua.lua_State luaState, int idx)
        {
            int udata = LuaDLL.luanet_checkudata(luaState, 1, "luaNet_class");

            if (udata == -1)
            {
                return(null);
            }
            else
            {
                ProxyType pt = (ProxyType)objects[udata];
                return(pt.UnderlyingSystemType);
            }
        }