public static int get_ChampionHeroId(IntPtr l) { int result; try { RankingListInfo rankingListInfo = (RankingListInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, rankingListInfo.ChampionHeroId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_Type(IntPtr l) { int result; try { RankingListInfo rankingListInfo = (RankingListInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushEnum(l, (int)rankingListInfo.Type); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { RankingListInfo o = new RankingListInfo(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06012671 RID: 75377 RVA: 0x004B9AF4 File Offset: 0x004B7CF4 public void UpdateRankingListInfo(RankingListInfo rankList) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateRankingListInfoRankingListInfo_hotfix != null) { this.m_UpdateRankingListInfoRankingListInfo_hotfix.call(new object[] { this, rankList }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_cachedRankList = rankList; this.RankListScrollRect.totalCount = rankList.PlayerList.Count; this.RankListScrollRect.RefillCells(0); this.RankListStateCtrl.SetToUIState("Show", false, true); this.UpdateSelfRankInfo(); }
public static int PBRankingListToRankingList_s(IntPtr l) { int result; try { ProRankingListInfo proRankingList; LuaObject.checkType <ProRankingListInfo>(l, 1, out proRankingList); RankingListInfo o = RankingListInfo.PBRankingListToRankingList(proRankingList); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_PlayerList(IntPtr l) { int result; try { RankingListInfo rankingListInfo = (RankingListInfo)LuaObject.checkSelf(l); List <RankingTargetPlayerInfo> playerList; LuaObject.checkType <List <RankingTargetPlayerInfo> >(l, 2, out playerList); rankingListInfo.PlayerList = playerList; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_LastRank(IntPtr l) { int result; try { RankingListInfo rankingListInfo = (RankingListInfo)LuaObject.checkSelf(l); int lastRank; LuaObject.checkType(l, 2, out lastRank); rankingListInfo.LastRank = lastRank; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Type(IntPtr l) { int result; try { RankingListInfo rankingListInfo = (RankingListInfo)LuaObject.checkSelf(l); RankingListType type; LuaObject.checkEnum <RankingListType>(l, 2, out type); rankingListInfo.Type = type; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x0600703A RID: 28730 RVA: 0x001F5D24 File Offset: 0x001F3F24 public void AddSingleHeroRankingListInfoToCache(int heroId, RankingListInfo rankingListInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_AddSingleHeroRankingListInfoToCacheInt32RankingListInfo_hotfix != null) { this.m_AddSingleHeroRankingListInfoToCacheInt32RankingListInfo_hotfix.call(new object[] { this, heroId, rankingListInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_cachedSingleHeroRankListDict[heroId] = new GlobalRankingListComponent.CachedRankingListInfo { m_outDateTime = Timer.m_currTime.AddSeconds(15.0), m_rankingListInfo = rankingListInfo }; base.UpdateLastRankingListQueryTime(RankingListType.SingleHero, Timer.m_currTime); }
public static int GetRankingListInfoByType(IntPtr l) { int result; try { GlobalRankingListComponent globalRankingListComponent = (GlobalRankingListComponent)LuaObject.checkSelf(l); RankingListType rankingType; LuaObject.checkEnum <RankingListType>(l, 2, out rankingType); RankingListInfo rankingListInfoByType = globalRankingListComponent.GetRankingListInfoByType(rankingType); LuaObject.pushValue(l, true); LuaObject.pushValue(l, rankingListInfoByType); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetSingleHeroRankingListInfoByHeroId(IntPtr l) { int result; try { GlobalRankingListComponent globalRankingListComponent = (GlobalRankingListComponent)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); RankingListInfo singleHeroRankingListInfoByHeroId = globalRankingListComponent.GetSingleHeroRankingListInfoByHeroId(heroId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, singleHeroRankingListInfoByHeroId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }