mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 10:33:34 +08:00
Add new protocol definitions
This commit is contained in:
+86
-86
@@ -19,27 +19,27 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 client_game_time = 11;</code>
|
||||
* <code>uint32 client_game_time = 2;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
int getClientGameTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 game_time = 15;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 game_time = 13;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
int getGameTime();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 129
|
||||
* Obf: MJEGBKCMNIE
|
||||
* CmdId: 24529
|
||||
* Obf: PFBBCGKLBFC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SkipPlayerGameTimeRsp}
|
||||
@@ -86,17 +86,17 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 88: {
|
||||
case 16: {
|
||||
|
||||
clientGameTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
case 72: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 104: {
|
||||
|
||||
gameTime_ = input.readUInt32();
|
||||
break;
|
||||
@@ -133,21 +133,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.class, emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 12;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 11;
|
||||
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 2;
|
||||
private int clientGameTime_;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 11;</code>
|
||||
* <code>uint32 client_game_time = 2;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,10 +144,21 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return clientGameTime_;
|
||||
}
|
||||
|
||||
public static final int GAME_TIME_FIELD_NUMBER = 15;
|
||||
public static final int RETCODE_FIELD_NUMBER = 9;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int GAME_TIME_FIELD_NUMBER = 13;
|
||||
private int gameTime_;
|
||||
/**
|
||||
* <code>uint32 game_time = 15;</code>
|
||||
* <code>uint32 game_time = 13;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -181,13 +181,13 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (clientGameTime_ != 0) {
|
||||
output.writeUInt32(11, clientGameTime_);
|
||||
output.writeUInt32(2, clientGameTime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(12, retcode_);
|
||||
output.writeInt32(9, retcode_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
output.writeUInt32(15, gameTime_);
|
||||
output.writeUInt32(13, gameTime_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -200,15 +200,15 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
size = 0;
|
||||
if (clientGameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(11, clientGameTime_);
|
||||
.computeUInt32Size(2, clientGameTime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(12, retcode_);
|
||||
.computeInt32Size(9, retcode_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, gameTime_);
|
||||
.computeUInt32Size(13, gameTime_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -225,10 +225,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp other = (emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getClientGameTime()
|
||||
!= other.getClientGameTime()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getGameTime()
|
||||
!= other.getGameTime()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -242,10 +242,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + CLIENT_GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientGameTime();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGameTime();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -345,8 +345,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 129
|
||||
* Obf: MJEGBKCMNIE
|
||||
* CmdId: 24529
|
||||
* Obf: PFBBCGKLBFC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SkipPlayerGameTimeRsp}
|
||||
@@ -386,10 +386,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
clientGameTime_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
gameTime_ = 0;
|
||||
|
||||
return this;
|
||||
@@ -418,8 +418,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp result = new emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.clientGameTime_ = clientGameTime_;
|
||||
result.retcode_ = retcode_;
|
||||
result.gameTime_ = gameTime_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -469,12 +469,12 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getClientGameTime() != 0) {
|
||||
setClientGameTime(other.getClientGameTime());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getGameTime() != 0) {
|
||||
setGameTime(other.getGameTime());
|
||||
}
|
||||
@@ -507,40 +507,9 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int clientGameTime_ ;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 11;</code>
|
||||
* <code>uint32 client_game_time = 2;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -548,7 +517,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return clientGameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 11;</code>
|
||||
* <code>uint32 client_game_time = 2;</code>
|
||||
* @param value The clientGameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -559,7 +528,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 11;</code>
|
||||
* <code>uint32 client_game_time = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientGameTime() {
|
||||
@@ -569,9 +538,40 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gameTime_ ;
|
||||
/**
|
||||
* <code>uint32 game_time = 15;</code>
|
||||
* <code>uint32 game_time = 13;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -579,7 +579,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return gameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 15;</code>
|
||||
* <code>uint32 game_time = 13;</code>
|
||||
* @param value The gameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -590,7 +590,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 15;</code>
|
||||
* <code>uint32 game_time = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGameTime() {
|
||||
@@ -667,8 +667,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SkipPlayerGameTimeRsp.proto\"U\n\025SkipPla" +
|
||||
"yerGameTimeRsp\022\017\n\007retcode\030\014 \001(\005\022\030\n\020clien" +
|
||||
"t_game_time\030\013 \001(\r\022\021\n\tgame_time\030\017 \001(\rB\033\n\031" +
|
||||
"yerGameTimeRsp\022\030\n\020client_game_time\030\002 \001(\r" +
|
||||
"\022\017\n\007retcode\030\t \001(\005\022\021\n\tgame_time\030\r \001(\rB\033\n\031" +
|
||||
"emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -680,7 +680,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
internal_static_SkipPlayerGameTimeRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SkipPlayerGameTimeRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "ClientGameTime", "GameTime", });
|
||||
new java.lang.String[] { "ClientGameTime", "Retcode", "GameTime", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user