mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 03:59:50 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
@@ -19,21 +19,21 @@ public final class AvatarPromoteRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint64 guid = 5;</code>
|
||||
* <code>uint64 guid = 6;</code>
|
||||
* @return The guid.
|
||||
*/
|
||||
long getGuid();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: GNGADEDNLBF
|
||||
* CmdId: 1681
|
||||
* CmdId: 1640
|
||||
* Name: FNOLNFIPFMH
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarPromoteRsp}
|
||||
@@ -80,16 +80,16 @@ public final class AvatarPromoteRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
|
||||
guid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
case 16: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
guid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -122,21 +122,10 @@ public final class AvatarPromoteRspOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp.class, emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 7;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int GUID_FIELD_NUMBER = 5;
|
||||
public static final int GUID_FIELD_NUMBER = 6;
|
||||
private long guid_;
|
||||
/**
|
||||
* <code>uint64 guid = 5;</code>
|
||||
* <code>uint64 guid = 6;</code>
|
||||
* @return The guid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,6 +133,17 @@ public final class AvatarPromoteRspOuterClass {
|
||||
return guid_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 2;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -158,11 +158,11 @@ public final class AvatarPromoteRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (guid_ != 0L) {
|
||||
output.writeUInt64(5, guid_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(7, retcode_);
|
||||
output.writeInt32(2, retcode_);
|
||||
}
|
||||
if (guid_ != 0L) {
|
||||
output.writeUInt64(6, guid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -173,13 +173,13 @@ public final class AvatarPromoteRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (guid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(5, guid_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(7, retcode_);
|
||||
.computeInt32Size(2, retcode_);
|
||||
}
|
||||
if (guid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(6, guid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -196,10 +196,10 @@ public final class AvatarPromoteRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp other = (emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getGuid()
|
||||
!= other.getGuid()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,11 +211,11 @@ public final class AvatarPromoteRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + GUID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getGuid());
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -313,8 +313,8 @@ public final class AvatarPromoteRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: GNGADEDNLBF
|
||||
* CmdId: 1681
|
||||
* CmdId: 1640
|
||||
* Name: FNOLNFIPFMH
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarPromoteRsp}
|
||||
@@ -354,10 +354,10 @@ public final class AvatarPromoteRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
guid_ = 0L;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -384,8 +384,8 @@ public final class AvatarPromoteRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp result = new emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.guid_ = guid_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -434,12 +434,12 @@ public final class AvatarPromoteRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.AvatarPromoteRspOuterClass.AvatarPromoteRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getGuid() != 0L) {
|
||||
setGuid(other.getGuid());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -469,40 +469,9 @@ public final class AvatarPromoteRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 7;</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 = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private long guid_ ;
|
||||
/**
|
||||
* <code>uint64 guid = 5;</code>
|
||||
* <code>uint64 guid = 6;</code>
|
||||
* @return The guid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -510,7 +479,7 @@ public final class AvatarPromoteRspOuterClass {
|
||||
return guid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 guid = 5;</code>
|
||||
* <code>uint64 guid = 6;</code>
|
||||
* @param value The guid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -521,7 +490,7 @@ public final class AvatarPromoteRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 guid = 5;</code>
|
||||
* <code>uint64 guid = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGuid() {
|
||||
@@ -530,6 +499,37 @@ public final class AvatarPromoteRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</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 = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -598,7 +598,7 @@ public final class AvatarPromoteRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026AvatarPromoteRsp.proto\"1\n\020AvatarPromot" +
|
||||
"eRsp\022\017\n\007retcode\030\007 \001(\005\022\014\n\004guid\030\005 \001(\004B\033\n\031e" +
|
||||
"eRsp\022\014\n\004guid\030\006 \001(\004\022\017\n\007retcode\030\002 \001(\005B\033\n\031e" +
|
||||
"mu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -610,7 +610,7 @@ public final class AvatarPromoteRspOuterClass {
|
||||
internal_static_AvatarPromoteRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_AvatarPromoteRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "Guid", });
|
||||
new java.lang.String[] { "Guid", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user