Skip to content

Commit

Permalink
Show shopmall
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao authored and Melledy committed May 1, 2022
1 parent 3cc1139 commit bd56078
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
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);
}
}

0 comments on commit bd56078

Please sign in to comment.