| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(LoadingBackGroundConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 6, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 8, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted); |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "lineId", _g_get_lineId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "icons", _g_get_icons); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jobIntroduce1", _g_get_jobIntroduce1); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jobIntroduce2", _g_get_jobIntroduce2); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "levelLimit", _g_get_levelLimit); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "description", _g_get_description); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_jobIntroduce1(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LoadingBackGroundConfig gen_to_be_invoked = (LoadingBackGroundConfig)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.jobIntroduce1); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_jobIntroduce2(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LoadingBackGroundConfig gen_to_be_invoked = (LoadingBackGroundConfig)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.jobIntroduce2); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_levelLimit(RealStatePtr L) |
| | | { |
| | | try { |