public static int SetSuccessThearchyTrialLevel(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); ConfigDataThearchyTrialLevelInfo levelInfo; LuaObject.checkType <ConfigDataThearchyTrialLevelInfo>(l, 2, out levelInfo); List <int> battleTreasures; LuaObject.checkType <List <int> >(l, 3, out battleTreasures); List <int> heroes; LuaObject.checkType <List <int> >(l, 4, out heroes); bool isTeamBattle; LuaObject.checkType(l, 5, out isTeamBattle); thearchyTrialComponent.SetSuccessThearchyTrialLevel(levelInfo, battleTreasures, heroes, isTeamBattle); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_SetCommonSuccessThearchyTrialLevel(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); ConfigDataThearchyTrialLevelInfo levelInfo; LuaObject.checkType <ConfigDataThearchyTrialLevelInfo>(l, 2, out levelInfo); List <int> battleTreasures; LuaObject.checkType <List <int> >(l, 3, out battleTreasures); List <int> heroes; LuaObject.checkType <List <int> >(l, 4, out heroes); int energyCost; LuaObject.checkType(l, 5, out energyCost); bool isBattleTeam; LuaObject.checkType(l, 6, out isBattleTeam); thearchyTrialComponent.m_luaExportHelper.__callBase_SetCommonSuccessThearchyTrialLevel(levelInfo, battleTreasures, heroes, energyCost, isBattleTeam); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ThearchyTrialComponent o = new ThearchyTrialComponent(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int DeInit(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); thearchyTrialComponent.DeInit(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_PostDeSerialize(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); thearchyTrialComponent.m_luaExportHelper.__callBase_PostDeSerialize(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetDailyChallengNums(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int i = thearchyTrialComponent.m_luaExportHelper.__callBase_GetDailyChallengNums(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetDSVersion(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); ushort dsversion = thearchyTrialComponent.GetDSVersion(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dsversion); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetAllUnlockedLevels(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); List <int> o = thearchyTrialComponent.m_luaExportHelper.__callBase_GetAllUnlockedLevels(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetCurrentTicketNums(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int currentTicketNums = thearchyTrialComponent.GetCurrentTicketNums(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, currentTicketNums); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_Tick(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); uint deltaMillisecond; LuaObject.checkType(l, 2, out deltaMillisecond); thearchyTrialComponent.m_luaExportHelper.__callBase_Tick(deltaMillisecond); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int DeSerialize(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); DSThearchyTrialNtf msg; LuaObject.checkType <DSThearchyTrialNtf>(l, 2, out msg); thearchyTrialComponent.DeSerialize(msg); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_AddChallengedNums(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int nums; LuaObject.checkType(l, 2, out nums); thearchyTrialComponent.m_luaExportHelper.__callBase_AddChallengedNums(nums); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_IsLevelUnlocked(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int levelId; LuaObject.checkType(l, 2, out levelId); bool b = thearchyTrialComponent.m_luaExportHelper.__callBase_IsLevelUnlocked(levelId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsThearchyLevelOpened(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int levelId; LuaObject.checkType(l, 2, out levelId); bool b = thearchyTrialComponent.IsThearchyLevelOpened(levelId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_CanAttackLevelByEnergyAndSoOn(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); ConfigDataThearchyTrialLevelInfo levelInfo; LuaObject.checkType <ConfigDataThearchyTrialLevelInfo>(l, 2, out levelInfo); bool isTeamBattle; LuaObject.checkType(l, 3, out isTeamBattle); int i = thearchyTrialComponent.m_luaExportHelper.__callBase_CanAttackLevelByEnergyAndSoOn(levelInfo, isTeamBattle); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FinishedThearchyTrialLevel(IntPtr l) { int result; try { ThearchyTrialComponent thearchyTrialComponent = (ThearchyTrialComponent)LuaObject.checkSelf(l); int levelId; LuaObject.checkType(l, 2, out levelId); bool isWin; LuaObject.checkType(l, 3, out isWin); List <int> battleTreasures; LuaObject.checkType <List <int> >(l, 4, out battleTreasures); int i = thearchyTrialComponent.FinishedThearchyTrialLevel(levelId, isWin, battleTreasures); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x060077AD RID: 30637 RVA: 0x0020A81C File Offset: 0x00208A1C public LuaExportHelper(ThearchyTrialComponent owner) { this.m_owner = owner; }