mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-24 00:11:31 +00:00
Show shopmall
This commit is contained in:
parent
29c95cb1b6
commit
6d96906484
@ -4,12 +4,18 @@ import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.GetShopmallDataRspOuterClass.GetShopmallDataRsp;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class PacketGetShopmallDataRsp extends BasePacket {
|
||||
|
||||
public PacketGetShopmallDataRsp() {
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user