mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Implement honor affinity levels for leaderboards
This commit is contained in:
1 parent
36e8bc1467
commit
9bba6ca7c9
4 files changed
+66
-8
No files matched your search
@@ -20,6 +20,14 @@ public class HonorDef extends BaseDef {
|
||||
public int getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public boolean isCharacterHonor() {
|
||||
return this.Type == 2 && this.Params.length > 0;
|
||||
}
|
||||
|
||||
public int getCharacterId() {
|
||||
return this.Params[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
||||
Reference in new issue
Block a user