Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,26 +19,26 @@ public final class BattlePassCycleOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 begin_time = 14;</code>
* @return The beginTime.
*/
int getBeginTime();
/**
* <code>uint32 cycle_idx = 7;</code>
* <code>uint32 cycle_idx = 15;</code>
* @return The cycleIdx.
*/
int getCycleIdx();
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 begin_time = 2;</code>
* @return The beginTime.
*/
int getBeginTime();
/**
* <code>uint32 end_time = 12;</code>
* @return The endTime.
*/
int getEndTime();
}
/**
* <pre>
* Obf: OIFDHDIINHH
* Obf: JDHFCEDALOK
* </pre>
*
* Protobuf type {@code BattlePassCycle}
@@ -85,19 +85,19 @@ public final class BattlePassCycleOuterClass {
case 0:
done = true;
break;
case 56: {
case 16: {
cycleIdx_ = input.readUInt32();
beginTime_ = input.readUInt32();
break;
}
case 64: {
case 96: {
endTime_ = input.readUInt32();
break;
}
case 112: {
case 120: {
beginTime_ = input.readUInt32();
cycleIdx_ = input.readUInt32();
break;
}
default: {
@@ -132,21 +132,10 @@ 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 = 14;
private int beginTime_;
/**
* <code>uint32 begin_time = 14;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
public static final int CYCLE_IDX_FIELD_NUMBER = 7;
public static final int CYCLE_IDX_FIELD_NUMBER = 15;
private int cycleIdx_;
/**
* <code>uint32 cycle_idx = 7;</code>
* <code>uint32 cycle_idx = 15;</code>
* @return The cycleIdx.
*/
@java.lang.Override
@@ -154,10 +143,21 @@ public final class BattlePassCycleOuterClass {
return cycleIdx_;
}
public static final int END_TIME_FIELD_NUMBER = 8;
public static final int BEGIN_TIME_FIELD_NUMBER = 2;
private int beginTime_;
/**
* <code>uint32 begin_time = 2;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
public static final int END_TIME_FIELD_NUMBER = 12;
private int endTime_;
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 12;</code>
* @return The endTime.
*/
@java.lang.Override
@@ -179,14 +179,14 @@ public final class BattlePassCycleOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (cycleIdx_ != 0) {
output.writeUInt32(7, cycleIdx_);
if (beginTime_ != 0) {
output.writeUInt32(2, beginTime_);
}
if (endTime_ != 0) {
output.writeUInt32(8, endTime_);
output.writeUInt32(12, endTime_);
}
if (beginTime_ != 0) {
output.writeUInt32(14, beginTime_);
if (cycleIdx_ != 0) {
output.writeUInt32(15, cycleIdx_);
}
unknownFields.writeTo(output);
}
@@ -197,17 +197,17 @@ public final class BattlePassCycleOuterClass {
if (size != -1) return size;
size = 0;
if (cycleIdx_ != 0) {
if (beginTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, cycleIdx_);
.computeUInt32Size(2, beginTime_);
}
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, endTime_);
.computeUInt32Size(12, endTime_);
}
if (beginTime_ != 0) {
if (cycleIdx_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, beginTime_);
.computeUInt32Size(15, cycleIdx_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -224,10 +224,10 @@ 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 (getBeginTime()
!= other.getBeginTime()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -241,10 +241,10 @@ 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) + BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime();
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
hash = (29 * hash) + unknownFields.hashCode();
@@ -344,7 +344,7 @@ public final class BattlePassCycleOuterClass {
}
/**
* <pre>
* Obf: OIFDHDIINHH
* Obf: JDHFCEDALOK
* </pre>
*
* Protobuf type {@code BattlePassCycle}
@@ -384,10 +384,10 @@ public final class BattlePassCycleOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
beginTime_ = 0;
cycleIdx_ = 0;
beginTime_ = 0;
endTime_ = 0;
return this;
@@ -416,8 +416,8 @@ 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.beginTime_ = beginTime_;
result.endTime_ = endTime_;
onBuilt();
return result;
@@ -467,12 +467,12 @@ 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.getCycleIdx() != 0) {
setCycleIdx(other.getCycleIdx());
}
if (other.getBeginTime() != 0) {
setBeginTime(other.getBeginTime());
}
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
@@ -505,40 +505,9 @@ public final class BattlePassCycleOuterClass {
return this;
}
private int beginTime_ ;
/**
* <code>uint32 begin_time = 14;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>uint32 begin_time = 14;</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 = 14;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
private int cycleIdx_ ;
/**
* <code>uint32 cycle_idx = 7;</code>
* <code>uint32 cycle_idx = 15;</code>
* @return The cycleIdx.
*/
@java.lang.Override
@@ -546,7 +515,7 @@ public final class BattlePassCycleOuterClass {
return cycleIdx_;
}
/**
* <code>uint32 cycle_idx = 7;</code>
* <code>uint32 cycle_idx = 15;</code>
* @param value The cycleIdx to set.
* @return This builder for chaining.
*/
@@ -557,7 +526,7 @@ public final class BattlePassCycleOuterClass {
return this;
}
/**
* <code>uint32 cycle_idx = 7;</code>
* <code>uint32 cycle_idx = 15;</code>
* @return This builder for chaining.
*/
public Builder clearCycleIdx() {
@@ -567,9 +536,40 @@ public final class BattlePassCycleOuterClass {
return this;
}
private int beginTime_ ;
/**
* <code>uint32 begin_time = 2;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>uint32 begin_time = 2;</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 = 2;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
private int endTime_ ;
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 12;</code>
* @return The endTime.
*/
@java.lang.Override
@@ -577,7 +577,7 @@ public final class BattlePassCycleOuterClass {
return endTime_;
}
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 12;</code>
* @param value The endTime to set.
* @return This builder for chaining.
*/
@@ -588,7 +588,7 @@ public final class BattlePassCycleOuterClass {
return this;
}
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 12;</code>
* @return This builder for chaining.
*/
public Builder clearEndTime() {
@@ -665,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\016 \001(\r\022\021\n\tcycle_idx\030\007 \001(" +
"\r\022\020\n\010end_time\030\010 \001(\rB\033\n\031emu.grasscutter.n" +
"le\022\021\n\tcycle_idx\030\017 \001(\r\022\022\n\nbegin_time\030\002 \001(" +
"\r\022\020\n\010end_time\030\014 \001(\rB\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -678,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[] { "CycleIdx", "BeginTime", "EndTime", });
}
// @@protoc_insertion_point(outer_class_scope)