static int _m_GetEntryData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.ZipReader gen_to_be_invoked = (FairyGUI.Utils.ZipReader)translator.FastGetCSObj(L, 1); { FairyGUI.Utils.ZipReader.ZipEntry _entry = (FairyGUI.Utils.ZipReader.ZipEntry)translator.GetObject(L, 2, typeof(FairyGUI.Utils.ZipReader.ZipEntry)); byte[] gen_ret = gen_to_be_invoked.GetEntryData( _entry); LuaAPI.lua_pushstring(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _g_get_name(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.ZipReader.ZipEntry gen_to_be_invoked = (FairyGUI.Utils.ZipReader.ZipEntry)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.name); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_isDirectory(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.Utils.ZipReader.ZipEntry gen_to_be_invoked = (FairyGUI.Utils.ZipReader.ZipEntry)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isDirectory = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.Utils.ZipReader.ZipEntry gen_ret = new FairyGUI.Utils.ZipReader.ZipEntry(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.Utils.ZipReader.ZipEntry constructor!")); }