mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:45:03 +08:00
Add new protocol definitions
This commit is contained in:
+86
-86
@@ -19,21 +19,21 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 8;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
int getCurCoopPoint();
|
||||
|
||||
/**
|
||||
* <code>bool is_have_progress = 9;</code>
|
||||
* <code>bool is_have_progress = 11;</code>
|
||||
* @return The isHaveProgress.
|
||||
*/
|
||||
boolean getIsHaveProgress();
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 12;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
int getCurCoopPoint();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1965
|
||||
* Obf: DLIGPFKPBJK
|
||||
* CmdId: 29927
|
||||
* Obf: MMAMPOIJIFF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CoopProgressUpdateNotify}
|
||||
@@ -80,16 +80,16 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 64: {
|
||||
|
||||
curCoopPoint_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 88: {
|
||||
|
||||
isHaveProgress_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
curCoopPoint_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -122,21 +122,10 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify.class, emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CUR_COOP_POINT_FIELD_NUMBER = 8;
|
||||
private int curCoopPoint_;
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 8;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurCoopPoint() {
|
||||
return curCoopPoint_;
|
||||
}
|
||||
|
||||
public static final int IS_HAVE_PROGRESS_FIELD_NUMBER = 9;
|
||||
public static final int IS_HAVE_PROGRESS_FIELD_NUMBER = 11;
|
||||
private boolean isHaveProgress_;
|
||||
/**
|
||||
* <code>bool is_have_progress = 9;</code>
|
||||
* <code>bool is_have_progress = 11;</code>
|
||||
* @return The isHaveProgress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,6 +133,17 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
return isHaveProgress_;
|
||||
}
|
||||
|
||||
public static final int CUR_COOP_POINT_FIELD_NUMBER = 12;
|
||||
private int curCoopPoint_;
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 12;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurCoopPoint() {
|
||||
return curCoopPoint_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -158,11 +158,11 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (curCoopPoint_ != 0) {
|
||||
output.writeUInt32(8, curCoopPoint_);
|
||||
}
|
||||
if (isHaveProgress_ != false) {
|
||||
output.writeBool(9, isHaveProgress_);
|
||||
output.writeBool(11, isHaveProgress_);
|
||||
}
|
||||
if (curCoopPoint_ != 0) {
|
||||
output.writeUInt32(12, curCoopPoint_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -173,13 +173,13 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (curCoopPoint_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, curCoopPoint_);
|
||||
}
|
||||
if (isHaveProgress_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(9, isHaveProgress_);
|
||||
.computeBoolSize(11, isHaveProgress_);
|
||||
}
|
||||
if (curCoopPoint_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, curCoopPoint_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -196,10 +196,10 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify other = (emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify) obj;
|
||||
|
||||
if (getCurCoopPoint()
|
||||
!= other.getCurCoopPoint()) return false;
|
||||
if (getIsHaveProgress()
|
||||
!= other.getIsHaveProgress()) return false;
|
||||
if (getCurCoopPoint()
|
||||
!= other.getCurCoopPoint()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,11 +211,11 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CUR_COOP_POINT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurCoopPoint();
|
||||
hash = (37 * hash) + IS_HAVE_PROGRESS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsHaveProgress());
|
||||
hash = (37 * hash) + CUR_COOP_POINT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurCoopPoint();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -313,8 +313,8 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1965
|
||||
* Obf: DLIGPFKPBJK
|
||||
* CmdId: 29927
|
||||
* Obf: MMAMPOIJIFF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CoopProgressUpdateNotify}
|
||||
@@ -354,10 +354,10 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
curCoopPoint_ = 0;
|
||||
|
||||
isHaveProgress_ = false;
|
||||
|
||||
curCoopPoint_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -384,8 +384,8 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify result = new emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify(this);
|
||||
result.curCoopPoint_ = curCoopPoint_;
|
||||
result.isHaveProgress_ = isHaveProgress_;
|
||||
result.curCoopPoint_ = curCoopPoint_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -434,12 +434,12 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.CoopProgressUpdateNotifyOuterClass.CoopProgressUpdateNotify.getDefaultInstance()) return this;
|
||||
if (other.getCurCoopPoint() != 0) {
|
||||
setCurCoopPoint(other.getCurCoopPoint());
|
||||
}
|
||||
if (other.getIsHaveProgress() != false) {
|
||||
setIsHaveProgress(other.getIsHaveProgress());
|
||||
}
|
||||
if (other.getCurCoopPoint() != 0) {
|
||||
setCurCoopPoint(other.getCurCoopPoint());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -469,40 +469,9 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int curCoopPoint_ ;
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 8;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurCoopPoint() {
|
||||
return curCoopPoint_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 8;</code>
|
||||
* @param value The curCoopPoint to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCurCoopPoint(int value) {
|
||||
|
||||
curCoopPoint_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurCoopPoint() {
|
||||
|
||||
curCoopPoint_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isHaveProgress_ ;
|
||||
/**
|
||||
* <code>bool is_have_progress = 9;</code>
|
||||
* <code>bool is_have_progress = 11;</code>
|
||||
* @return The isHaveProgress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -510,7 +479,7 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
return isHaveProgress_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_have_progress = 9;</code>
|
||||
* <code>bool is_have_progress = 11;</code>
|
||||
* @param value The isHaveProgress to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -521,7 +490,7 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_have_progress = 9;</code>
|
||||
* <code>bool is_have_progress = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsHaveProgress() {
|
||||
@@ -530,6 +499,37 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int curCoopPoint_ ;
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 12;</code>
|
||||
* @return The curCoopPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCurCoopPoint() {
|
||||
return curCoopPoint_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 12;</code>
|
||||
* @param value The curCoopPoint to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCurCoopPoint(int value) {
|
||||
|
||||
curCoopPoint_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_coop_point = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurCoopPoint() {
|
||||
|
||||
curCoopPoint_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -598,8 +598,8 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036CoopProgressUpdateNotify.proto\"L\n\030Coop" +
|
||||
"ProgressUpdateNotify\022\026\n\016cur_coop_point\030\010" +
|
||||
" \001(\r\022\030\n\020is_have_progress\030\t \001(\010B\033\n\031emu.gr" +
|
||||
"ProgressUpdateNotify\022\030\n\020is_have_progress" +
|
||||
"\030\013 \001(\010\022\026\n\016cur_coop_point\030\014 \001(\rB\033\n\031emu.gr" +
|
||||
"asscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -611,7 +611,7 @@ public final class CoopProgressUpdateNotifyOuterClass {
|
||||
internal_static_CoopProgressUpdateNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_CoopProgressUpdateNotify_descriptor,
|
||||
new java.lang.String[] { "CurCoopPoint", "IsHaveProgress", });
|
||||
new java.lang.String[] { "IsHaveProgress", "CurCoopPoint", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user