Lombokify and sort GameData

This commit is contained in:
AnimeGitB
2022-10-13 14:53:05 +10:30
parent 953272489d
commit bb342f9114
3 changed files with 97 additions and 353 deletions

View File

@@ -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());