public static int __callBase_BindFieldImpl(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)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 = arenaDefendMapUIController.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 HideStagePositions(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); arenaDefendMapUIController.HideStagePositions(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_arenaDefendBattle(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, arenaDefendMapUIController.m_luaExportHelper.m_arenaDefendBattle); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_Clear(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); arenaDefendMapUIController.m_luaExportHelper.__callBase_Clear(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int OnBindFiledsCompleted(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); arenaDefendMapUIController.m_luaExportHelper.OnBindFiledsCompleted(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_prefabsGameObject(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); GameObject prefabsGameObject; LuaObject.checkType <GameObject>(l, 2, out prefabsGameObject); arenaDefendMapUIController.m_luaExportHelper.m_prefabsGameObject = prefabsGameObject; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ShowStageAttackerPosition(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); GridPosition pos; LuaObject.checkValueType <GridPosition>(l, 2, out pos); arenaDefendMapUIController.ShowStageAttackerPosition(pos); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_stagePosition1Pool(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); GameObjectPool stagePosition1Pool; LuaObject.checkType <GameObjectPool>(l, 2, out stagePosition1Pool); arenaDefendMapUIController.m_luaExportHelper.m_stagePosition1Pool = stagePosition1Pool; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Initialize(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); ArenaDefendBattle battle; LuaObject.checkType <ArenaDefendBattle>(l, 2, out battle); arenaDefendMapUIController.Initialize(battle); 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>))) { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)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); arenaDefendMapUIController.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>))) { ArenaDefendMapUIController arenaDefendMapUIController2 = (ArenaDefendMapUIController)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase, bool> action2; LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2); arenaDefendMapUIController2.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 StagePositionToWorldPosition(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); GridPosition pos; LuaObject.checkValueType <GridPosition>(l, 2, out pos); Vector3 o = arenaDefendMapUIController.m_luaExportHelper.StagePositionToWorldPosition(pos); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_SetButtonLongPressEndListener(IntPtr l) { int result; try { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); string fieldName; LuaObject.checkType(l, 2, out fieldName); Action <UIControllerBase> action; LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action); arenaDefendMapUIController.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 { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); Button button; LuaObject.checkType <Button>(l, 2, out button); string fieldName; LuaObject.checkType(l, 3, out fieldName); arenaDefendMapUIController.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 { ArenaDefendMapUIController arenaDefendMapUIController = (ArenaDefendMapUIController)LuaObject.checkSelf(l); string ctrlName; LuaObject.checkType(l, 2, out ctrlName); bool bindNow; LuaObject.checkType(l, 3, out bindNow); arenaDefendMapUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }