Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
f556bff3
Commit
f556bff3
authored
Apr 24, 2022
by
Benjamin Elsdon
Browse files
Java-16 compatiable mail system (whoops)
parent
c25e809f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/Mail.java
View file @
f556bff3
package
emu.grasscutter.game
;
import
dev.morphia.annotations.Entity
;
import
java.time.Instant
;
import
java.util.ArrayList
;
import
java.util.List
;
@Entity
public
class
Mail
{
public
int
_id
;
...
...
@@ -52,6 +55,7 @@ public class Mail {
this
.
stateValue
=
state
;
}
@Entity
public
static
class
MailContent
{
public
String
title
;
public
String
content
;
...
...
@@ -78,6 +82,7 @@ public class Mail {
}
}
@Entity
public
static
class
MailItem
{
public
int
itemId
;
public
int
itemCount
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment