| | |
| | | using System;
|
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | namespace Snxxz.UI |
| | | { |
| | | [XLua.LuaCallCSharp]
|
| | | public class RankModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk |
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | namespace Snxxz.UI
|
| | | {
|
| | | |
| | | public class RankModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
|
| | | {
|
| | | Dictionary<int, List<RankData>> m_RankDatas = new Dictionary<int, List<RankData>>();
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | |
| | | public int displayRankCount { get; private set; } |
| | |
|
| | | public int displayRankCount { get; private set; }
|
| | | public int jumpRankType { get; set; }
|
| | |
|
| | | readonly ObjectPool<RankData> m_RankDataPool = new ObjectPool<RankData>(OnGetRankData, OnReleaseRankData);
|
| | | |
| | | public event Action selectRankIdRefresh; |
| | | public event Action selectSubRankIdRefresh; |
| | | public event Action<int> onRankRefresh; |
| | | |
| | | public override void Init() |
| | | { |
| | | jumpRankType = -1; |
| | | ParseConfig(); |
| | |
|
| | | public event Action selectRankIdRefresh;
|
| | | public event Action selectSubRankIdRefresh;
|
| | | public event Action<int> onRankRefresh;
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | | jumpRankType = -1;
|
| | | ParseConfig();
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | |
| | | //SendBegRank(RankType.JadeDynastyTower);
|
| | | }
|
| | |
|
| | | public override void UnInit() |
| | | { |
| | | public override void UnInit()
|
| | | {
|
| | | }
|
| | |
|
| | | void ParseConfig()
|
| | |
| | | {
|
| | |
|
| | | }
|
| | | } |
| | | |
| | | }
|
| | |
|
| | | public class RankData
|
| | | {
|
| | | public int type;
|
| | |
| | | public uint cmpValue;
|
| | | public uint cmpValue2;
|
| | | public uint cmpValue3;
|
| | | } |
| | | } |
| | | |
| | | }
|
| | | }
|
| | |
|