mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 22:30:02 +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:
+93
-93
@@ -19,26 +19,26 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 height = 8;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
int getHeight();
|
||||
|
||||
/**
|
||||
* <code>bytes data = 6;</code>
|
||||
* <code>bytes data = 8;</code>
|
||||
* @return The data.
|
||||
*/
|
||||
com.google.protobuf.ByteString getData();
|
||||
|
||||
/**
|
||||
* <code>uint32 width = 14;</code>
|
||||
* <code>uint32 width = 3;</code>
|
||||
* @return The width.
|
||||
*/
|
||||
int getWidth();
|
||||
|
||||
/**
|
||||
* <code>uint32 height = 15;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
int getHeight();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: NALOPCHENIP
|
||||
* Name: BOPELKOALPJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code HomeBlockDotPattern}
|
||||
@@ -86,21 +86,21 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 50: {
|
||||
case 24: {
|
||||
|
||||
width_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
|
||||
data_ = input.readBytes();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 120: {
|
||||
|
||||
height_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
width_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -133,21 +133,10 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern.class, emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern.Builder.class);
|
||||
}
|
||||
|
||||
public static final int HEIGHT_FIELD_NUMBER = 8;
|
||||
private int height_;
|
||||
/**
|
||||
* <code>uint32 height = 8;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getHeight() {
|
||||
return height_;
|
||||
}
|
||||
|
||||
public static final int DATA_FIELD_NUMBER = 6;
|
||||
public static final int DATA_FIELD_NUMBER = 8;
|
||||
private com.google.protobuf.ByteString data_;
|
||||
/**
|
||||
* <code>bytes data = 6;</code>
|
||||
* <code>bytes data = 8;</code>
|
||||
* @return The data.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,10 +144,10 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return data_;
|
||||
}
|
||||
|
||||
public static final int WIDTH_FIELD_NUMBER = 14;
|
||||
public static final int WIDTH_FIELD_NUMBER = 3;
|
||||
private int width_;
|
||||
/**
|
||||
* <code>uint32 width = 14;</code>
|
||||
* <code>uint32 width = 3;</code>
|
||||
* @return The width.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -166,6 +155,17 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return width_;
|
||||
}
|
||||
|
||||
public static final int HEIGHT_FIELD_NUMBER = 15;
|
||||
private int height_;
|
||||
/**
|
||||
* <code>uint32 height = 15;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getHeight() {
|
||||
return height_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -180,14 +180,14 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (width_ != 0) {
|
||||
output.writeUInt32(3, width_);
|
||||
}
|
||||
if (!data_.isEmpty()) {
|
||||
output.writeBytes(6, data_);
|
||||
output.writeBytes(8, data_);
|
||||
}
|
||||
if (height_ != 0) {
|
||||
output.writeUInt32(8, height_);
|
||||
}
|
||||
if (width_ != 0) {
|
||||
output.writeUInt32(14, width_);
|
||||
output.writeUInt32(15, height_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -198,17 +198,17 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (width_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, width_);
|
||||
}
|
||||
if (!data_.isEmpty()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(6, data_);
|
||||
.computeBytesSize(8, data_);
|
||||
}
|
||||
if (height_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, height_);
|
||||
}
|
||||
if (width_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, width_);
|
||||
.computeUInt32Size(15, height_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -225,12 +225,12 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern other = (emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern) obj;
|
||||
|
||||
if (getHeight()
|
||||
!= other.getHeight()) return false;
|
||||
if (!getData()
|
||||
.equals(other.getData())) return false;
|
||||
if (getWidth()
|
||||
!= other.getWidth()) return false;
|
||||
if (getHeight()
|
||||
!= other.getHeight()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -242,12 +242,12 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getHeight();
|
||||
hash = (37 * hash) + DATA_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getData().hashCode();
|
||||
hash = (37 * hash) + WIDTH_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWidth();
|
||||
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getHeight();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -345,7 +345,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: NALOPCHENIP
|
||||
* Name: BOPELKOALPJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code HomeBlockDotPattern}
|
||||
@@ -385,12 +385,12 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
height_ = 0;
|
||||
|
||||
data_ = com.google.protobuf.ByteString.EMPTY;
|
||||
|
||||
width_ = 0;
|
||||
|
||||
height_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -417,9 +417,9 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern buildPartial() {
|
||||
emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern result = new emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern(this);
|
||||
result.height_ = height_;
|
||||
result.data_ = data_;
|
||||
result.width_ = width_;
|
||||
result.height_ = height_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -468,15 +468,15 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern other) {
|
||||
if (other == emu.grasscutter.net.proto.HomeBlockDotPatternOuterClass.HomeBlockDotPattern.getDefaultInstance()) return this;
|
||||
if (other.getHeight() != 0) {
|
||||
setHeight(other.getHeight());
|
||||
}
|
||||
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
|
||||
setData(other.getData());
|
||||
}
|
||||
if (other.getWidth() != 0) {
|
||||
setWidth(other.getWidth());
|
||||
}
|
||||
if (other.getHeight() != 0) {
|
||||
setHeight(other.getHeight());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -506,40 +506,9 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int height_ ;
|
||||
/**
|
||||
* <code>uint32 height = 8;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getHeight() {
|
||||
return height_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 height = 8;</code>
|
||||
* @param value The height to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setHeight(int value) {
|
||||
|
||||
height_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 height = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearHeight() {
|
||||
|
||||
height_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
|
||||
/**
|
||||
* <code>bytes data = 6;</code>
|
||||
* <code>bytes data = 8;</code>
|
||||
* @return The data.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -547,7 +516,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return data_;
|
||||
}
|
||||
/**
|
||||
* <code>bytes data = 6;</code>
|
||||
* <code>bytes data = 8;</code>
|
||||
* @param value The data to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -561,7 +530,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bytes data = 6;</code>
|
||||
* <code>bytes data = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearData() {
|
||||
@@ -573,7 +542,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
|
||||
private int width_ ;
|
||||
/**
|
||||
* <code>uint32 width = 14;</code>
|
||||
* <code>uint32 width = 3;</code>
|
||||
* @return The width.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -581,7 +550,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return width_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 width = 14;</code>
|
||||
* <code>uint32 width = 3;</code>
|
||||
* @param value The width to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -592,7 +561,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 width = 14;</code>
|
||||
* <code>uint32 width = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWidth() {
|
||||
@@ -601,6 +570,37 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int height_ ;
|
||||
/**
|
||||
* <code>uint32 height = 15;</code>
|
||||
* @return The height.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getHeight() {
|
||||
return height_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 height = 15;</code>
|
||||
* @param value The height to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setHeight(int value) {
|
||||
|
||||
height_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 height = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearHeight() {
|
||||
|
||||
height_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -669,8 +669,8 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\031HomeBlockDotPattern.proto\"B\n\023HomeBlock" +
|
||||
"DotPattern\022\016\n\006height\030\010 \001(\r\022\014\n\004data\030\006 \001(\014" +
|
||||
"\022\r\n\005width\030\016 \001(\rB\033\n\031emu.grasscutter.net.p" +
|
||||
"DotPattern\022\014\n\004data\030\010 \001(\014\022\r\n\005width\030\003 \001(\r\022" +
|
||||
"\016\n\006height\030\017 \001(\rB\033\n\031emu.grasscutter.net.p" +
|
||||
"rotob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -682,7 +682,7 @@ public final class HomeBlockDotPatternOuterClass {
|
||||
internal_static_HomeBlockDotPattern_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_HomeBlockDotPattern_descriptor,
|
||||
new java.lang.String[] { "Height", "Data", "Width", });
|
||||
new java.lang.String[] { "Data", "Width", "Height", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user