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,30 +19,26 @@ public final class BattlePassCycleOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 begin_time = 8;</code>
* @return The beginTime.
* <code>uint32 end_time = 12;</code>
* @return The endTime.
*/
int getBeginTime();
int getEndTime();
/**
* <pre>
* FLNDBEEKMFN
* </pre>
*
* <code>uint32 cycle_idx = 5;</code>
* <code>uint32 cycle_idx = 13;</code>
* @return The cycleIdx.
*/
int getCycleIdx();
/**
* <code>uint32 end_time = 12;</code>
* @return The endTime.
* <code>uint32 begin_time = 11;</code>
* @return The beginTime.
*/
int getEndTime();
int getBeginTime();
}
/**
* <pre>
* Name: IAMODOAMICJ
* Name: JNLPHKAEDIO
* </pre>
*
* Protobuf type {@code BattlePassCycle}
@@ -89,12 +85,7 @@ public final class BattlePassCycleOuterClass {
case 0:
done = true;
break;
case 40: {
cycleIdx_ = input.readUInt32();
break;
}
case 64: {
case 88: {
beginTime_ = input.readUInt32();
break;
@@ -104,6 +95,11 @@ public final class BattlePassCycleOuterClass {
endTime_ = input.readUInt32();
break;
}
case 104: {
cycleIdx_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -136,32 +132,6 @@ public final class BattlePassCycleOuterClass {
emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle.class, emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle.Builder.class);
}
public static final int BEGIN_TIME_FIELD_NUMBER = 8;
private int beginTime_;
/**
* <code>uint32 begin_time = 8;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
public static final int CYCLE_IDX_FIELD_NUMBER = 5;
private int cycleIdx_;
/**
* <pre>
* FLNDBEEKMFN
* </pre>
*
* <code>uint32 cycle_idx = 5;</code>
* @return The cycleIdx.
*/
@java.lang.Override
public int getCycleIdx() {
return cycleIdx_;
}
public static final int END_TIME_FIELD_NUMBER = 12;
private int endTime_;
/**
@@ -173,6 +143,28 @@ public final class BattlePassCycleOuterClass {
return endTime_;
}
public static final int CYCLE_IDX_FIELD_NUMBER = 13;
private int cycleIdx_;
/**
* <code>uint32 cycle_idx = 13;</code>
* @return The cycleIdx.
*/
@java.lang.Override
public int getCycleIdx() {
return cycleIdx_;
}
public static final int BEGIN_TIME_FIELD_NUMBER = 11;
private int beginTime_;
/**
* <code>uint32 begin_time = 11;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -187,15 +179,15 @@ public final class BattlePassCycleOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (cycleIdx_ != 0) {
output.writeUInt32(5, cycleIdx_);
}
if (beginTime_ != 0) {
output.writeUInt32(8, beginTime_);
output.writeUInt32(11, beginTime_);
}
if (endTime_ != 0) {
output.writeUInt32(12, endTime_);
}
if (cycleIdx_ != 0) {
output.writeUInt32(13, cycleIdx_);
}
unknownFields.writeTo(output);
}
@@ -205,18 +197,18 @@ public final class BattlePassCycleOuterClass {
if (size != -1) return size;
size = 0;
if (cycleIdx_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, cycleIdx_);
}
if (beginTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, beginTime_);
.computeUInt32Size(11, beginTime_);
}
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, endTime_);
}
if (cycleIdx_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, cycleIdx_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -232,12 +224,12 @@ public final class BattlePassCycleOuterClass {
}
emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle other = (emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle) obj;
if (getBeginTime()
!= other.getBeginTime()) return false;
if (getCycleIdx()
!= other.getCycleIdx()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (getCycleIdx()
!= other.getCycleIdx()) return false;
if (getBeginTime()
!= other.getBeginTime()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -249,12 +241,12 @@ public final class BattlePassCycleOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime();
hash = (37 * hash) + CYCLE_IDX_FIELD_NUMBER;
hash = (53 * hash) + getCycleIdx();
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
hash = (37 * hash) + CYCLE_IDX_FIELD_NUMBER;
hash = (53 * hash) + getCycleIdx();
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -352,7 +344,7 @@ public final class BattlePassCycleOuterClass {
}
/**
* <pre>
* Name: IAMODOAMICJ
* Name: JNLPHKAEDIO
* </pre>
*
* Protobuf type {@code BattlePassCycle}
@@ -392,11 +384,11 @@ public final class BattlePassCycleOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
beginTime_ = 0;
endTime_ = 0;
cycleIdx_ = 0;
endTime_ = 0;
beginTime_ = 0;
return this;
}
@@ -424,9 +416,9 @@ public final class BattlePassCycleOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle buildPartial() {
emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle result = new emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle(this);
result.beginTime_ = beginTime_;
result.cycleIdx_ = cycleIdx_;
result.endTime_ = endTime_;
result.cycleIdx_ = cycleIdx_;
result.beginTime_ = beginTime_;
onBuilt();
return result;
}
@@ -475,14 +467,14 @@ public final class BattlePassCycleOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle other) {
if (other == emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle.getDefaultInstance()) return this;
if (other.getBeginTime() != 0) {
setBeginTime(other.getBeginTime());
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
if (other.getCycleIdx() != 0) {
setCycleIdx(other.getCycleIdx());
}
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
if (other.getBeginTime() != 0) {
setBeginTime(other.getBeginTime());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -513,80 +505,6 @@ public final class BattlePassCycleOuterClass {
return this;
}
private int beginTime_ ;
/**
* <code>uint32 begin_time = 8;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>uint32 begin_time = 8;</code>
* @param value The beginTime to set.
* @return This builder for chaining.
*/
public Builder setBeginTime(int value) {
beginTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 begin_time = 8;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
private int cycleIdx_ ;
/**
* <pre>
* FLNDBEEKMFN
* </pre>
*
* <code>uint32 cycle_idx = 5;</code>
* @return The cycleIdx.
*/
@java.lang.Override
public int getCycleIdx() {
return cycleIdx_;
}
/**
* <pre>
* FLNDBEEKMFN
* </pre>
*
* <code>uint32 cycle_idx = 5;</code>
* @param value The cycleIdx to set.
* @return This builder for chaining.
*/
public Builder setCycleIdx(int value) {
cycleIdx_ = value;
onChanged();
return this;
}
/**
* <pre>
* FLNDBEEKMFN
* </pre>
*
* <code>uint32 cycle_idx = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCycleIdx() {
cycleIdx_ = 0;
onChanged();
return this;
}
private int endTime_ ;
/**
* <code>uint32 end_time = 12;</code>
@@ -617,6 +535,68 @@ public final class BattlePassCycleOuterClass {
onChanged();
return this;
}
private int cycleIdx_ ;
/**
* <code>uint32 cycle_idx = 13;</code>
* @return The cycleIdx.
*/
@java.lang.Override
public int getCycleIdx() {
return cycleIdx_;
}
/**
* <code>uint32 cycle_idx = 13;</code>
* @param value The cycleIdx to set.
* @return This builder for chaining.
*/
public Builder setCycleIdx(int value) {
cycleIdx_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cycle_idx = 13;</code>
* @return This builder for chaining.
*/
public Builder clearCycleIdx() {
cycleIdx_ = 0;
onChanged();
return this;
}
private int beginTime_ ;
/**
* <code>uint32 begin_time = 11;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>uint32 begin_time = 11;</code>
* @param value The beginTime to set.
* @return This builder for chaining.
*/
public Builder setBeginTime(int value) {
beginTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 begin_time = 11;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -685,8 +665,8 @@ public final class BattlePassCycleOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\025BattlePassCycle.proto\"J\n\017BattlePassCyc" +
"le\022\022\n\nbegin_time\030\010 \001(\r\022\021\n\tcycle_idx\030\005 \001(" +
"\r\022\020\n\010end_time\030\014 \001(\rB\033\n\031emu.grasscutter.n" +
"le\022\020\n\010end_time\030\014 \001(\r\022\021\n\tcycle_idx\030\r \001(\r\022" +
"\022\n\nbegin_time\030\013 \001(\rB\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -698,7 +678,7 @@ public final class BattlePassCycleOuterClass {
internal_static_BattlePassCycle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_BattlePassCycle_descriptor,
new java.lang.String[] { "BeginTime", "CycleIdx", "EndTime", });
new java.lang.String[] { "EndTime", "CycleIdx", "BeginTime", });
}
// @@protoc_insertion_point(outer_class_scope)