static int _m_LoadFromCache(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ObjCachePoolMgr __cl_gen_to_be_invoked = (xc.ObjCachePoolMgr)translator.FastGetCSObj(L, 1); try { { xc.ObjCachePoolType poolType; translator.Get(L, 2, out poolType); string poolKey = LuaAPI.lua_tostring(L, 3); object __cl_gen_ret = __cl_gen_to_be_invoked.LoadFromCache(poolType, poolKey); translator.PushAny(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }