mirror of
https://github.com/Melledy/Grasscutter.git
synced 2025-02-05 07:58:45 +00:00
Change active forges in player to list.
This commit is contained in:
parent
8db0500e9d
commit
9d6bc2a910
@ -4,7 +4,6 @@ import dev.morphia.annotations.Entity;
|
|||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
public class ActiveForgeData {
|
public class ActiveForgeData {
|
||||||
private int queueId;
|
|
||||||
private int forgeId;
|
private int forgeId;
|
||||||
private int avatarId;
|
private int avatarId;
|
||||||
|
|
||||||
@ -15,13 +14,6 @@ public class ActiveForgeData {
|
|||||||
// private int nextFinishTimestamp;
|
// private int nextFinishTimestamp;
|
||||||
// private int totalFinishTimestamp;
|
// private int totalFinishTimestamp;
|
||||||
|
|
||||||
public int getQueueId() {
|
|
||||||
return this.queueId;
|
|
||||||
}
|
|
||||||
public void setQueueId(int value) {
|
|
||||||
this.queueId = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getForgeId() {
|
public int getForgeId() {
|
||||||
return this.forgeId;
|
return this.forgeId;
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ public class Player {
|
|||||||
private Set<Integer> flyCloakList;
|
private Set<Integer> flyCloakList;
|
||||||
private Set<Integer> costumeList;
|
private Set<Integer> costumeList;
|
||||||
private Set<Integer> unlockedForgingBlueprints;
|
private Set<Integer> unlockedForgingBlueprints;
|
||||||
private Map<Integer, ActiveForgeData> activeForges;
|
private List<ActiveForgeData> activeForges;
|
||||||
|
|
||||||
private Integer widgetId;
|
private Integer widgetId;
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ public class Player {
|
|||||||
this.flyCloakList = new HashSet<>();
|
this.flyCloakList = new HashSet<>();
|
||||||
this.costumeList = new HashSet<>();
|
this.costumeList = new HashSet<>();
|
||||||
this.unlockedForgingBlueprints = new HashSet<>();
|
this.unlockedForgingBlueprints = new HashSet<>();
|
||||||
this.activeForges = new HashMap<>();
|
this.activeForges = new ArrayList<>();
|
||||||
|
|
||||||
this.setSceneId(3);
|
this.setSceneId(3);
|
||||||
this.setRegionId(1);
|
this.setRegionId(1);
|
||||||
@ -529,7 +529,7 @@ public class Player {
|
|||||||
return this.unlockedForgingBlueprints;
|
return this.unlockedForgingBlueprints;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, ActiveForgeData> getActiveForges() {
|
public List<ActiveForgeData> getActiveForges() {
|
||||||
return this.activeForges;
|
return this.activeForges;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user