| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ChatCenter); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 24, 16, 10); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 24, 17, 10); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "chatCharacterLimit", _g_get_chatCharacterLimit); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "bugleItem", _g_get_bugleItem); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "beforeDungeon", _g_get_beforeDungeon); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "chatChannels", _g_get_chatChannels); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "chatInputLength", _g_get_chatInputLength); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "voicePlaying", _g_get_voicePlaying); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_beforeDungeon(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ChatCenter gen_to_be_invoked = (Snxxz.UI.ChatCenter)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.beforeDungeon); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_chatChannels(RealStatePtr L) |
| | | { |
| | | try { |