public static int set_EventOnClick(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); Action <GoddessDialogJobButton> value; int num = LuaObject.checkDelegate <Action <GoddessDialogJobButton> >(l, 2, out value); if (num != 0) { if (num == 1) { goddessDialogJobButton.EventOnClick += value; } else if (num == 2) { goddessDialogJobButton.EventOnClick -= 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 { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)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 = goddessDialogJobButton.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 CreateSpineGraphic(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); string assetName; LuaObject.checkType(l, 2, out assetName); float scale; LuaObject.checkType(l, 3, out scale); Vector2 offset; LuaObject.checkType(l, 4, out offset); GameObject parent; LuaObject.checkType <GameObject>(l, 5, out parent); List <ReplaceAnim> replaceAnims; LuaObject.checkType <List <ReplaceAnim> >(l, 6, out replaceAnims); goddessDialogJobButton.m_luaExportHelper.CreateSpineGraphic(assetName, scale, offset, parent, replaceAnims); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_graphic(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, goddessDialogJobButton.m_luaExportHelper.m_graphic); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int OnBindFiledsCompleted(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); goddessDialogJobButton.m_luaExportHelper.OnBindFiledsCompleted(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_Clear(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); goddessDialogJobButton.m_luaExportHelper.__callBase_Clear(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetJobConnectionInfo(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); ConfigDataJobConnectionInfo jobConnectionInfo = goddessDialogJobButton.GetJobConnectionInfo(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, jobConnectionInfo); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_graphic(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); UISpineGraphic graphic; LuaObject.checkType <UISpineGraphic>(l, 2, out graphic); goddessDialogJobButton.m_luaExportHelper.m_graphic = graphic; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_jobConnectionInfo(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); ConfigDataJobConnectionInfo jobConnectionInfo; LuaObject.checkType <ConfigDataJobConnectionInfo>(l, 2, out jobConnectionInfo); goddessDialogJobButton.m_luaExportHelper.m_jobConnectionInfo = jobConnectionInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_descTex(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); Text descTex; LuaObject.checkType <Text>(l, 2, out descTex); goddessDialogJobButton.m_luaExportHelper.m_descTex = descTex; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_armyIconImage(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); Image armyIconImage; LuaObject.checkType <Image>(l, 2, out armyIconImage); goddessDialogJobButton.m_luaExportHelper.m_armyIconImage = armyIconImage; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __clearDele_EventOnClick(IntPtr l) { int result; try { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); GoddessDialogJobButton obj; LuaObject.checkType <GoddessDialogJobButton>(l, 2, out obj); goddessDialogJobButton.m_luaExportHelper.__clearDele_EventOnClick(obj); 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>))) { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)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); goddessDialogJobButton.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>))) { GoddessDialogJobButton goddessDialogJobButton2 = (GoddessDialogJobButton)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase, bool> action2; LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2); goddessDialogJobButton2.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 { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase> action; LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action); goddessDialogJobButton.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 { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); Button button; LuaObject.checkType <Button>(l, 2, out button); string fieldName; LuaObject.checkType(l, 3, out fieldName); goddessDialogJobButton.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 { GoddessDialogJobButton goddessDialogJobButton = (GoddessDialogJobButton)LuaObject.checkSelf(l); string ctrlName; LuaObject.checkType(l, 2, out ctrlName); bool bindNow; LuaObject.checkType(l, 3, out bindNow); goddessDialogJobButton.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }