Grasscutter/src/main/java/emu/grasscutter/server/packet/send/PacketAskAddFriendRsp.java
2022-04-17 05:43:07 -07:00

19 lines
500 B
Java

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