static int _m_DestoryUi(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.UiMgr gen_to_be_invoked = (Casinos.UiMgr)translator.FastGetCSObj(L, 1); { Casinos.UiBase _ui = (Casinos.UiBase)translator.GetObject(L, 2, typeof(Casinos.UiBase)); gen_to_be_invoked.DestoryUi(_ui); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_GetUi(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Casinos.UiMgr gen_to_be_invoked = (Casinos.UiMgr)translator.FastGetCSObj(L, 1); { string _name = LuaAPI.lua_tostring(L, 2); Casinos.UiBase gen_ret = gen_to_be_invoked.GetUi(_name); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }