mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-22 16:19:51 +08:00
[BREAKING CHANGE] proto auto compiled by gradle (#226)
* [BREAK] proto auto compiled by gradle * [BREAK] move proto to submodule * update gitmodules * [BREAK] move proto to submodule * move proto to submodule * fix merge conflict * fix github action after merging * fix merge conflicts and del submodule * upload the proto
This commit is contained in:
committed by
GitHub
Unverified
parent
30d4fec9d4
commit
b392849577
@@ -3,6 +3,7 @@ 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;
|
||||
import emu.grasscutter.net.proto.RetcodeOuterClass;
|
||||
|
||||
public class PacketChangeAvatarRsp extends GenshinPacket {
|
||||
|
||||
@@ -10,8 +11,8 @@ public class PacketChangeAvatarRsp extends GenshinPacket {
|
||||
super(PacketOpcodes.ChangeAvatarRsp);
|
||||
|
||||
ChangeAvatarRsp p = ChangeAvatarRsp.newBuilder()
|
||||
.setRetcode(0)
|
||||
.setCurrGuid(guid)
|
||||
.setRetcode(RetcodeOuterClass.Retcode.RET_SVR_ERROR_VALUE)
|
||||
.setCurGuid(guid)
|
||||
.build();
|
||||
|
||||
this.setData(p);
|
||||
|
||||
Reference in New Issue
Block a user