Grasscutter/src/main/java/emu/grasscutter/server/packet/send/PacketAskAddFriendRsp.java
2022-04-26 21:27:35 -07:00

19 lines
494 B
Java

package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.AskAddFriendRspOuterClass.AskAddFriendRsp;
public class PacketAskAddFriendRsp extends BasePacket {
public PacketAskAddFriendRsp(int targetUid) {
super(PacketOpcodes.AskAddFriendRsp);
AskAddFriendRsp proto = AskAddFriendRsp.newBuilder()
.setTargetUid(targetUid)
.build();
this.setData(proto);
}
}