mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 09:29:51 +08:00
Update 3.0 protos
This commit is contained in:
committed by
Luke H-W
Unverified
parent
5db73d2849
commit
d575d1ccea
+65
-65
@@ -18,12 +18,6 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
// @@protoc_insertion_point(interface_extends:ActivityUpdateWatcherNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
int getActivityId();
|
||||
|
||||
/**
|
||||
* <code>.ActivityWatcherInfo watcher_info = 2;</code>
|
||||
* @return Whether the watcherInfo field is set.
|
||||
@@ -38,12 +32,18 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
* <code>.ActivityWatcherInfo watcher_info = 2;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfoOrBuilder getWatcherInfoOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
int getActivityId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2172
|
||||
* CmdId: 2156
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
@@ -141,17 +141,6 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify.class, emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ACTIVITY_ID_FIELD_NUMBER = 1;
|
||||
private int activityId_;
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getActivityId() {
|
||||
return activityId_;
|
||||
}
|
||||
|
||||
public static final int WATCHER_INFO_FIELD_NUMBER = 2;
|
||||
private emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfo watcherInfo_;
|
||||
/**
|
||||
@@ -178,6 +167,17 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
return getWatcherInfo();
|
||||
}
|
||||
|
||||
public static final int ACTIVITY_ID_FIELD_NUMBER = 1;
|
||||
private int activityId_;
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getActivityId() {
|
||||
return activityId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -230,13 +230,13 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify other = (emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify) obj;
|
||||
|
||||
if (getActivityId()
|
||||
!= other.getActivityId()) return false;
|
||||
if (hasWatcherInfo() != other.hasWatcherInfo()) return false;
|
||||
if (hasWatcherInfo()) {
|
||||
if (!getWatcherInfo()
|
||||
.equals(other.getWatcherInfo())) return false;
|
||||
}
|
||||
if (getActivityId()
|
||||
!= other.getActivityId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -248,12 +248,12 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + ACTIVITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getActivityId();
|
||||
if (hasWatcherInfo()) {
|
||||
hash = (37 * hash) + WATCHER_INFO_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWatcherInfo().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + ACTIVITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getActivityId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -351,9 +351,9 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2172
|
||||
* CmdId: 2156
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
@@ -394,14 +394,14 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
activityId_ = 0;
|
||||
|
||||
if (watcherInfoBuilder_ == null) {
|
||||
watcherInfo_ = null;
|
||||
} else {
|
||||
watcherInfo_ = null;
|
||||
watcherInfoBuilder_ = null;
|
||||
}
|
||||
activityId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -428,12 +428,12 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify result = new emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify(this);
|
||||
result.activityId_ = activityId_;
|
||||
if (watcherInfoBuilder_ == null) {
|
||||
result.watcherInfo_ = watcherInfo_;
|
||||
} else {
|
||||
result.watcherInfo_ = watcherInfoBuilder_.build();
|
||||
}
|
||||
result.activityId_ = activityId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -482,12 +482,12 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.ActivityUpdateWatcherNotifyOuterClass.ActivityUpdateWatcherNotify.getDefaultInstance()) return this;
|
||||
if (other.getActivityId() != 0) {
|
||||
setActivityId(other.getActivityId());
|
||||
}
|
||||
if (other.hasWatcherInfo()) {
|
||||
mergeWatcherInfo(other.getWatcherInfo());
|
||||
}
|
||||
if (other.getActivityId() != 0) {
|
||||
setActivityId(other.getActivityId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -517,37 +517,6 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int activityId_ ;
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getActivityId() {
|
||||
return activityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @param value The activityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setActivityId(int value) {
|
||||
|
||||
activityId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearActivityId() {
|
||||
|
||||
activityId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfo watcherInfo_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfo, emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfo.Builder, emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.ActivityWatcherInfoOrBuilder> watcherInfoBuilder_;
|
||||
@@ -666,6 +635,37 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
}
|
||||
return watcherInfoBuilder_;
|
||||
}
|
||||
|
||||
private int activityId_ ;
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return The activityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getActivityId() {
|
||||
return activityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @param value The activityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setActivityId(int value) {
|
||||
|
||||
activityId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 activity_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearActivityId() {
|
||||
|
||||
activityId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -735,8 +735,8 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n!ActivityUpdateWatcherNotify.proto\032\031Act" +
|
||||
"ivityWatcherInfo.proto\"^\n\033ActivityUpdate" +
|
||||
"WatcherNotify\022\023\n\013activity_id\030\001 \001(\r\022*\n\014wa" +
|
||||
"tcher_info\030\002 \001(\0132\024.ActivityWatcherInfoB\033" +
|
||||
"WatcherNotify\022*\n\014watcher_info\030\002 \001(\0132\024.Ac" +
|
||||
"tivityWatcherInfo\022\023\n\013activity_id\030\001 \001(\rB\033" +
|
||||
"\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -749,7 +749,7 @@ public final class ActivityUpdateWatcherNotifyOuterClass {
|
||||
internal_static_ActivityUpdateWatcherNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ActivityUpdateWatcherNotify_descriptor,
|
||||
new java.lang.String[] { "ActivityId", "WatcherInfo", });
|
||||
new java.lang.String[] { "WatcherInfo", "ActivityId", });
|
||||
emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user