| | |
| | | this.DayPKCount = playerInfo.DayPKCount;
|
| | | this.DayBuyCount = playerInfo.DayBuyCount;
|
| | | this.DayWinCount = playerInfo.DayWinCount;
|
| | | crossServerModel.UpdateCrossArenaRedpoint();
|
| | | crossServerModel.UpdateCrossDayAwardsRedpoint();
|
| | | if (UpdatePlayerInfoEvent != null)
|
| | | {
|
| | | UpdatePlayerInfoEvent();
|
| | |
| | |
|
| | | public int GetDayRemainNum()
|
| | | {
|
| | | return DayBuyCount + crossServerModel.freeMaxMatchNum - DayPKCount;
|
| | | int remainNum = DayBuyCount + crossServerModel.freeMaxMatchNum - DayPKCount;
|
| | | return remainNum > 0 ? remainNum : 0;
|
| | | }
|
| | |
|
| | | public int GetDayRemainBuyNum()
|
| | | {
|
| | | return crossServerModel.buyMaxMatchNum - DayBuyCount;
|
| | | int remainNum = crossServerModel.buyMaxMatchNum - DayBuyCount;
|
| | | return remainNum > 0 ? remainNum : 0;
|
| | | }
|
| | |
|
| | | public string DisplayWinningRate()
|