Commit bd560785 authored by xtaodada's avatar xtaodada Committed by Melledy
Browse files

Show shopmall

parent 3cc1139a
...@@ -4,13 +4,19 @@ import emu.grasscutter.net.packet.BasePacket; ...@@ -4,13 +4,19 @@ import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes; import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.GetShopmallDataRspOuterClass.GetShopmallDataRsp; import emu.grasscutter.net.proto.GetShopmallDataRspOuterClass.GetShopmallDataRsp;
import java.util.List;
public class PacketGetShopmallDataRsp extends BasePacket { public class PacketGetShopmallDataRsp extends BasePacket {
public PacketGetShopmallDataRsp() { public PacketGetShopmallDataRsp() {
super(PacketOpcodes.GetShopmallDataRsp); super(PacketOpcodes.GetShopmallDataRsp);
GetShopmallDataRsp proto = GetShopmallDataRsp.newBuilder().build(); List<Integer> shop_malls = List.of(900, 1052, 902, 1001, 903);
GetShopmallDataRsp proto = GetShopmallDataRsp.newBuilder()
.addAllShopTypeList(shop_malls)
.build();
this.setData(proto); this.setData(proto);
} }
} }
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