mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-19 08:59: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
627a2f1ee8
commit
addfb5eb5d
@@ -3,13 +3,14 @@ package emu.grasscutter.server.packet.send;
|
||||
import emu.grasscutter.net.packet.GenshinPacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp;
|
||||
import emu.grasscutter.net.proto.RetcodeOuterClass;
|
||||
|
||||
public class PacketGetAuthkeyRsp extends GenshinPacket {
|
||||
|
||||
public PacketGetAuthkeyRsp() {
|
||||
super(PacketOpcodes.GetAuthkeyRsp);
|
||||
|
||||
GetAuthkeyRsp proto = GetAuthkeyRsp.newBuilder().setRetcode(1).build();
|
||||
GetAuthkeyRsp proto = GetAuthkeyRsp.newBuilder().setRetcode(RetcodeOuterClass.Retcode.RET_SVR_ERROR_VALUE).build();
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user