公会副本排行榜

back_recharge
lvxinran 2020-08-19 09:58:33 +08:00
parent 41d73df618
commit ec758ee011
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
package com.ljsd.jieling.logic.rank.rankImpl;
/**
* @author lvxinran
* @date 2020/8/22
* @discribe
*/
public class GuildChallengeRank extends AbstractRank {
public GuildChallengeRank(int type, String redisKey) {
super(type, redisKey);
}
@Override
public long[] getDataByScore(Double score) {
return new long[]{score.longValue()};
}
@Override
public double getScore(double... data) {
return data[0];
}
}