mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 05:03:35 +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:
+95
-95
@@ -19,27 +19,27 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 13;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 watcher_id = 5;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
int getWatcherId();
|
||||
|
||||
/**
|
||||
* <code>uint32 activity_id = 3;</code>
|
||||
* <code>uint32 activity_id = 7;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
int getActivityId();
|
||||
|
||||
/**
|
||||
* <code>uint32 watcher_id = 10;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
int getWatcherId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FBJIKPIMBJM
|
||||
* CmdId: 2082
|
||||
* CmdId: 2122
|
||||
* Name: IIEIAEEFLGL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ActivityTakeWatcherRewardRsp}
|
||||
@@ -86,21 +86,21 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 24: {
|
||||
case 56: {
|
||||
|
||||
activityId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
||||
watcherId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
case 72: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
watcherId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -133,10 +133,10 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
emu.grasscutter.net.proto.ActivityTakeWatcherRewardRspOuterClass.ActivityTakeWatcherRewardRsp.class, emu.grasscutter.net.proto.ActivityTakeWatcherRewardRspOuterClass.ActivityTakeWatcherRewardRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 13;
|
||||
public static final int RETCODE_FIELD_NUMBER = 9;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 13;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,21 +144,10 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int WATCHER_ID_FIELD_NUMBER = 5;
|
||||
private int watcherId_;
|
||||
/**
|
||||
* <code>uint32 watcher_id = 5;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWatcherId() {
|
||||
return watcherId_;
|
||||
}
|
||||
|
||||
public static final int ACTIVITY_ID_FIELD_NUMBER = 3;
|
||||
public static final int ACTIVITY_ID_FIELD_NUMBER = 7;
|
||||
private int activityId_;
|
||||
/**
|
||||
* <code>uint32 activity_id = 3;</code>
|
||||
* <code>uint32 activity_id = 7;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -166,6 +155,17 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return activityId_;
|
||||
}
|
||||
|
||||
public static final int WATCHER_ID_FIELD_NUMBER = 10;
|
||||
private int watcherId_;
|
||||
/**
|
||||
* <code>uint32 watcher_id = 10;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWatcherId() {
|
||||
return watcherId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -181,13 +181,13 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (activityId_ != 0) {
|
||||
output.writeUInt32(3, activityId_);
|
||||
}
|
||||
if (watcherId_ != 0) {
|
||||
output.writeUInt32(5, watcherId_);
|
||||
output.writeUInt32(7, activityId_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(13, retcode_);
|
||||
output.writeInt32(9, retcode_);
|
||||
}
|
||||
if (watcherId_ != 0) {
|
||||
output.writeUInt32(10, watcherId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -200,15 +200,15 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
size = 0;
|
||||
if (activityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, activityId_);
|
||||
}
|
||||
if (watcherId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, watcherId_);
|
||||
.computeUInt32Size(7, activityId_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(13, retcode_);
|
||||
.computeInt32Size(9, retcode_);
|
||||
}
|
||||
if (watcherId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, watcherId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -227,10 +227,10 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getWatcherId()
|
||||
!= other.getWatcherId()) return false;
|
||||
if (getActivityId()
|
||||
!= other.getActivityId()) return false;
|
||||
if (getWatcherId()
|
||||
!= other.getWatcherId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -244,10 +244,10 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + WATCHER_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWatcherId();
|
||||
hash = (37 * hash) + ACTIVITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getActivityId();
|
||||
hash = (37 * hash) + WATCHER_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWatcherId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -345,8 +345,8 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FBJIKPIMBJM
|
||||
* CmdId: 2082
|
||||
* CmdId: 2122
|
||||
* Name: IIEIAEEFLGL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ActivityTakeWatcherRewardRsp}
|
||||
@@ -388,10 +388,10 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
watcherId_ = 0;
|
||||
|
||||
activityId_ = 0;
|
||||
|
||||
watcherId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -419,8 +419,8 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
public emu.grasscutter.net.proto.ActivityTakeWatcherRewardRspOuterClass.ActivityTakeWatcherRewardRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.ActivityTakeWatcherRewardRspOuterClass.ActivityTakeWatcherRewardRsp result = new emu.grasscutter.net.proto.ActivityTakeWatcherRewardRspOuterClass.ActivityTakeWatcherRewardRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.watcherId_ = watcherId_;
|
||||
result.activityId_ = activityId_;
|
||||
result.watcherId_ = watcherId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -472,12 +472,12 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getWatcherId() != 0) {
|
||||
setWatcherId(other.getWatcherId());
|
||||
}
|
||||
if (other.getActivityId() != 0) {
|
||||
setActivityId(other.getActivityId());
|
||||
}
|
||||
if (other.getWatcherId() != 0) {
|
||||
setWatcherId(other.getWatcherId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -509,7 +509,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 13;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -517,7 +517,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 13;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -528,7 +528,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 13;</code>
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -538,40 +538,9 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int watcherId_ ;
|
||||
/**
|
||||
* <code>uint32 watcher_id = 5;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWatcherId() {
|
||||
return watcherId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 watcher_id = 5;</code>
|
||||
* @param value The watcherId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWatcherId(int value) {
|
||||
|
||||
watcherId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 watcher_id = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWatcherId() {
|
||||
|
||||
watcherId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int activityId_ ;
|
||||
/**
|
||||
* <code>uint32 activity_id = 3;</code>
|
||||
* <code>uint32 activity_id = 7;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -579,7 +548,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return activityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 3;</code>
|
||||
* <code>uint32 activity_id = 7;</code>
|
||||
* @param value The activityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -590,7 +559,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 3;</code>
|
||||
* <code>uint32 activity_id = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearActivityId() {
|
||||
@@ -599,6 +568,37 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int watcherId_ ;
|
||||
/**
|
||||
* <code>uint32 watcher_id = 10;</code>
|
||||
* @return The watcherId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWatcherId() {
|
||||
return watcherId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 watcher_id = 10;</code>
|
||||
* @param value The watcherId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWatcherId(int value) {
|
||||
|
||||
watcherId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 watcher_id = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWatcherId() {
|
||||
|
||||
watcherId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -668,8 +668,8 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\"ActivityTakeWatcherRewardRsp.proto\"X\n\034" +
|
||||
"ActivityTakeWatcherRewardRsp\022\017\n\007retcode\030" +
|
||||
"\r \001(\005\022\022\n\nwatcher_id\030\005 \001(\r\022\023\n\013activity_id" +
|
||||
"\030\003 \001(\rB\033\n\031emu.grasscutter.net.protob\006pro" +
|
||||
"\t \001(\005\022\023\n\013activity_id\030\007 \001(\r\022\022\n\nwatcher_id" +
|
||||
"\030\n \001(\rB\033\n\031emu.grasscutter.net.protob\006pro" +
|
||||
"to3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -681,7 +681,7 @@ public final class ActivityTakeWatcherRewardRspOuterClass {
|
||||
internal_static_ActivityTakeWatcherRewardRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ActivityTakeWatcherRewardRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "WatcherId", "ActivityId", });
|
||||
new java.lang.String[] { "Retcode", "ActivityId", "WatcherId", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user