|
@@ -138,8 +138,8 @@ public class RankComp {
|
|
|
RankService.ins.updateGameScore(gameType, p1ID, (int)Ra);
|
|
RankService.ins.updateGameScore(gameType, p1ID, (int)Ra);
|
|
|
RankService.ins.updateGameScore(gameType, p2ID, (int)Rb);
|
|
RankService.ins.updateGameScore(gameType, p2ID, (int)Rb);
|
|
|
}
|
|
}
|
|
|
- //单机游戏 FruitMaster:15,WildAttack:14,DuckHunter:13
|
|
|
|
|
- public static List<Integer> singleGameTypes = Arrays.asList(new Integer[]{15, 14, 13});
|
|
|
|
|
|
|
+ //单机游戏 FruitMaster:15,WildAttack:14,DuckHunter:13, MovingTarget:16
|
|
|
|
|
+ public static List<Integer> singleGameTypes = Arrays.asList(new Integer[]{15, 14, 13, 16});
|
|
|
|
|
|
|
|
//上传用户单机游戏分数
|
|
//上传用户单机游戏分数
|
|
|
@SocketMethod(async = true)
|
|
@SocketMethod(async = true)
|
|
@@ -342,7 +342,7 @@ public class RankComp {
|
|
|
RankService.ins.updateSeasonGameScore(gameType, id1 , userId, Ra);
|
|
RankService.ins.updateSeasonGameScore(gameType, id1 , userId, Ra);
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
- List<Integer> allGameTypes = Arrays.asList(new Integer[]{9, 10, 11, 12,13,14,15});
|
|
|
|
|
|
|
+ List<Integer> allGameTypes = Arrays.asList(new Integer[]{9, 10, 11, 12,13,14,15,16});
|
|
|
//获取赛季排行版
|
|
//获取赛季排行版
|
|
|
@SocketMethod(async = true)
|
|
@SocketMethod(async = true)
|
|
|
public void getSeasonRankListByGameType(
|
|
public void getSeasonRankListByGameType(
|