| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(EquipWashModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 32, 23, 6); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 33, 24, 6); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurWashModel", _m_SetCurWashModel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshModel", _m_ReFreshModel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetModelOrder", _m_SetModelOrder); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIsPutOn", _m_CompareByIsPutOn); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups3", _g_get_washGroups3); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWashUI", _g_get_isWashUI); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isMustAddAttr", _g_get_isMustAddAttr); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "curWashEquip", _g_get_curWashEquip); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "mustWashMatId", _g_get_mustWashMatId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washPlacelist", _g_get_washPlacelist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washProlist", _g_get_washProlist); |
| | |
| | | { |
| | | |
| | | gen_to_be_invoked.OnPlayerLoginOk( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SetCurWashModel(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _index = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | gen_to_be_invoked.SetCurWashModel( _index ); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_curWashEquip(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.curWashEquip); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_mustWashMatId(RealStatePtr L) |
| | | { |
| | | try { |