mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 06:31:18 +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:
+101
-91
@@ -19,24 +19,29 @@ public final class ResinChangeNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_value = 14;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
int getCurValue();
|
||||
|
||||
/**
|
||||
* <code>uint32 next_add_timestamp = 13;</code>
|
||||
* <code>uint32 next_add_timestamp = 4;</code>
|
||||
* @return The nextAddTimestamp.
|
||||
*/
|
||||
int getNextAddTimestamp();
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_buy_count = 12;</code>
|
||||
* <code>uint32 cur_buy_count = 8;</code>
|
||||
* @return The curBuyCount.
|
||||
*/
|
||||
int getCurBuyCount();
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_value = 6;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
int getCurValue();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 688
|
||||
* Name: LFGMKMAGMCE
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ResinChangeNotify}
|
||||
*/
|
||||
public static final class ResinChangeNotify extends
|
||||
@@ -81,21 +86,21 @@ public final class ResinChangeNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 96: {
|
||||
|
||||
curBuyCount_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
case 32: {
|
||||
|
||||
nextAddTimestamp_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
case 48: {
|
||||
|
||||
curValue_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
curBuyCount_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -128,21 +133,10 @@ public final class ResinChangeNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.class, emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CUR_VALUE_FIELD_NUMBER = 14;
|
||||
private int curValue_;
|
||||
/**
|
||||
* <code>uint32 cur_value = 14;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurValue() {
|
||||
return curValue_;
|
||||
}
|
||||
|
||||
public static final int NEXT_ADD_TIMESTAMP_FIELD_NUMBER = 13;
|
||||
public static final int NEXT_ADD_TIMESTAMP_FIELD_NUMBER = 4;
|
||||
private int nextAddTimestamp_;
|
||||
/**
|
||||
* <code>uint32 next_add_timestamp = 13;</code>
|
||||
* <code>uint32 next_add_timestamp = 4;</code>
|
||||
* @return The nextAddTimestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -150,10 +144,10 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return nextAddTimestamp_;
|
||||
}
|
||||
|
||||
public static final int CUR_BUY_COUNT_FIELD_NUMBER = 12;
|
||||
public static final int CUR_BUY_COUNT_FIELD_NUMBER = 8;
|
||||
private int curBuyCount_;
|
||||
/**
|
||||
* <code>uint32 cur_buy_count = 12;</code>
|
||||
* <code>uint32 cur_buy_count = 8;</code>
|
||||
* @return The curBuyCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -161,6 +155,17 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return curBuyCount_;
|
||||
}
|
||||
|
||||
public static final int CUR_VALUE_FIELD_NUMBER = 6;
|
||||
private int curValue_;
|
||||
/**
|
||||
* <code>uint32 cur_value = 6;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurValue() {
|
||||
return curValue_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -175,14 +180,14 @@ public final class ResinChangeNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (curBuyCount_ != 0) {
|
||||
output.writeUInt32(12, curBuyCount_);
|
||||
}
|
||||
if (nextAddTimestamp_ != 0) {
|
||||
output.writeUInt32(13, nextAddTimestamp_);
|
||||
output.writeUInt32(4, nextAddTimestamp_);
|
||||
}
|
||||
if (curValue_ != 0) {
|
||||
output.writeUInt32(14, curValue_);
|
||||
output.writeUInt32(6, curValue_);
|
||||
}
|
||||
if (curBuyCount_ != 0) {
|
||||
output.writeUInt32(8, curBuyCount_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -193,17 +198,17 @@ public final class ResinChangeNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (curBuyCount_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, curBuyCount_);
|
||||
}
|
||||
if (nextAddTimestamp_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, nextAddTimestamp_);
|
||||
.computeUInt32Size(4, nextAddTimestamp_);
|
||||
}
|
||||
if (curValue_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, curValue_);
|
||||
.computeUInt32Size(6, curValue_);
|
||||
}
|
||||
if (curBuyCount_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, curBuyCount_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -220,12 +225,12 @@ public final class ResinChangeNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify other = (emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify) obj;
|
||||
|
||||
if (getCurValue()
|
||||
!= other.getCurValue()) return false;
|
||||
if (getNextAddTimestamp()
|
||||
!= other.getNextAddTimestamp()) return false;
|
||||
if (getCurBuyCount()
|
||||
!= other.getCurBuyCount()) return false;
|
||||
if (getCurValue()
|
||||
!= other.getCurValue()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -237,12 +242,12 @@ public final class ResinChangeNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CUR_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurValue();
|
||||
hash = (37 * hash) + NEXT_ADD_TIMESTAMP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getNextAddTimestamp();
|
||||
hash = (37 * hash) + CUR_BUY_COUNT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurBuyCount();
|
||||
hash = (37 * hash) + CUR_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurValue();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -339,6 +344,11 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 688
|
||||
* Name: LFGMKMAGMCE
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ResinChangeNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -376,12 +386,12 @@ public final class ResinChangeNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
curValue_ = 0;
|
||||
|
||||
nextAddTimestamp_ = 0;
|
||||
|
||||
curBuyCount_ = 0;
|
||||
|
||||
curValue_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -408,9 +418,9 @@ public final class ResinChangeNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify result = new emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify(this);
|
||||
result.curValue_ = curValue_;
|
||||
result.nextAddTimestamp_ = nextAddTimestamp_;
|
||||
result.curBuyCount_ = curBuyCount_;
|
||||
result.curValue_ = curValue_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -459,15 +469,15 @@ public final class ResinChangeNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.getDefaultInstance()) return this;
|
||||
if (other.getCurValue() != 0) {
|
||||
setCurValue(other.getCurValue());
|
||||
}
|
||||
if (other.getNextAddTimestamp() != 0) {
|
||||
setNextAddTimestamp(other.getNextAddTimestamp());
|
||||
}
|
||||
if (other.getCurBuyCount() != 0) {
|
||||
setCurBuyCount(other.getCurBuyCount());
|
||||
}
|
||||
if (other.getCurValue() != 0) {
|
||||
setCurValue(other.getCurValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -497,40 +507,9 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int curValue_ ;
|
||||
/**
|
||||
* <code>uint32 cur_value = 14;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurValue() {
|
||||
return curValue_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_value = 14;</code>
|
||||
* @param value The curValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCurValue(int value) {
|
||||
|
||||
curValue_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_value = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurValue() {
|
||||
|
||||
curValue_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int nextAddTimestamp_ ;
|
||||
/**
|
||||
* <code>uint32 next_add_timestamp = 13;</code>
|
||||
* <code>uint32 next_add_timestamp = 4;</code>
|
||||
* @return The nextAddTimestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -538,7 +517,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return nextAddTimestamp_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 next_add_timestamp = 13;</code>
|
||||
* <code>uint32 next_add_timestamp = 4;</code>
|
||||
* @param value The nextAddTimestamp to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -549,7 +528,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 next_add_timestamp = 13;</code>
|
||||
* <code>uint32 next_add_timestamp = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNextAddTimestamp() {
|
||||
@@ -561,7 +540,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
|
||||
private int curBuyCount_ ;
|
||||
/**
|
||||
* <code>uint32 cur_buy_count = 12;</code>
|
||||
* <code>uint32 cur_buy_count = 8;</code>
|
||||
* @return The curBuyCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -569,7 +548,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return curBuyCount_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_buy_count = 12;</code>
|
||||
* <code>uint32 cur_buy_count = 8;</code>
|
||||
* @param value The curBuyCount to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -580,7 +559,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_buy_count = 12;</code>
|
||||
* <code>uint32 cur_buy_count = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurBuyCount() {
|
||||
@@ -589,6 +568,37 @@ public final class ResinChangeNotifyOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int curValue_ ;
|
||||
/**
|
||||
* <code>uint32 cur_value = 6;</code>
|
||||
* @return The curValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurValue() {
|
||||
return curValue_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_value = 6;</code>
|
||||
* @param value The curValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCurValue(int value) {
|
||||
|
||||
curValue_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_value = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurValue() {
|
||||
|
||||
curValue_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -657,8 +667,8 @@ public final class ResinChangeNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027ResinChangeNotify.proto\"Y\n\021ResinChange" +
|
||||
"Notify\022\021\n\tcur_value\030\016 \001(\r\022\032\n\022next_add_ti" +
|
||||
"mestamp\030\r \001(\r\022\025\n\rcur_buy_count\030\014 \001(\rB\033\n\031" +
|
||||
"Notify\022\032\n\022next_add_timestamp\030\004 \001(\r\022\025\n\rcu" +
|
||||
"r_buy_count\030\010 \001(\r\022\021\n\tcur_value\030\006 \001(\rB\033\n\031" +
|
||||
"emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -670,7 +680,7 @@ public final class ResinChangeNotifyOuterClass {
|
||||
internal_static_ResinChangeNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ResinChangeNotify_descriptor,
|
||||
new java.lang.String[] { "CurValue", "NextAddTimestamp", "CurBuyCount", });
|
||||
new java.lang.String[] { "NextAddTimestamp", "CurBuyCount", "CurValue", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user