mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 05:43:33 +08:00
Add new protocol definitions
This commit is contained in:
+93
-93
@@ -19,26 +19,26 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 open_time = 9;</code>
|
||||
* <code>uint32 open_time = 4;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
int getOpenTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 chapter_id = 11;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
int getChapterId();
|
||||
|
||||
/**
|
||||
* <code>uint32 best_score = 10;</code>
|
||||
* <code>uint32 best_score = 3;</code>
|
||||
* @return The bestScore.
|
||||
*/
|
||||
int getBestScore();
|
||||
|
||||
/**
|
||||
* <code>uint32 chapter_id = 6;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
int getChapterId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: KGPOJMNNEAG
|
||||
* Obf: GDFCALPDJDD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BounceConjuringChapterInfo}
|
||||
@@ -85,17 +85,17 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 72: {
|
||||
|
||||
openTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 24: {
|
||||
|
||||
bestScore_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 32: {
|
||||
|
||||
openTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
chapterId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -132,10 +132,10 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
emu.grasscutter.net.proto.BounceConjuringChapterInfoOuterClass.BounceConjuringChapterInfo.class, emu.grasscutter.net.proto.BounceConjuringChapterInfoOuterClass.BounceConjuringChapterInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int OPEN_TIME_FIELD_NUMBER = 9;
|
||||
public static final int OPEN_TIME_FIELD_NUMBER = 4;
|
||||
private int openTime_;
|
||||
/**
|
||||
* <code>uint32 open_time = 9;</code>
|
||||
* <code>uint32 open_time = 4;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -143,21 +143,10 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return openTime_;
|
||||
}
|
||||
|
||||
public static final int CHAPTER_ID_FIELD_NUMBER = 11;
|
||||
private int chapterId_;
|
||||
/**
|
||||
* <code>uint32 chapter_id = 11;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getChapterId() {
|
||||
return chapterId_;
|
||||
}
|
||||
|
||||
public static final int BEST_SCORE_FIELD_NUMBER = 10;
|
||||
public static final int BEST_SCORE_FIELD_NUMBER = 3;
|
||||
private int bestScore_;
|
||||
/**
|
||||
* <code>uint32 best_score = 10;</code>
|
||||
* <code>uint32 best_score = 3;</code>
|
||||
* @return The bestScore.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -165,6 +154,17 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return bestScore_;
|
||||
}
|
||||
|
||||
public static final int CHAPTER_ID_FIELD_NUMBER = 6;
|
||||
private int chapterId_;
|
||||
/**
|
||||
* <code>uint32 chapter_id = 6;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getChapterId() {
|
||||
return chapterId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -179,14 +179,14 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (openTime_ != 0) {
|
||||
output.writeUInt32(9, openTime_);
|
||||
}
|
||||
if (bestScore_ != 0) {
|
||||
output.writeUInt32(10, bestScore_);
|
||||
output.writeUInt32(3, bestScore_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
output.writeUInt32(4, openTime_);
|
||||
}
|
||||
if (chapterId_ != 0) {
|
||||
output.writeUInt32(11, chapterId_);
|
||||
output.writeUInt32(6, chapterId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -197,17 +197,17 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (openTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, openTime_);
|
||||
}
|
||||
if (bestScore_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, bestScore_);
|
||||
.computeUInt32Size(3, bestScore_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, openTime_);
|
||||
}
|
||||
if (chapterId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(11, chapterId_);
|
||||
.computeUInt32Size(6, chapterId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -226,10 +226,10 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
|
||||
if (getOpenTime()
|
||||
!= other.getOpenTime()) return false;
|
||||
if (getChapterId()
|
||||
!= other.getChapterId()) return false;
|
||||
if (getBestScore()
|
||||
!= other.getBestScore()) return false;
|
||||
if (getChapterId()
|
||||
!= other.getChapterId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -243,10 +243,10 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + OPEN_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getOpenTime();
|
||||
hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChapterId();
|
||||
hash = (37 * hash) + BEST_SCORE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBestScore();
|
||||
hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChapterId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -344,7 +344,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: KGPOJMNNEAG
|
||||
* Obf: GDFCALPDJDD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BounceConjuringChapterInfo}
|
||||
@@ -386,10 +386,10 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
super.clear();
|
||||
openTime_ = 0;
|
||||
|
||||
chapterId_ = 0;
|
||||
|
||||
bestScore_ = 0;
|
||||
|
||||
chapterId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -417,8 +417,8 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
public emu.grasscutter.net.proto.BounceConjuringChapterInfoOuterClass.BounceConjuringChapterInfo buildPartial() {
|
||||
emu.grasscutter.net.proto.BounceConjuringChapterInfoOuterClass.BounceConjuringChapterInfo result = new emu.grasscutter.net.proto.BounceConjuringChapterInfoOuterClass.BounceConjuringChapterInfo(this);
|
||||
result.openTime_ = openTime_;
|
||||
result.chapterId_ = chapterId_;
|
||||
result.bestScore_ = bestScore_;
|
||||
result.chapterId_ = chapterId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -470,12 +470,12 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
if (other.getOpenTime() != 0) {
|
||||
setOpenTime(other.getOpenTime());
|
||||
}
|
||||
if (other.getChapterId() != 0) {
|
||||
setChapterId(other.getChapterId());
|
||||
}
|
||||
if (other.getBestScore() != 0) {
|
||||
setBestScore(other.getBestScore());
|
||||
}
|
||||
if (other.getChapterId() != 0) {
|
||||
setChapterId(other.getChapterId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -507,7 +507,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
|
||||
private int openTime_ ;
|
||||
/**
|
||||
* <code>uint32 open_time = 9;</code>
|
||||
* <code>uint32 open_time = 4;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -515,7 +515,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return openTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 9;</code>
|
||||
* <code>uint32 open_time = 4;</code>
|
||||
* @param value The openTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -526,7 +526,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 9;</code>
|
||||
* <code>uint32 open_time = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOpenTime() {
|
||||
@@ -536,40 +536,9 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int chapterId_ ;
|
||||
/**
|
||||
* <code>uint32 chapter_id = 11;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getChapterId() {
|
||||
return chapterId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chapter_id = 11;</code>
|
||||
* @param value The chapterId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setChapterId(int value) {
|
||||
|
||||
chapterId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chapter_id = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearChapterId() {
|
||||
|
||||
chapterId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int bestScore_ ;
|
||||
/**
|
||||
* <code>uint32 best_score = 10;</code>
|
||||
* <code>uint32 best_score = 3;</code>
|
||||
* @return The bestScore.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -577,7 +546,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return bestScore_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 best_score = 10;</code>
|
||||
* <code>uint32 best_score = 3;</code>
|
||||
* @param value The bestScore to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -588,7 +557,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 best_score = 10;</code>
|
||||
* <code>uint32 best_score = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBestScore() {
|
||||
@@ -597,6 +566,37 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int chapterId_ ;
|
||||
/**
|
||||
* <code>uint32 chapter_id = 6;</code>
|
||||
* @return The chapterId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getChapterId() {
|
||||
return chapterId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chapter_id = 6;</code>
|
||||
* @param value The chapterId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setChapterId(int value) {
|
||||
|
||||
chapterId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chapter_id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearChapterId() {
|
||||
|
||||
chapterId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -665,8 +665,8 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n BounceConjuringChapterInfo.proto\"W\n\032Bo" +
|
||||
"unceConjuringChapterInfo\022\021\n\topen_time\030\t " +
|
||||
"\001(\r\022\022\n\nchapter_id\030\013 \001(\r\022\022\n\nbest_score\030\n " +
|
||||
"unceConjuringChapterInfo\022\021\n\topen_time\030\004 " +
|
||||
"\001(\r\022\022\n\nbest_score\030\003 \001(\r\022\022\n\nchapter_id\030\006 " +
|
||||
"\001(\rB\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -678,7 +678,7 @@ public final class BounceConjuringChapterInfoOuterClass {
|
||||
internal_static_BounceConjuringChapterInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_BounceConjuringChapterInfo_descriptor,
|
||||
new java.lang.String[] { "OpenTime", "ChapterId", "BestScore", });
|
||||
new java.lang.String[] { "OpenTime", "BestScore", "ChapterId", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user