mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 21:09:55 +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:
@@ -18,22 +18,22 @@ public final class SetOpenStateReqOuterClass {
|
||||
// @@protoc_insertion_point(interface_extends:SetOpenStateReq)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 key = 3;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
int getKey();
|
||||
|
||||
/**
|
||||
* <code>uint32 value = 14;</code>
|
||||
* @return The value.
|
||||
*/
|
||||
int getValue();
|
||||
|
||||
/**
|
||||
* <code>uint32 key = 6;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
int getKey();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: OPFCDCANIBF
|
||||
* CmdId: 144
|
||||
* CmdId: 186
|
||||
* Name: GBJPMDHMOGG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetOpenStateReq}
|
||||
@@ -80,7 +80,7 @@ public final class SetOpenStateReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 48: {
|
||||
case 24: {
|
||||
|
||||
key_ = input.readUInt32();
|
||||
break;
|
||||
@@ -122,6 +122,17 @@ public final class SetOpenStateReqOuterClass {
|
||||
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.class, emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int KEY_FIELD_NUMBER = 3;
|
||||
private int key_;
|
||||
/**
|
||||
* <code>uint32 key = 3;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getKey() {
|
||||
return key_;
|
||||
}
|
||||
|
||||
public static final int VALUE_FIELD_NUMBER = 14;
|
||||
private int value_;
|
||||
/**
|
||||
@@ -133,17 +144,6 @@ public final class SetOpenStateReqOuterClass {
|
||||
return value_;
|
||||
}
|
||||
|
||||
public static final int KEY_FIELD_NUMBER = 6;
|
||||
private int key_;
|
||||
/**
|
||||
* <code>uint32 key = 6;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getKey() {
|
||||
return key_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -159,7 +159,7 @@ public final class SetOpenStateReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (key_ != 0) {
|
||||
output.writeUInt32(6, key_);
|
||||
output.writeUInt32(3, key_);
|
||||
}
|
||||
if (value_ != 0) {
|
||||
output.writeUInt32(14, value_);
|
||||
@@ -175,7 +175,7 @@ public final class SetOpenStateReqOuterClass {
|
||||
size = 0;
|
||||
if (key_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, key_);
|
||||
.computeUInt32Size(3, key_);
|
||||
}
|
||||
if (value_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
@@ -196,10 +196,10 @@ public final class SetOpenStateReqOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq other = (emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq) obj;
|
||||
|
||||
if (getValue()
|
||||
!= other.getValue()) return false;
|
||||
if (getKey()
|
||||
!= other.getKey()) return false;
|
||||
if (getValue()
|
||||
!= other.getValue()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,10 +211,10 @@ public final class SetOpenStateReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getValue();
|
||||
hash = (37 * hash) + KEY_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getKey();
|
||||
hash = (37 * hash) + VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getValue();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -312,8 +312,8 @@ public final class SetOpenStateReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: OPFCDCANIBF
|
||||
* CmdId: 144
|
||||
* CmdId: 186
|
||||
* Name: GBJPMDHMOGG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetOpenStateReq}
|
||||
@@ -353,10 +353,10 @@ public final class SetOpenStateReqOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
value_ = 0;
|
||||
|
||||
key_ = 0;
|
||||
|
||||
value_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -383,8 +383,8 @@ public final class SetOpenStateReqOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq buildPartial() {
|
||||
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq result = new emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq(this);
|
||||
result.value_ = value_;
|
||||
result.key_ = key_;
|
||||
result.value_ = value_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -433,12 +433,12 @@ public final class SetOpenStateReqOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq other) {
|
||||
if (other == emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.getDefaultInstance()) return this;
|
||||
if (other.getValue() != 0) {
|
||||
setValue(other.getValue());
|
||||
}
|
||||
if (other.getKey() != 0) {
|
||||
setKey(other.getKey());
|
||||
}
|
||||
if (other.getValue() != 0) {
|
||||
setValue(other.getValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -468,6 +468,37 @@ public final class SetOpenStateReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int key_ ;
|
||||
/**
|
||||
* <code>uint32 key = 3;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getKey() {
|
||||
return key_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 key = 3;</code>
|
||||
* @param value The key to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setKey(int value) {
|
||||
|
||||
key_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 key = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearKey() {
|
||||
|
||||
key_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int value_ ;
|
||||
/**
|
||||
* <code>uint32 value = 14;</code>
|
||||
@@ -498,37 +529,6 @@ public final class SetOpenStateReqOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int key_ ;
|
||||
/**
|
||||
* <code>uint32 key = 6;</code>
|
||||
* @return The key.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getKey() {
|
||||
return key_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 key = 6;</code>
|
||||
* @param value The key to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setKey(int value) {
|
||||
|
||||
key_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 key = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearKey() {
|
||||
|
||||
key_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -597,7 +597,7 @@ public final class SetOpenStateReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025SetOpenStateReq.proto\"-\n\017SetOpenStateR" +
|
||||
"eq\022\r\n\005value\030\016 \001(\r\022\013\n\003key\030\006 \001(\rB\033\n\031emu.gr" +
|
||||
"eq\022\013\n\003key\030\003 \001(\r\022\r\n\005value\030\016 \001(\rB\033\n\031emu.gr" +
|
||||
"asscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -609,7 +609,7 @@ public final class SetOpenStateReqOuterClass {
|
||||
internal_static_SetOpenStateReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SetOpenStateReq_descriptor,
|
||||
new java.lang.String[] { "Value", "Key", });
|
||||
new java.lang.String[] { "Key", "Value", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user