| | |
| | |
|
| | | public int DayPKCount { get; private set; } // 当日已PK次数
|
| | |
|
| | | public int DayWinCount { get; private set;} //当日胜利次数
|
| | |
|
| | | public int DayBuyCount { get; private set; } // 当日已购买次数
|
| | |
|
| | | CrossServerModel crossServerModel { get { return ModelCenter.Instance.GetModel<CrossServerModel>(); } }
|
| | | public event Action UpdatePlayerInfoEvent;
|
| | |
|
| | | public void InitData()
|
| | | {
|
| | |
| | | CWinCount = 0;
|
| | | DayPKCount = 0;
|
| | | DayBuyCount = 0;
|
| | | DayWinCount = 0;
|
| | | }
|
| | |
|
| | | public void UpdatePlayerInfo(HC101_tagMCCrossRealmPKPlayerInfo playerInfo)
|
| | |
| | | this.CWinCount = playerInfo.CWinCount;
|
| | | this.DayPKCount = playerInfo.DayPKCount;
|
| | | this.DayBuyCount = playerInfo.DayBuyCount;
|
| | | if(UpdatePlayerInfoEvent != null)
|
| | | {
|
| | | UpdatePlayerInfoEvent();
|
| | | }
|
| | | }
|
| | |
|
| | | public bool TryGetMaxRank(out int upScore)
|