mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-28 02:41:46 +00:00
Java-16 compatiable mail system (whoops)
This commit is contained in:
parent
9e81e10e64
commit
b10a889d76
@ -1,9 +1,12 @@
|
|||||||
package emu.grasscutter.game;
|
package emu.grasscutter.game;
|
||||||
|
|
||||||
|
import dev.morphia.annotations.Entity;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@Entity
|
||||||
public class Mail {
|
public class Mail {
|
||||||
|
|
||||||
public int _id;
|
public int _id;
|
||||||
@ -52,6 +55,7 @@ public class Mail {
|
|||||||
this.stateValue = state;
|
this.stateValue = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Entity
|
||||||
public static class MailContent {
|
public static class MailContent {
|
||||||
public String title;
|
public String title;
|
||||||
public String content;
|
public String content;
|
||||||
@ -78,6 +82,7 @@ public class Mail {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Entity
|
||||||
public static class MailItem {
|
public static class MailItem {
|
||||||
public int itemId;
|
public int itemId;
|
||||||
public int itemCount;
|
public int itemCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user