| | |
| | | public int[][] doubleTimeArr; |
| | | public int challengeMaxCnt; //挑战次数 |
| | | |
| | | public Action<uint, uint> QueryRaceScoreEvent; // 查询比分 |
| | | |
| | | DungeonModel dungeonModel { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } } |
| | | ServerMirrorFightModel mirrorFightModel { get { return ModelCenter.Instance.GetModel<ServerMirrorFightModel>(); } } |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | public CrossChampionshipPKBattle QueryPKScoreInfoByPlayerID(uint groupMark, uint playerID)
|
| | | { |
| | | if (battleInfo.ContainsKey(groupMark)) |
| | | {
|
| | | var battle = battleInfo[groupMark];
|
| | | var battleNums = battle.Keys.ToList();
|
| | | for (int i = 0; i < battleNums.Count; i++)
|
| | | {
|
| | | var battleNum = battleNums[i];
|
| | | if (battle[battleNum].PlayerIDA == playerID || battle[battleNum].PlayerIDB == playerID)
|
| | | {
|
| | | return battle[battleNum];
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | return new CrossChampionshipPKBattle(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public uint WinnerID; // 胜方ID |