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
bb342f91
Commit
bb342f91
authored
Oct 13, 2022
by
AnimeGitB
Browse files
Lombokify and sort GameData
parent
95327248
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/data/GameData.java
View file @
bb342f91
This diff is collapsed.
Click to expand it.
src/main/java/emu/grasscutter/data/excels/CodexReliquaryData.java
View file @
bb342f91
...
...
@@ -41,7 +41,7 @@ public class CodexReliquaryData extends GameResource {
flowerId
=
(
flowerId
/
10
)
*
10
;
sandId
=
(
sandId
/
10
)
*
10
;
GameData
.
get
c
odexReliquaryArrayList
().
add
(
this
);
GameData
.
get
c
odexReliquaryIdMap
().
put
(
getSuitId
(),
this
);
GameData
.
get
C
odexReliquaryArrayList
().
add
(
this
);
GameData
.
get
C
odexReliquary
Data
IdMap
().
put
(
getSuitId
(),
this
);
}
}
src/main/java/emu/grasscutter/server/packet/send/PacketGetDailyDungeonEntryInfoRsp.java
View file @
bb342f91
...
...
@@ -18,7 +18,7 @@ public class PacketGetDailyDungeonEntryInfoRsp extends BasePacket {
var
resp
=
GetDailyDungeonEntryInfoRspOuterClass
.
GetDailyDungeonEntryInfoRsp
.
newBuilder
();
for
(
var
info
:
GameData
.
getDungeonEntryData
t
Map
().
values
().
parallelStream
().
filter
(
d
->
d
.
getSceneId
()
==
sceneID
).
map
(
this
::
getDungonEntryInfo
).
toList
())
for
(
var
info
:
GameData
.
getDungeonEntryDataMap
().
values
().
parallelStream
().
filter
(
d
->
d
.
getSceneId
()
==
sceneID
).
map
(
this
::
getDungonEntryInfo
).
toList
())
resp
.
addDailyDungeonInfoList
(
info
);
this
.
setData
(
resp
.
build
());
...
...
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