mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-16 07:14:58 +01:00
Index ownerUid in ChallengeHistory
This commit is contained in:
@@ -4,6 +4,7 @@ import org.bson.types.ObjectId;
|
|||||||
|
|
||||||
import dev.morphia.annotations.Entity;
|
import dev.morphia.annotations.Entity;
|
||||||
import dev.morphia.annotations.Id;
|
import dev.morphia.annotations.Id;
|
||||||
|
import dev.morphia.annotations.Indexed;
|
||||||
import emu.lunarcore.LunarRail;
|
import emu.lunarcore.LunarRail;
|
||||||
import emu.lunarcore.game.player.Player;
|
import emu.lunarcore.game.player.Player;
|
||||||
import emu.lunarcore.proto.ChallengeOuterClass.Challenge;
|
import emu.lunarcore.proto.ChallengeOuterClass.Challenge;
|
||||||
@@ -16,7 +17,9 @@ public class ChallengeHistory {
|
|||||||
@Id
|
@Id
|
||||||
private ObjectId id;
|
private ObjectId id;
|
||||||
|
|
||||||
|
@Indexed
|
||||||
private int ownerUid;
|
private int ownerUid;
|
||||||
|
|
||||||
private int challengeId;
|
private int challengeId;
|
||||||
private int takenReward;
|
private int takenReward;
|
||||||
private int stars;
|
private int stars;
|
||||||
|
|||||||
Reference in New Issue
Block a user