公会副本排行榜
parent
41d73df618
commit
ec758ee011
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue