public static int set_EventOnItemBuyButtonClick(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Action <int> value; int num = LuaObject.checkDelegate <Action <int> >(l, 2, out value); if (num != 0) { if (num == 1) { worldMonthCardItemUIController.EventOnItemBuyButtonClick += value; } else if (num == 2) { worldMonthCardItemUIController.EventOnItemBuyButtonClick -= value; } } LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_BindFieldImpl(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Type fieldType; LuaObject.checkType(l, 2, out fieldType); string path; LuaObject.checkType(l, 3, out path); AutoBindAttribute.InitState initState; LuaObject.checkEnum <AutoBindAttribute.InitState>(l, 4, out initState); string fieldName; LuaObject.checkType(l, 5, out fieldName); string ctrlName; LuaObject.checkType(l, 6, out ctrlName); bool optional; LuaObject.checkType(l, 7, out optional); UnityEngine.Object o = worldMonthCardItemUIController.m_luaExportHelper.__callBase_BindFieldImpl(fieldType, path, initState, fieldName, ctrlName, optional); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int OnItemButtonClick(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); worldMonthCardItemUIController.m_luaExportHelper.OnItemButtonClick(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_CardId(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, worldMonthCardItemUIController.CardId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_remainTimeText(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, worldMonthCardItemUIController.m_luaExportHelper.m_remainTimeText); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_OnBindFiledsCompleted(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); worldMonthCardItemUIController.m_luaExportHelper.__callBase_OnBindFiledsCompleted(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_ToString(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string s = worldMonthCardItemUIController.m_luaExportHelper.__callBase_ToString(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, s); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_nameText(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Text nameText; LuaObject.checkType <Text>(l, 2, out nameText); worldMonthCardItemUIController.m_luaExportHelper.m_nameText = nameText; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_buyButton(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Button buyButton; LuaObject.checkType <Button>(l, 2, out buyButton); worldMonthCardItemUIController.m_luaExportHelper.m_buyButton = buyButton; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_iconImage(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Image iconImage; LuaObject.checkType <Image>(l, 2, out iconImage); worldMonthCardItemUIController.m_luaExportHelper.m_iconImage = iconImage; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int UpdateRemainTime(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string time; LuaObject.checkType(l, 2, out time); worldMonthCardItemUIController.UpdateRemainTime(time); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_SetToggleValueChangedListener(IntPtr l) { int result; try { int total = LuaDLL.lua_gettop(l); if (LuaObject.matchType(l, total, 2, typeof(string[]), typeof(Action <UIControllerBase, bool>))) { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string[] fieldNames; LuaObject.checkArray <string>(l, 2, out fieldNames); Action <UIControllerBase, bool> action; LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action); worldMonthCardItemUIController.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldNames, action); LuaObject.pushValue(l, true); result = 1; } else if (LuaObject.matchType(l, total, 2, typeof(string), typeof(Action <UIControllerBase, bool>))) { WorldMonthCardItemUIController worldMonthCardItemUIController2 = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase, bool> action2; LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2); worldMonthCardItemUIController2.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldName, action2); LuaObject.pushValue(l, true); result = 1; } else { LuaObject.pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function __callBase_SetToggleValueChangedListener to call"); result = 2; } } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_SetButtonLongPressEndListener(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase> action; LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action); worldMonthCardItemUIController.m_luaExportHelper.__callBase_SetButtonLongPressEndListener(fieldName, action); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_OnButtonClick(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); Button button; LuaObject.checkType <Button>(l, 2, out button); string fieldName; LuaObject.checkType(l, 3, out fieldName); worldMonthCardItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_Initlize(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); string ctrlName; LuaObject.checkType(l, 2, out ctrlName); bool bindNow; LuaObject.checkType(l, 3, out bindNow); worldMonthCardItemUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int UpdateItemInfo(IntPtr l) { int result; try { WorldMonthCardItemUIController worldMonthCardItemUIController = (WorldMonthCardItemUIController)LuaObject.checkSelf(l); int cardId; LuaObject.checkType(l, 2, out cardId); string iconName; LuaObject.checkType(l, 3, out iconName); string titleName; LuaObject.checkType(l, 4, out titleName); worldMonthCardItemUIController.UpdateItemInfo(cardId, iconName, titleName); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }