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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -19,21 +19,21 @@ public final class DelBackupAvatarTeamRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 2;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 backup_avatar_team_id = 15;</code>
* <code>uint32 backup_avatar_team_id = 13;</code>
* @return The backupAvatarTeamId.
*/
int getBackupAvatarTeamId();
/**
* <code>int32 retcode = 10;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* Name: MPCJMAGGPMG
* CmdId: 1615
* CmdId: 1733
* Name: DGFKLHLAFEN
* </pre>
*
* Protobuf type {@code DelBackupAvatarTeamRsp}
@@ -80,12 +80,12 @@ public final class DelBackupAvatarTeamRspOuterClass {
case 0:
done = true;
break;
case 16: {
case 80: {
retcode_ = input.readInt32();
break;
}
case 120: {
case 104: {
backupAvatarTeamId_ = input.readUInt32();
break;
@@ -122,21 +122,10 @@ public final class DelBackupAvatarTeamRspOuterClass {
emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp.class, emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp.Builder.class);
}
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_;
}
public static final int BACKUP_AVATAR_TEAM_ID_FIELD_NUMBER = 15;
public static final int BACKUP_AVATAR_TEAM_ID_FIELD_NUMBER = 13;
private int backupAvatarTeamId_;
/**
* <code>uint32 backup_avatar_team_id = 15;</code>
* <code>uint32 backup_avatar_team_id = 13;</code>
* @return The backupAvatarTeamId.
*/
@java.lang.Override
@@ -144,6 +133,17 @@ public final class DelBackupAvatarTeamRspOuterClass {
return backupAvatarTeamId_;
}
public static final int RETCODE_FIELD_NUMBER = 10;
private int retcode_;
/**
* <code>int32 retcode = 10;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -159,10 +159,10 @@ public final class DelBackupAvatarTeamRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(2, retcode_);
output.writeInt32(10, retcode_);
}
if (backupAvatarTeamId_ != 0) {
output.writeUInt32(15, backupAvatarTeamId_);
output.writeUInt32(13, backupAvatarTeamId_);
}
unknownFields.writeTo(output);
}
@@ -175,11 +175,11 @@ public final class DelBackupAvatarTeamRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, retcode_);
.computeInt32Size(10, retcode_);
}
if (backupAvatarTeamId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, backupAvatarTeamId_);
.computeUInt32Size(13, backupAvatarTeamId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -196,10 +196,10 @@ public final class DelBackupAvatarTeamRspOuterClass {
}
emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp other = (emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getBackupAvatarTeamId()
!= other.getBackupAvatarTeamId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -211,10 +211,10 @@ public final class DelBackupAvatarTeamRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + BACKUP_AVATAR_TEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + getBackupAvatarTeamId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -312,8 +312,8 @@ public final class DelBackupAvatarTeamRspOuterClass {
}
/**
* <pre>
* Name: MPCJMAGGPMG
* CmdId: 1615
* CmdId: 1733
* Name: DGFKLHLAFEN
* </pre>
*
* Protobuf type {@code DelBackupAvatarTeamRsp}
@@ -353,10 +353,10 @@ public final class DelBackupAvatarTeamRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
backupAvatarTeamId_ = 0;
retcode_ = 0;
return this;
}
@@ -383,8 +383,8 @@ public final class DelBackupAvatarTeamRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp buildPartial() {
emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp result = new emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp(this);
result.retcode_ = retcode_;
result.backupAvatarTeamId_ = backupAvatarTeamId_;
result.retcode_ = retcode_;
onBuilt();
return result;
}
@@ -433,12 +433,12 @@ public final class DelBackupAvatarTeamRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp other) {
if (other == emu.grasscutter.net.proto.DelBackupAvatarTeamRspOuterClass.DelBackupAvatarTeamRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getBackupAvatarTeamId() != 0) {
setBackupAvatarTeamId(other.getBackupAvatarTeamId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -468,40 +468,9 @@ public final class DelBackupAvatarTeamRspOuterClass {
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;
}
private int backupAvatarTeamId_ ;
/**
* <code>uint32 backup_avatar_team_id = 15;</code>
* <code>uint32 backup_avatar_team_id = 13;</code>
* @return The backupAvatarTeamId.
*/
@java.lang.Override
@@ -509,7 +478,7 @@ public final class DelBackupAvatarTeamRspOuterClass {
return backupAvatarTeamId_;
}
/**
* <code>uint32 backup_avatar_team_id = 15;</code>
* <code>uint32 backup_avatar_team_id = 13;</code>
* @param value The backupAvatarTeamId to set.
* @return This builder for chaining.
*/
@@ -520,7 +489,7 @@ public final class DelBackupAvatarTeamRspOuterClass {
return this;
}
/**
* <code>uint32 backup_avatar_team_id = 15;</code>
* <code>uint32 backup_avatar_team_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearBackupAvatarTeamId() {
@@ -529,6 +498,37 @@ public final class DelBackupAvatarTeamRspOuterClass {
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 10;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 10;</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 = 10;</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) {
@@ -597,8 +597,8 @@ public final class DelBackupAvatarTeamRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\034DelBackupAvatarTeamRsp.proto\"H\n\026DelBac" +
"kupAvatarTeamRsp\022\017\n\007retcode\030\002 \001(\005\022\035\n\025bac" +
"kup_avatar_team_id\030\017 \001(\rB\033\n\031emu.grasscut" +
"kupAvatarTeamRsp\022\035\n\025backup_avatar_team_i" +
"d\030\r \001(\r\022\017\n\007retcode\030\n \001(\005B\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -610,7 +610,7 @@ public final class DelBackupAvatarTeamRspOuterClass {
internal_static_DelBackupAvatarTeamRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DelBackupAvatarTeamRsp_descriptor,
new java.lang.String[] { "Retcode", "BackupAvatarTeamId", });
new java.lang.String[] { "BackupAvatarTeamId", "Retcode", });
}
// @@protoc_insertion_point(outer_class_scope)