mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-04 09:15:07 +01:00
Whitespace
This commit is contained in:
@@ -15,6 +15,5 @@ public class HandlerHomeModuleSeenReq extends PacketHandler {
|
|||||||
var seen = req.getSeenModuleIdListList();
|
var seen = req.getSeenModuleIdListList();
|
||||||
// TODO: Make 'seen' status persist
|
// TODO: Make 'seen' status persist
|
||||||
session.send(new PacketHomeModuleSeenRsp(seen));
|
session.send(new PacketHomeModuleSeenRsp(seen));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ import emu.grasscutter.net.packet.PacketOpcodes;
|
|||||||
import emu.grasscutter.net.proto.HomeModuleSeenRspOuterClass.HomeModuleSeenRsp;
|
import emu.grasscutter.net.proto.HomeModuleSeenRspOuterClass.HomeModuleSeenRsp;
|
||||||
|
|
||||||
public class PacketHomeModuleSeenRsp extends BasePacket {
|
public class PacketHomeModuleSeenRsp extends BasePacket {
|
||||||
|
|
||||||
public PacketHomeModuleSeenRsp(List<Integer> seen) {
|
public PacketHomeModuleSeenRsp(List<Integer> seen) {
|
||||||
super(PacketOpcodes.HomeModuleSeenRsp);
|
super(PacketOpcodes.HomeModuleSeenRsp);
|
||||||
|
|
||||||
HomeModuleSeenRsp proto = HomeModuleSeenRsp.newBuilder()
|
HomeModuleSeenRsp proto = HomeModuleSeenRsp.newBuilder()
|
||||||
.addAllSeenModuleIdList(seen)
|
.addAllSeenModuleIdList(seen)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
this.setData(proto);
|
this.setData(proto);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user