Commit bb342f91 authored by AnimeGitB's avatar AnimeGitB
Browse files

Lombokify and sort GameData

parent 95327248
......@@ -41,7 +41,7 @@ public class CodexReliquaryData extends GameResource {
flowerId = (flowerId/10) * 10;
sandId = (sandId/10) * 10;
GameData.getcodexReliquaryArrayList().add(this);
GameData.getcodexReliquaryIdMap().put(getSuitId(), this);
GameData.getCodexReliquaryArrayList().add(this);
GameData.getCodexReliquaryDataIdMap().put(getSuitId(), this);
}
}
......@@ -18,7 +18,7 @@ public class PacketGetDailyDungeonEntryInfoRsp extends BasePacket {
var resp= GetDailyDungeonEntryInfoRspOuterClass.GetDailyDungeonEntryInfoRsp.newBuilder();
for (var info : GameData.getDungeonEntryDatatMap().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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment