mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 19:01:29 +00:00
20 lines
499 B
Java
20 lines
499 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.ChangeAvatarRspOuterClass.ChangeAvatarRsp;
|
|
|
|
public class PacketChangeAvatarRsp extends GenshinPacket {
|
|
|
|
public PacketChangeAvatarRsp(long guid) {
|
|
super(PacketOpcodes.ChangeAvatarRsp);
|
|
|
|
ChangeAvatarRsp p = ChangeAvatarRsp.newBuilder()
|
|
.setRetcode(0)
|
|
.setCurrGuid(guid)
|
|
.build();
|
|
|
|
this.setData(p);
|
|
}
|
|
}
|