Commit d575d1cc authored by Benj's avatar Benj Committed by Luke H-W
Browse files

Update 3.0 protos

parent 5db73d28
...@@ -30,16 +30,19 @@ public final class QueryPathReqOuterClass { ...@@ -30,16 +30,19 @@ public final class QueryPathReqOuterClass {
emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq.OptionType getQueryType(); emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq.OptionType getQueryType();
/** /**
* <code>int32 query_id = 15;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The queryId. * @return Whether the sourceExtend field is set.
*/ */
int getQueryId(); boolean hasSourceExtend();
/** /**
* <code>uint32 scene_id = 11;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The sceneId. * @return The sourceExtend.
*/ */
int getSceneId(); emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend();
/**
* <code>.Vector3Int source_extend = 6;</code>
*/
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder();
/** /**
* <code>.Vector source_pos = 2;</code> * <code>.Vector source_pos = 2;</code>
...@@ -56,30 +59,6 @@ public final class QueryPathReqOuterClass { ...@@ -56,30 +59,6 @@ public final class QueryPathReqOuterClass {
*/ */
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder(); emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector>
getDestinationPosList();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index);
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
int getDestinationPosCount();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosOrBuilderList();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index);
/** /**
* <code>.QueryFilter filter = 12;</code> * <code>.QueryFilter filter = 12;</code>
* @return Whether the filter field is set. * @return Whether the filter field is set.
...@@ -95,6 +74,12 @@ public final class QueryPathReqOuterClass { ...@@ -95,6 +74,12 @@ public final class QueryPathReqOuterClass {
*/ */
emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilterOrBuilder getFilterOrBuilder(); emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilterOrBuilder getFilterOrBuilder();
/**
* <code>int32 query_id = 15;</code>
* @return The queryId.
*/
int getQueryId();
/** /**
* <code>.Vector3Int destination_extend = 4;</code> * <code>.Vector3Int destination_extend = 4;</code>
* @return Whether the destinationExtend field is set. * @return Whether the destinationExtend field is set.
...@@ -111,25 +96,40 @@ public final class QueryPathReqOuterClass { ...@@ -111,25 +96,40 @@ public final class QueryPathReqOuterClass {
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getDestinationExtendOrBuilder(); emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getDestinationExtendOrBuilder();
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return Whether the sourceExtend field is set.
*/ */
boolean hasSourceExtend(); java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector>
getDestinationPosList();
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return The sourceExtend.
*/ */
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend(); emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index);
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder(); int getDestinationPosCount();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosOrBuilderList();
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index);
/**
* <code>uint32 scene_id = 11;</code>
* @return The sceneId.
*/
int getSceneId();
} }
/** /**
* <pre> * <pre>
* CmdId: 2309 * CmdId: 2372
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -428,26 +428,30 @@ public final class QueryPathReqOuterClass { ...@@ -428,26 +428,30 @@ public final class QueryPathReqOuterClass {
return result == null ? emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq.OptionType.UNRECOGNIZED : result; return result == null ? emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq.OptionType.UNRECOGNIZED : result;
} }
public static final int QUERY_ID_FIELD_NUMBER = 15; public static final int SOURCE_EXTEND_FIELD_NUMBER = 6;
private int queryId_; private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int sourceExtend_;
/** /**
* <code>int32 query_id = 15;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The queryId. * @return Whether the sourceExtend field is set.
*/ */
@java.lang.Override @java.lang.Override
public int getQueryId() { public boolean hasSourceExtend() {
return queryId_; return sourceExtend_ != null;
} }
public static final int SCENE_ID_FIELD_NUMBER = 11;
private int sceneId_;
/** /**
* <code>uint32 scene_id = 11;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The sceneId. * @return The sourceExtend.
*/ */
@java.lang.Override @java.lang.Override
public int getSceneId() { public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend() {
return sceneId_; return sourceExtend_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_;
}
/**
* <code>.Vector3Int source_extend = 6;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder() {
return getSourceExtend();
} }
public static final int SOURCE_POS_FIELD_NUMBER = 2; public static final int SOURCE_POS_FIELD_NUMBER = 2;
...@@ -476,46 +480,6 @@ public final class QueryPathReqOuterClass { ...@@ -476,46 +480,6 @@ public final class QueryPathReqOuterClass {
return getSourcePos(); return getSourcePos();
} }
public static final int DESTINATION_POS_FIELD_NUMBER = 10;
private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> destinationPos_;
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getDestinationPosList() {
return destinationPos_;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosOrBuilderList() {
return destinationPos_;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public int getDestinationPosCount() {
return destinationPos_.size();
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index) {
return destinationPos_.get(index);
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index) {
return destinationPos_.get(index);
}
public static final int FILTER_FIELD_NUMBER = 12; public static final int FILTER_FIELD_NUMBER = 12;
private emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter filter_; private emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter filter_;
/** /**
...@@ -542,6 +506,17 @@ public final class QueryPathReqOuterClass { ...@@ -542,6 +506,17 @@ public final class QueryPathReqOuterClass {
return getFilter(); return getFilter();
} }
public static final int QUERY_ID_FIELD_NUMBER = 15;
private int queryId_;
/**
* <code>int32 query_id = 15;</code>
* @return The queryId.
*/
@java.lang.Override
public int getQueryId() {
return queryId_;
}
public static final int DESTINATION_EXTEND_FIELD_NUMBER = 4; public static final int DESTINATION_EXTEND_FIELD_NUMBER = 4;
private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int destinationExtend_; private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int destinationExtend_;
/** /**
...@@ -568,30 +543,55 @@ public final class QueryPathReqOuterClass { ...@@ -568,30 +543,55 @@ public final class QueryPathReqOuterClass {
return getDestinationExtend(); return getDestinationExtend();
} }
public static final int SOURCE_EXTEND_FIELD_NUMBER = 6; public static final int DESTINATION_POS_FIELD_NUMBER = 10;
private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int sourceExtend_; private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> destinationPos_;
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return Whether the sourceExtend field is set.
*/ */
@java.lang.Override @java.lang.Override
public boolean hasSourceExtend() { public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getDestinationPosList() {
return sourceExtend_ != null; return destinationPos_;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return The sourceExtend.
*/ */
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend() { public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
return sourceExtend_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_; getDestinationPosOrBuilderList() {
return destinationPos_;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder() { public int getDestinationPosCount() {
return getSourceExtend(); return destinationPos_.size();
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index) {
return destinationPos_.get(index);
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index) {
return destinationPos_.get(index);
}
public static final int SCENE_ID_FIELD_NUMBER = 11;
private int sceneId_;
/**
* <code>uint32 scene_id = 11;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
...@@ -689,32 +689,32 @@ public final class QueryPathReqOuterClass { ...@@ -689,32 +689,32 @@ public final class QueryPathReqOuterClass {
emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq other = (emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq) obj; emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq other = (emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq) obj;
if (queryType_ != other.queryType_) return false; if (queryType_ != other.queryType_) return false;
if (getQueryId() if (hasSourceExtend() != other.hasSourceExtend()) return false;
!= other.getQueryId()) return false; if (hasSourceExtend()) {
if (getSceneId() if (!getSourceExtend()
!= other.getSceneId()) return false; .equals(other.getSourceExtend())) return false;
}
if (hasSourcePos() != other.hasSourcePos()) return false; if (hasSourcePos() != other.hasSourcePos()) return false;
if (hasSourcePos()) { if (hasSourcePos()) {
if (!getSourcePos() if (!getSourcePos()
.equals(other.getSourcePos())) return false; .equals(other.getSourcePos())) return false;
} }
if (!getDestinationPosList()
.equals(other.getDestinationPosList())) return false;
if (hasFilter() != other.hasFilter()) return false; if (hasFilter() != other.hasFilter()) return false;
if (hasFilter()) { if (hasFilter()) {
if (!getFilter() if (!getFilter()
.equals(other.getFilter())) return false; .equals(other.getFilter())) return false;
} }
if (getQueryId()
!= other.getQueryId()) return false;
if (hasDestinationExtend() != other.hasDestinationExtend()) return false; if (hasDestinationExtend() != other.hasDestinationExtend()) return false;
if (hasDestinationExtend()) { if (hasDestinationExtend()) {
if (!getDestinationExtend() if (!getDestinationExtend()
.equals(other.getDestinationExtend())) return false; .equals(other.getDestinationExtend())) return false;
} }
if (hasSourceExtend() != other.hasSourceExtend()) return false; if (!getDestinationPosList()
if (hasSourceExtend()) { .equals(other.getDestinationPosList())) return false;
if (!getSourceExtend() if (getSceneId()
.equals(other.getSourceExtend())) return false; != other.getSceneId()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
...@@ -728,30 +728,30 @@ public final class QueryPathReqOuterClass { ...@@ -728,30 +728,30 @@ public final class QueryPathReqOuterClass {
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + QUERY_TYPE_FIELD_NUMBER; hash = (37 * hash) + QUERY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + queryType_; hash = (53 * hash) + queryType_;
hash = (37 * hash) + QUERY_ID_FIELD_NUMBER; if (hasSourceExtend()) {
hash = (53 * hash) + getQueryId(); hash = (37 * hash) + SOURCE_EXTEND_FIELD_NUMBER;
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getSourceExtend().hashCode();
hash = (53 * hash) + getSceneId(); }
if (hasSourcePos()) { if (hasSourcePos()) {
hash = (37 * hash) + SOURCE_POS_FIELD_NUMBER; hash = (37 * hash) + SOURCE_POS_FIELD_NUMBER;
hash = (53 * hash) + getSourcePos().hashCode(); hash = (53 * hash) + getSourcePos().hashCode();
} }
if (getDestinationPosCount() > 0) {
hash = (37 * hash) + DESTINATION_POS_FIELD_NUMBER;
hash = (53 * hash) + getDestinationPosList().hashCode();
}
if (hasFilter()) { if (hasFilter()) {
hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode(); hash = (53 * hash) + getFilter().hashCode();
} }
hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
hash = (53 * hash) + getQueryId();
if (hasDestinationExtend()) { if (hasDestinationExtend()) {
hash = (37 * hash) + DESTINATION_EXTEND_FIELD_NUMBER; hash = (37 * hash) + DESTINATION_EXTEND_FIELD_NUMBER;
hash = (53 * hash) + getDestinationExtend().hashCode(); hash = (53 * hash) + getDestinationExtend().hashCode();
} }
if (hasSourceExtend()) { if (getDestinationPosCount() > 0) {
hash = (37 * hash) + SOURCE_EXTEND_FIELD_NUMBER; hash = (37 * hash) + DESTINATION_POS_FIELD_NUMBER;
hash = (53 * hash) + getSourceExtend().hashCode(); hash = (53 * hash) + getDestinationPosList().hashCode();
} }
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
...@@ -849,9 +849,9 @@ public final class QueryPathReqOuterClass { ...@@ -849,9 +849,9 @@ public final class QueryPathReqOuterClass {
} }
/** /**
* <pre> * <pre>
* CmdId: 2309 * CmdId: 2372
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -895,40 +895,40 @@ public final class QueryPathReqOuterClass { ...@@ -895,40 +895,40 @@ public final class QueryPathReqOuterClass {
super.clear(); super.clear();
queryType_ = 0; queryType_ = 0;
queryId_ = 0; if (sourceExtendBuilder_ == null) {
sourceExtend_ = null;
sceneId_ = 0; } else {
sourceExtend_ = null;
sourceExtendBuilder_ = null;
}
if (sourcePosBuilder_ == null) { if (sourcePosBuilder_ == null) {
sourcePos_ = null; sourcePos_ = null;
} else { } else {
sourcePos_ = null; sourcePos_ = null;
sourcePosBuilder_ = null; sourcePosBuilder_ = null;
} }
if (destinationPosBuilder_ == null) {
destinationPos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
destinationPosBuilder_.clear();
}
if (filterBuilder_ == null) { if (filterBuilder_ == null) {
filter_ = null; filter_ = null;
} else { } else {
filter_ = null; filter_ = null;
filterBuilder_ = null; filterBuilder_ = null;
} }
queryId_ = 0;
if (destinationExtendBuilder_ == null) { if (destinationExtendBuilder_ == null) {
destinationExtend_ = null; destinationExtend_ = null;
} else { } else {
destinationExtend_ = null; destinationExtend_ = null;
destinationExtendBuilder_ = null; destinationExtendBuilder_ = null;
} }
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
sourceExtend_ = null; destinationPos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else { } else {
sourceExtend_ = null; destinationPosBuilder_.clear();
sourceExtendBuilder_ = null;
} }
sceneId_ = 0;
return this; return this;
} }
...@@ -957,37 +957,37 @@ public final class QueryPathReqOuterClass { ...@@ -957,37 +957,37 @@ public final class QueryPathReqOuterClass {
emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq result = new emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq(this); emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq result = new emu.grasscutter.net.proto.QueryPathReqOuterClass.QueryPathReq(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
result.queryType_ = queryType_; result.queryType_ = queryType_;
result.queryId_ = queryId_; if (sourceExtendBuilder_ == null) {
result.sceneId_ = sceneId_; result.sourceExtend_ = sourceExtend_;
} else {
result.sourceExtend_ = sourceExtendBuilder_.build();
}
if (sourcePosBuilder_ == null) { if (sourcePosBuilder_ == null) {
result.sourcePos_ = sourcePos_; result.sourcePos_ = sourcePos_;
} else { } else {
result.sourcePos_ = sourcePosBuilder_.build(); result.sourcePos_ = sourcePosBuilder_.build();
} }
if (destinationPosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
destinationPos_ = java.util.Collections.unmodifiableList(destinationPos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.destinationPos_ = destinationPos_;
} else {
result.destinationPos_ = destinationPosBuilder_.build();
}
if (filterBuilder_ == null) { if (filterBuilder_ == null) {
result.filter_ = filter_; result.filter_ = filter_;
} else { } else {
result.filter_ = filterBuilder_.build(); result.filter_ = filterBuilder_.build();
} }
result.queryId_ = queryId_;
if (destinationExtendBuilder_ == null) { if (destinationExtendBuilder_ == null) {
result.destinationExtend_ = destinationExtend_; result.destinationExtend_ = destinationExtend_;
} else { } else {
result.destinationExtend_ = destinationExtendBuilder_.build(); result.destinationExtend_ = destinationExtendBuilder_.build();
} }
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
result.sourceExtend_ = sourceExtend_; if (((bitField0_ & 0x00000001) != 0)) {
destinationPos_ = java.util.Collections.unmodifiableList(destinationPos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.destinationPos_ = destinationPos_;
} else { } else {
result.sourceExtend_ = sourceExtendBuilder_.build(); result.destinationPos_ = destinationPosBuilder_.build();
} }
result.sceneId_ = sceneId_;
onBuilt(); onBuilt();
return result; return result;
} }
...@@ -1039,15 +1039,21 @@ public final class QueryPathReqOuterClass { ...@@ -1039,15 +1039,21 @@ public final class QueryPathReqOuterClass {
if (other.queryType_ != 0) { if (other.queryType_ != 0) {
setQueryTypeValue(other.getQueryTypeValue()); setQueryTypeValue(other.getQueryTypeValue());
} }
if (other.getQueryId() != 0) { if (other.hasSourceExtend()) {
setQueryId(other.getQueryId()); mergeSourceExtend(other.getSourceExtend());
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
} }
if (other.hasSourcePos()) { if (other.hasSourcePos()) {
mergeSourcePos(other.getSourcePos()); mergeSourcePos(other.getSourcePos());
} }
if (other.hasFilter()) {
mergeFilter(other.getFilter());
}
if (other.getQueryId() != 0) {
setQueryId(other.getQueryId());
}
if (other.hasDestinationExtend()) {
mergeDestinationExtend(other.getDestinationExtend());
}
if (destinationPosBuilder_ == null) { if (destinationPosBuilder_ == null) {
if (!other.destinationPos_.isEmpty()) { if (!other.destinationPos_.isEmpty()) {
if (destinationPos_.isEmpty()) { if (destinationPos_.isEmpty()) {
...@@ -1074,14 +1080,8 @@ public final class QueryPathReqOuterClass { ...@@ -1074,14 +1080,8 @@ public final class QueryPathReqOuterClass {
} }
} }
} }
if (other.hasFilter()) { if (other.getSceneId() != 0) {
mergeFilter(other.getFilter()); setSceneId(other.getSceneId());
}
if (other.hasDestinationExtend()) {
mergeDestinationExtend(other.getDestinationExtend());
}
if (other.hasSourceExtend()) {
mergeSourceExtend(other.getSourceExtend());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
...@@ -1167,66 +1167,123 @@ public final class QueryPathReqOuterClass { ...@@ -1167,66 +1167,123 @@ public final class QueryPathReqOuterClass {
return this; return this;
} }
private int queryId_ ; private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int sourceExtend_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> sourceExtendBuilder_;
/** /**
* <code>int32 query_id = 15;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The queryId. * @return Whether the sourceExtend field is set.
*/ */
@java.lang.Override public boolean hasSourceExtend() {
public int getQueryId() { return sourceExtendBuilder_ != null || sourceExtend_ != null;
return queryId_;
} }
/** /**
* <code>int32 query_id = 15;</code> * <code>.Vector3Int source_extend = 6;</code>
* @param value The queryId to set. * @return The sourceExtend.
* @return This builder for chaining.
*/ */
public Builder setQueryId(int value) { public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend() {
if (sourceExtendBuilder_ == null) {
queryId_ = value; return sourceExtend_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_;
onChanged(); } else {
return this; return sourceExtendBuilder_.getMessage();
}
} }
/** /**
* <code>int32 query_id = 15;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return This builder for chaining.
*/ */
public Builder clearQueryId() { public Builder setSourceExtend(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) {
if (sourceExtendBuilder_ == null) {
queryId_ = 0; if (value == null) {
onChanged(); throw new NullPointerException();
}
sourceExtend_ = value;
onChanged();
} else {
sourceExtendBuilder_.setMessage(value);
}
return this; return this;
} }
/**
* <code>.Vector3Int source_extend = 6;</code>
*/
public Builder setSourceExtend(
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder builderForValue) {
if (sourceExtendBuilder_ == null) {
sourceExtend_ = builderForValue.build();
onChanged();
} else {
sourceExtendBuilder_.setMessage(builderForValue.build());
}
private int sceneId_ ; return this;
}
/** /**
* <code>uint32 scene_id = 11;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return The sceneId.
*/ */
@java.lang.Override public Builder mergeSourceExtend(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) {
public int getSceneId() { if (sourceExtendBuilder_ == null) {
return sceneId_; if (sourceExtend_ != null) {
sourceExtend_ =
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.newBuilder(sourceExtend_).mergeFrom(value).buildPartial();
} else {
sourceExtend_ = value;
}
onChanged();
} else {
sourceExtendBuilder_.mergeFrom(value);
}
return this;
} }
/** /**
* <code>uint32 scene_id = 11;</code> * <code>.Vector3Int source_extend = 6;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/ */
public Builder setSceneId(int value) { public Builder clearSourceExtend() {
if (sourceExtendBuilder_ == null) {
sceneId_ = value; sourceExtend_ = null;
onChanged(); onChanged();
} else {
sourceExtend_ = null;
sourceExtendBuilder_ = null;
}
return this; return this;
} }
/** /**
* <code>uint32 scene_id = 11;</code> * <code>.Vector3Int source_extend = 6;</code>
* @return This builder for chaining.
*/ */
public Builder clearSceneId() { public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder getSourceExtendBuilder() {
sceneId_ = 0;
onChanged(); onChanged();
return this; return getSourceExtendFieldBuilder().getBuilder();
}
/**
* <code>.Vector3Int source_extend = 6;</code>
*/
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder() {
if (sourceExtendBuilder_ != null) {
return sourceExtendBuilder_.getMessageOrBuilder();
} else {
return sourceExtend_ == null ?
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_;
}
}
/**
* <code>.Vector3Int source_extend = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder>
getSourceExtendFieldBuilder() {
if (sourceExtendBuilder_ == null) {
sourceExtendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder>(
getSourceExtend(),
getParentForChildren(),
isClean());
sourceExtend_ = null;
}
return sourceExtendBuilder_;
} }
private emu.grasscutter.net.proto.VectorOuterClass.Vector sourcePos_; private emu.grasscutter.net.proto.VectorOuterClass.Vector sourcePos_;
...@@ -1348,269 +1405,29 @@ public final class QueryPathReqOuterClass { ...@@ -1348,269 +1405,29 @@ public final class QueryPathReqOuterClass {
return sourcePosBuilder_; return sourcePosBuilder_;
} }
private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> destinationPos_ = private emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter filter_;
java.util.Collections.emptyList(); private com.google.protobuf.SingleFieldBuilderV3<
private void ensureDestinationPosIsMutable() { emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter, emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter.Builder, emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilterOrBuilder> filterBuilder_;
if (!((bitField0_ & 0x00000001) != 0)) {
destinationPos_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>(destinationPos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> destinationPosBuilder_;
/** /**
* <code>repeated .Vector destination_pos = 10;</code> * <code>.QueryFilter filter = 12;</code>
* @return Whether the filter field is set.
*/ */
public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getDestinationPosList() { public boolean hasFilter() {
if (destinationPosBuilder_ == null) { return filterBuilder_ != null || filter_ != null;
return java.util.Collections.unmodifiableList(destinationPos_);
} else {
return destinationPosBuilder_.getMessageList();
}
} }
/** /**
* <code>repeated .Vector destination_pos = 10;</code> * <code>.QueryFilter filter = 12;</code>
* @return The filter.
*/ */
public int getDestinationPosCount() { public emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter getFilter() {
if (destinationPosBuilder_ == null) { if (filterBuilder_ == null) {
return destinationPos_.size(); return filter_ == null ? emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter.getDefaultInstance() : filter_;
} else { } else {
return destinationPosBuilder_.getCount(); return filterBuilder_.getMessage();
} }
} }
/** /**
* <code>repeated .Vector destination_pos = 10;</code> * <code>.QueryFilter filter = 12;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index) {
if (destinationPosBuilder_ == null) {
return destinationPos_.get(index);
} else {
return destinationPosBuilder_.getMessage(index);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder setDestinationPos(
int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destinationPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDestinationPosIsMutable();
destinationPos_.set(index, value);
onChanged();
} else {
destinationPosBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder setDestinationPos(
int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.set(index, builderForValue.build());
onChanged();
} else {
destinationPosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addDestinationPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destinationPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDestinationPosIsMutable();
destinationPos_.add(value);
onChanged();
} else {
destinationPosBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addDestinationPos(
int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destinationPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDestinationPosIsMutable();
destinationPos_.add(index, value);
onChanged();
} else {
destinationPosBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addDestinationPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.add(builderForValue.build());
onChanged();
} else {
destinationPosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addDestinationPos(
int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.add(index, builderForValue.build());
onChanged();
} else {
destinationPosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addAllDestinationPos(
java.lang.Iterable<? extends emu.grasscutter.net.proto.VectorOuterClass.Vector> values) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, destinationPos_);
onChanged();
} else {
destinationPosBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder clearDestinationPos() {
if (destinationPosBuilder_ == null) {
destinationPos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
destinationPosBuilder_.clear();
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder removeDestinationPos(int index) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.remove(index);
onChanged();
} else {
destinationPosBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestinationPosBuilder(
int index) {
return getDestinationPosFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index) {
if (destinationPosBuilder_ == null) {
return destinationPos_.get(index); } else {
return destinationPosBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosOrBuilderList() {
if (destinationPosBuilder_ != null) {
return destinationPosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(destinationPos_);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addDestinationPosBuilder() {
return getDestinationPosFieldBuilder().addBuilder(
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addDestinationPosBuilder(
int index) {
return getDestinationPosFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder>
getDestinationPosBuilderList() {
return getDestinationPosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosFieldBuilder() {
if (destinationPosBuilder_ == null) {
destinationPosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
destinationPos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
destinationPos_ = null;
}
return destinationPosBuilder_;
}
private emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter filter_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter, emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter.Builder, emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilterOrBuilder> filterBuilder_;
/**
* <code>.QueryFilter filter = 12;</code>
* @return Whether the filter field is set.
*/
public boolean hasFilter() {
return filterBuilder_ != null || filter_ != null;
}
/**
* <code>.QueryFilter filter = 12;</code>
* @return The filter.
*/
public emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter getFilter() {
if (filterBuilder_ == null) {
return filter_ == null ? emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter.getDefaultInstance() : filter_;
} else {
return filterBuilder_.getMessage();
}
}
/**
* <code>.QueryFilter filter = 12;</code>
*/ */
public Builder setFilter(emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter value) { public Builder setFilter(emu.grasscutter.net.proto.QueryFilterOuterClass.QueryFilter value) {
if (filterBuilder_ == null) { if (filterBuilder_ == null) {
...@@ -1707,6 +1524,37 @@ public final class QueryPathReqOuterClass { ...@@ -1707,6 +1524,37 @@ public final class QueryPathReqOuterClass {
return filterBuilder_; return filterBuilder_;
} }
private int queryId_ ;
/**
* <code>int32 query_id = 15;</code>
* @return The queryId.
*/
@java.lang.Override
public int getQueryId() {
return queryId_;
}
/**
* <code>int32 query_id = 15;</code>
* @param value The queryId to set.
* @return This builder for chaining.
*/
public Builder setQueryId(int value) {
queryId_ = value;
onChanged();
return this;
}
/**
* <code>int32 query_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearQueryId() {
queryId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int destinationExtend_; private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int destinationExtend_;
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> destinationExtendBuilder_; emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> destinationExtendBuilder_;
...@@ -1826,123 +1674,275 @@ public final class QueryPathReqOuterClass { ...@@ -1826,123 +1674,275 @@ public final class QueryPathReqOuterClass {
return destinationExtendBuilder_; return destinationExtendBuilder_;
} }
private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int sourceExtend_; private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> destinationPos_ =
private com.google.protobuf.SingleFieldBuilderV3< java.util.Collections.emptyList();
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> sourceExtendBuilder_; private void ensureDestinationPosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
destinationPos_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>(destinationPos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> destinationPosBuilder_;
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return Whether the sourceExtend field is set.
*/ */
public boolean hasSourceExtend() { public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getDestinationPosList() {
return sourceExtendBuilder_ != null || sourceExtend_ != null; if (destinationPosBuilder_ == null) {
return java.util.Collections.unmodifiableList(destinationPos_);
} else {
return destinationPosBuilder_.getMessageList();
}
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
* @return The sourceExtend.
*/ */
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getSourceExtend() { public int getDestinationPosCount() {
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
return sourceExtend_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_; return destinationPos_.size();
} else { } else {
return sourceExtendBuilder_.getMessage(); return destinationPosBuilder_.getCount();
} }
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public Builder setSourceExtend(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) { public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos(int index) {
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
return destinationPos_.get(index);
} else {
return destinationPosBuilder_.getMessage(index);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder setDestinationPos(
int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destinationPosBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
sourceExtend_ = value; ensureDestinationPosIsMutable();
destinationPos_.set(index, value);
onChanged(); onChanged();
} else { } else {
sourceExtendBuilder_.setMessage(value); destinationPosBuilder_.setMessage(index, value);
} }
return this; return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public Builder setSourceExtend( public Builder setDestinationPos(
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder builderForValue) { int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
sourceExtend_ = builderForValue.build(); ensureDestinationPosIsMutable();
destinationPos_.set(index, builderForValue.build());
onChanged(); onChanged();
} else { } else {
sourceExtendBuilder_.setMessage(builderForValue.build()); destinationPosBuilder_.setMessage(index, builderForValue.build());
} }
return this; return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public Builder mergeSourceExtend(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) { public Builder addDestinationPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (sourceExtendBuilder_ == null) { if (destinationPosBuilder_ == null) {
if (sourceExtend_ != null) { if (value == null) {
sourceExtend_ = throw new NullPointerException();
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.newBuilder(sourceExtend_).mergeFrom(value).buildPartial();
} else {
sourceExtend_ = value;
} }
ensureDestinationPosIsMutable();
destinationPos_.add(value);
onChanged(); onChanged();
} else { } else {
sourceExtendBuilder_.mergeFrom(value); destinationPosBuilder_.addMessage(value);
} }
return this; return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public Builder clearSourceExtend() { public Builder addDestinationPos(
if (sourceExtendBuilder_ == null) { int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
sourceExtend_ = null; if (destinationPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDestinationPosIsMutable();
destinationPos_.add(index, value);
onChanged(); onChanged();
} else { } else {
sourceExtend_ = null; destinationPosBuilder_.addMessage(index, value);
sourceExtendBuilder_ = null;
} }
return this; return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder getSourceExtendBuilder() { public Builder addDestinationPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
onChanged(); if (destinationPosBuilder_ == null) {
return getSourceExtendFieldBuilder().getBuilder(); ensureDestinationPosIsMutable();
destinationPos_.add(builderForValue.build());
onChanged();
} else {
destinationPosBuilder_.addMessage(builderForValue.build());
}
return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getSourceExtendOrBuilder() { public Builder addDestinationPos(
if (sourceExtendBuilder_ != null) { int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
return sourceExtendBuilder_.getMessageOrBuilder(); if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.add(index, builderForValue.build());
onChanged();
} else { } else {
return sourceExtend_ == null ? destinationPosBuilder_.addMessage(index, builderForValue.build());
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : sourceExtend_; }
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder addAllDestinationPos(
java.lang.Iterable<? extends emu.grasscutter.net.proto.VectorOuterClass.Vector> values) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, destinationPos_);
onChanged();
} else {
destinationPosBuilder_.addAllMessages(values);
} }
return this;
} }
/** /**
* <code>.Vector3Int source_extend = 6;</code> * <code>repeated .Vector destination_pos = 10;</code>
*/ */
private com.google.protobuf.SingleFieldBuilderV3< public Builder clearDestinationPos() {
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> if (destinationPosBuilder_ == null) {
getSourceExtendFieldBuilder() { destinationPos_ = java.util.Collections.emptyList();
if (sourceExtendBuilder_ == null) { bitField0_ = (bitField0_ & ~0x00000001);
sourceExtendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< onChanged();
emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder>( } else {
getSourceExtend(), destinationPosBuilder_.clear();
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public Builder removeDestinationPos(int index) {
if (destinationPosBuilder_ == null) {
ensureDestinationPosIsMutable();
destinationPos_.remove(index);
onChanged();
} else {
destinationPosBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestinationPosBuilder(
int index) {
return getDestinationPosFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder(
int index) {
if (destinationPosBuilder_ == null) {
return destinationPos_.get(index); } else {
return destinationPosBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosOrBuilderList() {
if (destinationPosBuilder_ != null) {
return destinationPosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(destinationPos_);
}
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addDestinationPosBuilder() {
return getDestinationPosFieldBuilder().addBuilder(
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addDestinationPosBuilder(
int index) {
return getDestinationPosFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
}
/**
* <code>repeated .Vector destination_pos = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder>
getDestinationPosBuilderList() {
return getDestinationPosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getDestinationPosFieldBuilder() {
if (destinationPosBuilder_ == null) {
destinationPosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
destinationPos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(), getParentForChildren(),
isClean()); isClean());
sourceExtend_ = null; destinationPos_ = null;
} }
return sourceExtendBuilder_; return destinationPosBuilder_;
}
private int sceneId_ ;
/**
* <code>uint32 scene_id = 11;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
/**
* <code>uint32 scene_id = 11;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
public Builder setSceneId(int value) {
sceneId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 scene_id = 11;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
sceneId_ = 0;
onChanged();
return this;
} }
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
...@@ -2014,12 +2014,12 @@ public final class QueryPathReqOuterClass { ...@@ -2014,12 +2014,12 @@ public final class QueryPathReqOuterClass {
"\n\022QueryPathReq.proto\032\021QueryFilter.proto\032" + "\n\022QueryPathReq.proto\032\021QueryFilter.proto\032" +
"\014Vector.proto\032\020Vector3Int.proto\"\344\002\n\014Quer" + "\014Vector.proto\032\020Vector3Int.proto\"\344\002\n\014Quer" +
"yPathReq\022,\n\nquery_type\030\r \001(\0162\030.QueryPath" + "yPathReq\022,\n\nquery_type\030\r \001(\0162\030.QueryPath" +
"Req.OptionType\022\020\n\010query_id\030\017 \001(\005\022\020\n\010scen" + "Req.OptionType\022\"\n\rsource_extend\030\006 \001(\0132\013." +
"e_id\030\013 \001(\r\022\033\n\nsource_pos\030\002 \001(\0132\007.Vector\022" + "Vector3Int\022\033\n\nsource_pos\030\002 \001(\0132\007.Vector\022" +
" \n\017destination_pos\030\n \003(\0132\007.Vector\022\034\n\006fil" + "\034\n\006filter\030\014 \001(\0132\014.QueryFilter\022\020\n\010query_i" +
"ter\030\014 \001(\0132\014.QueryFilter\022\'\n\022destination_e" + "d\030\017 \001(\005\022\'\n\022destination_extend\030\004 \001(\0132\013.Ve" +
"xtend\030\004 \001(\0132\013.Vector3Int\022\"\n\rsource_exten" + "ctor3Int\022 \n\017destination_pos\030\n \003(\0132\007.Vect" +
"d\030\006 \001(\0132\013.Vector3Int\"X\n\nOptionType\022\024\n\020OP" + "or\022\020\n\010scene_id\030\013 \001(\r\"X\n\nOptionType\022\024\n\020OP" +
"TION_TYPE_NONE\020\000\022\026\n\022OPTION_TYPE_NORMAL\020\001" + "TION_TYPE_NONE\020\000\022\026\n\022OPTION_TYPE_NORMAL\020\001" +
"\022\034\n\030OPTION_TYPE_FIRST_CAN_GO\020\002B\033\n\031emu.gr" + "\022\034\n\030OPTION_TYPE_FIRST_CAN_GO\020\002B\033\n\031emu.gr" +
"asscutter.net.protob\006proto3" "asscutter.net.protob\006proto3"
...@@ -2036,7 +2036,7 @@ public final class QueryPathReqOuterClass { ...@@ -2036,7 +2036,7 @@ public final class QueryPathReqOuterClass {
internal_static_QueryPathReq_fieldAccessorTable = new internal_static_QueryPathReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_QueryPathReq_descriptor, internal_static_QueryPathReq_descriptor,
new java.lang.String[] { "QueryType", "QueryId", "SceneId", "SourcePos", "DestinationPos", "Filter", "DestinationExtend", "SourceExtend", }); new java.lang.String[] { "QueryType", "SourceExtend", "SourcePos", "Filter", "QueryId", "DestinationExtend", "DestinationPos", "SceneId", });
emu.grasscutter.net.proto.QueryFilterOuterClass.getDescriptor(); emu.grasscutter.net.proto.QueryFilterOuterClass.getDescriptor();
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
emu.grasscutter.net.proto.Vector3IntOuterClass.getDescriptor(); emu.grasscutter.net.proto.Vector3IntOuterClass.getDescriptor();
......
...@@ -18,29 +18,12 @@ public final class QueryPathRspOuterClass { ...@@ -18,29 +18,12 @@ public final class QueryPathRspOuterClass {
// @@protoc_insertion_point(interface_extends:QueryPathRsp) // @@protoc_insertion_point(interface_extends:QueryPathRsp)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
int getRetcode();
/** /**
* <code>int32 query_id = 12;</code> * <code>int32 query_id = 12;</code>
* @return The queryId. * @return The queryId.
*/ */
int getQueryId(); int getQueryId();
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
int getQueryStatusValue();
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus();
/** /**
* <code>repeated .Vector corners = 6;</code> * <code>repeated .Vector corners = 6;</code>
*/ */
...@@ -64,12 +47,30 @@ public final class QueryPathRspOuterClass { ...@@ -64,12 +47,30 @@ public final class QueryPathRspOuterClass {
*/ */
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCornersOrBuilder( emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCornersOrBuilder(
int index); int index);
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
int getQueryStatusValue();
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus();
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
int getRetcode();
} }
/** /**
* <pre> * <pre>
* CmdId: 2398 * CmdId: 2398
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QueryPathRsp} * Protobuf type {@code QueryPathRsp}
...@@ -84,8 +85,8 @@ public final class QueryPathRspOuterClass { ...@@ -84,8 +85,8 @@ public final class QueryPathRspOuterClass {
super(builder); super(builder);
} }
private QueryPathRsp() { private QueryPathRsp() {
queryStatus_ = 0;
corners_ = java.util.Collections.emptyList(); corners_ = java.util.Collections.emptyList();
queryStatus_ = 0;
} }
@java.lang.Override @java.lang.Override
...@@ -296,17 +297,6 @@ public final class QueryPathRspOuterClass { ...@@ -296,17 +297,6 @@ public final class QueryPathRspOuterClass {
// @@protoc_insertion_point(enum_scope:QueryPathRsp.PathStatusType) // @@protoc_insertion_point(enum_scope:QueryPathRsp.PathStatusType)
} }
public static final int RETCODE_FIELD_NUMBER = 1;
private int retcode_;
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int QUERY_ID_FIELD_NUMBER = 12; public static final int QUERY_ID_FIELD_NUMBER = 12;
private int queryId_; private int queryId_;
/** /**
...@@ -318,25 +308,6 @@ public final class QueryPathRspOuterClass { ...@@ -318,25 +308,6 @@ public final class QueryPathRspOuterClass {
return queryId_; return queryId_;
} }
public static final int QUERY_STATUS_FIELD_NUMBER = 8;
private int queryStatus_;
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
@java.lang.Override public int getQueryStatusValue() {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
@java.lang.Override public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.valueOf(queryStatus_);
return result == null ? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.UNRECOGNIZED : result;
}
public static final int CORNERS_FIELD_NUMBER = 6; public static final int CORNERS_FIELD_NUMBER = 6;
private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_; private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_;
/** /**
...@@ -377,6 +348,36 @@ public final class QueryPathRspOuterClass { ...@@ -377,6 +348,36 @@ public final class QueryPathRspOuterClass {
return corners_.get(index); return corners_.get(index);
} }
public static final int QUERY_STATUS_FIELD_NUMBER = 8;
private int queryStatus_;
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
@java.lang.Override public int getQueryStatusValue() {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
@java.lang.Override public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.valueOf(queryStatus_);
return result == null ? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.UNRECOGNIZED : result;
}
public static final int RETCODE_FIELD_NUMBER = 1;
private int retcode_;
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@java.lang.Override @java.lang.Override
public final boolean isInitialized() { public final boolean isInitialized() {
...@@ -443,13 +444,13 @@ public final class QueryPathRspOuterClass { ...@@ -443,13 +444,13 @@ public final class QueryPathRspOuterClass {
} }
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp other = (emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp) obj; emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp other = (emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getQueryId() if (getQueryId()
!= other.getQueryId()) return false; != other.getQueryId()) return false;
if (queryStatus_ != other.queryStatus_) return false;
if (!getCornersList() if (!getCornersList()
.equals(other.getCornersList())) return false; .equals(other.getCornersList())) return false;
if (queryStatus_ != other.queryStatus_) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
...@@ -461,16 +462,16 @@ public final class QueryPathRspOuterClass { ...@@ -461,16 +462,16 @@ public final class QueryPathRspOuterClass {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + QUERY_ID_FIELD_NUMBER; hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
hash = (53 * hash) + getQueryId(); hash = (53 * hash) + getQueryId();
hash = (37 * hash) + QUERY_STATUS_FIELD_NUMBER;
hash = (53 * hash) + queryStatus_;
if (getCornersCount() > 0) { if (getCornersCount() > 0) {
hash = (37 * hash) + CORNERS_FIELD_NUMBER; hash = (37 * hash) + CORNERS_FIELD_NUMBER;
hash = (53 * hash) + getCornersList().hashCode(); hash = (53 * hash) + getCornersList().hashCode();
} }
hash = (37 * hash) + QUERY_STATUS_FIELD_NUMBER;
hash = (53 * hash) + queryStatus_;
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
...@@ -570,7 +571,8 @@ public final class QueryPathRspOuterClass { ...@@ -570,7 +571,8 @@ public final class QueryPathRspOuterClass {
* <pre> * <pre>
* CmdId: 2398 * CmdId: 2398
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QueryPathRsp} * Protobuf type {@code QueryPathRsp}
...@@ -611,18 +613,18 @@ public final class QueryPathRspOuterClass { ...@@ -611,18 +613,18 @@ public final class QueryPathRspOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
retcode_ = 0;
queryId_ = 0; queryId_ = 0;
queryStatus_ = 0;
if (cornersBuilder_ == null) { if (cornersBuilder_ == null) {
corners_ = java.util.Collections.emptyList(); corners_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
} else { } else {
cornersBuilder_.clear(); cornersBuilder_.clear();
} }
queryStatus_ = 0;
retcode_ = 0;
return this; return this;
} }
...@@ -650,9 +652,7 @@ public final class QueryPathRspOuterClass { ...@@ -650,9 +652,7 @@ public final class QueryPathRspOuterClass {
public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp buildPartial() { public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp buildPartial() {
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp result = new emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp(this); emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp result = new emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
result.retcode_ = retcode_;
result.queryId_ = queryId_; result.queryId_ = queryId_;
result.queryStatus_ = queryStatus_;
if (cornersBuilder_ == null) { if (cornersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) { if (((bitField0_ & 0x00000001) != 0)) {
corners_ = java.util.Collections.unmodifiableList(corners_); corners_ = java.util.Collections.unmodifiableList(corners_);
...@@ -662,6 +662,8 @@ public final class QueryPathRspOuterClass { ...@@ -662,6 +662,8 @@ public final class QueryPathRspOuterClass {
} else { } else {
result.corners_ = cornersBuilder_.build(); result.corners_ = cornersBuilder_.build();
} }
result.queryStatus_ = queryStatus_;
result.retcode_ = retcode_;
onBuilt(); onBuilt();
return result; return result;
} }
...@@ -710,15 +712,9 @@ public final class QueryPathRspOuterClass { ...@@ -710,15 +712,9 @@ public final class QueryPathRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp other) { public Builder mergeFrom(emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp other) {
if (other == emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.getDefaultInstance()) return this; if (other == emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getQueryId() != 0) { if (other.getQueryId() != 0) {
setQueryId(other.getQueryId()); setQueryId(other.getQueryId());
} }
if (other.queryStatus_ != 0) {
setQueryStatusValue(other.getQueryStatusValue());
}
if (cornersBuilder_ == null) { if (cornersBuilder_ == null) {
if (!other.corners_.isEmpty()) { if (!other.corners_.isEmpty()) {
if (corners_.isEmpty()) { if (corners_.isEmpty()) {
...@@ -745,6 +741,12 @@ public final class QueryPathRspOuterClass { ...@@ -745,6 +741,12 @@ public final class QueryPathRspOuterClass {
} }
} }
} }
if (other.queryStatus_ != 0) {
setQueryStatusValue(other.getQueryStatusValue());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
return this; return this;
...@@ -775,37 +777,6 @@ public final class QueryPathRspOuterClass { ...@@ -775,37 +777,6 @@ public final class QueryPathRspOuterClass {
} }
private int bitField0_; private int bitField0_;
private int retcode_ ;
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 1;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 1;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int queryId_ ; private int queryId_ ;
/** /**
* <code>int32 query_id = 12;</code> * <code>int32 query_id = 12;</code>
...@@ -837,60 +808,6 @@ public final class QueryPathRspOuterClass { ...@@ -837,60 +808,6 @@ public final class QueryPathRspOuterClass {
return this; return this;
} }
private int queryStatus_ = 0;
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
@java.lang.Override public int getQueryStatusValue() {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @param value The enum numeric value on the wire for queryStatus to set.
* @return This builder for chaining.
*/
public Builder setQueryStatusValue(int value) {
queryStatus_ = value;
onChanged();
return this;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
@java.lang.Override
public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.valueOf(queryStatus_);
return result == null ? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.UNRECOGNIZED : result;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @param value The queryStatus to set.
* @return This builder for chaining.
*/
public Builder setQueryStatus(emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType value) {
if (value == null) {
throw new NullPointerException();
}
queryStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return This builder for chaining.
*/
public Builder clearQueryStatus() {
queryStatus_ = 0;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_ = private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_ =
java.util.Collections.emptyList(); java.util.Collections.emptyList();
private void ensureCornersIsMutable() { private void ensureCornersIsMutable() {
...@@ -1130,6 +1047,91 @@ public final class QueryPathRspOuterClass { ...@@ -1130,6 +1047,91 @@ public final class QueryPathRspOuterClass {
} }
return cornersBuilder_; return cornersBuilder_;
} }
private int queryStatus_ = 0;
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The enum numeric value on the wire for queryStatus.
*/
@java.lang.Override public int getQueryStatusValue() {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @param value The enum numeric value on the wire for queryStatus to set.
* @return This builder for chaining.
*/
public Builder setQueryStatusValue(int value) {
queryStatus_ = value;
onChanged();
return this;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return The queryStatus.
*/
@java.lang.Override
public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.valueOf(queryStatus_);
return result == null ? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType.UNRECOGNIZED : result;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @param value The queryStatus to set.
* @return This builder for chaining.
*/
public Builder setQueryStatus(emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PathStatusType value) {
if (value == null) {
throw new NullPointerException();
}
queryStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.QueryPathRsp.PathStatusType query_status = 8;</code>
* @return This builder for chaining.
*/
public Builder clearQueryStatus() {
queryStatus_ = 0;
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 1;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 1;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) { final com.google.protobuf.UnknownFieldSet unknownFields) {
...@@ -1198,10 +1200,10 @@ public final class QueryPathRspOuterClass { ...@@ -1198,10 +1200,10 @@ public final class QueryPathRspOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\022QueryPathRsp.proto\032\014Vector.proto\"\345\001\n\014Q" + "\n\022QueryPathRsp.proto\032\014Vector.proto\"\345\001\n\014Q" +
"ueryPathRsp\022\017\n\007retcode\030\001 \001(\005\022\020\n\010query_id" + "ueryPathRsp\022\020\n\010query_id\030\014 \001(\005\022\030\n\007corners" +
"\030\014 \001(\005\0222\n\014query_status\030\010 \001(\0162\034.QueryPath" + "\030\006 \003(\0132\007.Vector\0222\n\014query_status\030\010 \001(\0162\034." +
"Rsp.PathStatusType\022\030\n\007corners\030\006 \003(\0132\007.Ve" + "QueryPathRsp.PathStatusType\022\017\n\007retcode\030\001" +
"ctor\"d\n\016PathStatusType\022\031\n\025PATH_STATUS_TY" + " \001(\005\"d\n\016PathStatusType\022\031\n\025PATH_STATUS_TY" +
"PE_FAIL\020\000\022\031\n\025PATH_STATUS_TYPE_SUCC\020\001\022\034\n\030" + "PE_FAIL\020\000\022\031\n\025PATH_STATUS_TYPE_SUCC\020\001\022\034\n\030" +
"PATH_STATUS_TYPE_PARTIAL\020\002B\033\n\031emu.grassc" + "PATH_STATUS_TYPE_PARTIAL\020\002B\033\n\031emu.grassc" +
"utter.net.protob\006proto3" "utter.net.protob\006proto3"
...@@ -1216,7 +1218,7 @@ public final class QueryPathRspOuterClass { ...@@ -1216,7 +1218,7 @@ public final class QueryPathRspOuterClass {
internal_static_QueryPathRsp_fieldAccessorTable = new internal_static_QueryPathRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_QueryPathRsp_descriptor, internal_static_QueryPathRsp_descriptor,
new java.lang.String[] { "Retcode", "QueryId", "QueryStatus", "Corners", }); new java.lang.String[] { "QueryId", "Corners", "QueryStatus", "Retcode", });
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
} }
......
...@@ -28,7 +28,8 @@ public final class QuestDelNotifyOuterClass { ...@@ -28,7 +28,8 @@ public final class QuestDelNotifyOuterClass {
* <pre> * <pre>
* CmdId: 412 * CmdId: 412
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestDelNotify} * Protobuf type {@code QuestDelNotify}
...@@ -282,7 +283,8 @@ public final class QuestDelNotifyOuterClass { ...@@ -282,7 +283,8 @@ public final class QuestDelNotifyOuterClass {
* <pre> * <pre>
* CmdId: 412 * CmdId: 412
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestDelNotify} * Protobuf type {@code QuestDelNotify}
......
...@@ -46,7 +46,8 @@ public final class QuestGlobalVarNotifyOuterClass { ...@@ -46,7 +46,8 @@ public final class QuestGlobalVarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 434 * CmdId: 434
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestGlobalVarNotify} * Protobuf type {@code QuestGlobalVarNotify}
...@@ -340,7 +341,8 @@ public final class QuestGlobalVarNotifyOuterClass { ...@@ -340,7 +341,8 @@ public final class QuestGlobalVarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 434 * CmdId: 434
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestGlobalVarNotify} * Protobuf type {@code QuestGlobalVarNotify}
......
...@@ -46,7 +46,8 @@ public final class QuestListNotifyOuterClass { ...@@ -46,7 +46,8 @@ public final class QuestListNotifyOuterClass {
* <pre> * <pre>
* CmdId: 472 * CmdId: 472
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestListNotify} * Protobuf type {@code QuestListNotify}
...@@ -340,7 +341,8 @@ public final class QuestListNotifyOuterClass { ...@@ -340,7 +341,8 @@ public final class QuestListNotifyOuterClass {
* <pre> * <pre>
* CmdId: 472 * CmdId: 472
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestListNotify} * Protobuf type {@code QuestListNotify}
......
...@@ -46,7 +46,8 @@ public final class QuestListUpdateNotifyOuterClass { ...@@ -46,7 +46,8 @@ public final class QuestListUpdateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 498 * CmdId: 498
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestListUpdateNotify} * Protobuf type {@code QuestListUpdateNotify}
...@@ -340,7 +341,8 @@ public final class QuestListUpdateNotifyOuterClass { ...@@ -340,7 +341,8 @@ public final class QuestListUpdateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 498 * CmdId: 498
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestListUpdateNotify} * Protobuf type {@code QuestListUpdateNotify}
......
...@@ -62,7 +62,8 @@ public final class QuestProgressUpdateNotifyOuterClass { ...@@ -62,7 +62,8 @@ public final class QuestProgressUpdateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 482 * CmdId: 482
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestProgressUpdateNotify} * Protobuf type {@code QuestProgressUpdateNotify}
...@@ -478,7 +479,8 @@ public final class QuestProgressUpdateNotifyOuterClass { ...@@ -478,7 +479,8 @@ public final class QuestProgressUpdateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 482 * CmdId: 482
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestProgressUpdateNotify} * Protobuf type {@code QuestProgressUpdateNotify}
......
...@@ -51,7 +51,8 @@ public final class QuestUpdateQuestVarNotifyOuterClass { ...@@ -51,7 +51,8 @@ public final class QuestUpdateQuestVarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 453 * CmdId: 453
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestUpdateQuestVarNotify} * Protobuf type {@code QuestUpdateQuestVarNotify}
...@@ -414,7 +415,8 @@ public final class QuestUpdateQuestVarNotifyOuterClass { ...@@ -414,7 +415,8 @@ public final class QuestUpdateQuestVarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 453 * CmdId: 453
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestUpdateQuestVarNotify} * Protobuf type {@code QuestUpdateQuestVarNotify}
......
...@@ -64,7 +64,7 @@ public final class QuestUpdateQuestVarReqOuterClass { ...@@ -64,7 +64,7 @@ public final class QuestUpdateQuestVarReqOuterClass {
* <pre> * <pre>
* CmdId: 447 * CmdId: 447
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -440,7 +440,7 @@ public final class QuestUpdateQuestVarReqOuterClass { ...@@ -440,7 +440,7 @@ public final class QuestUpdateQuestVarReqOuterClass {
* <pre> * <pre>
* CmdId: 447 * CmdId: 447
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -46,7 +46,8 @@ public final class QuestUpdateQuestVarRspOuterClass { ...@@ -46,7 +46,8 @@ public final class QuestUpdateQuestVarRspOuterClass {
* <pre> * <pre>
* CmdId: 439 * CmdId: 439
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestUpdateQuestVarRsp} * Protobuf type {@code QuestUpdateQuestVarRsp}
...@@ -381,7 +382,8 @@ public final class QuestUpdateQuestVarRspOuterClass { ...@@ -381,7 +382,8 @@ public final class QuestUpdateQuestVarRspOuterClass {
* <pre> * <pre>
* CmdId: 439 * CmdId: 439
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuestUpdateQuestVarRsp} * Protobuf type {@code QuestUpdateQuestVarRsp}
......
...@@ -84,7 +84,7 @@ public final class QuickUseWidgetReqOuterClass { ...@@ -84,7 +84,7 @@ public final class QuickUseWidgetReqOuterClass {
* <pre> * <pre>
* CmdId: 4299 * CmdId: 4299
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -606,7 +606,7 @@ public final class QuickUseWidgetReqOuterClass { ...@@ -606,7 +606,7 @@ public final class QuickUseWidgetReqOuterClass {
* <pre> * <pre>
* CmdId: 4299 * CmdId: 4299
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -81,7 +81,8 @@ public final class QuickUseWidgetRspOuterClass { ...@@ -81,7 +81,8 @@ public final class QuickUseWidgetRspOuterClass {
* <pre> * <pre>
* CmdId: 4270 * CmdId: 4270
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuickUseWidgetRsp} * Protobuf type {@code QuickUseWidgetRsp}
...@@ -594,7 +595,8 @@ public final class QuickUseWidgetRspOuterClass { ...@@ -594,7 +595,8 @@ public final class QuickUseWidgetRspOuterClass {
* <pre> * <pre>
* CmdId: 4270 * CmdId: 4270
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code QuickUseWidgetRsp} * Protobuf type {@code QuickUseWidgetRsp}
......
...@@ -39,7 +39,7 @@ public final class ReadMailNotifyOuterClass { ...@@ -39,7 +39,7 @@ public final class ReadMailNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1412 * CmdId: 1412
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -349,7 +349,7 @@ public final class ReadMailNotifyOuterClass { ...@@ -349,7 +349,7 @@ public final class ReadMailNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1412 * CmdId: 1412
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -157,24 +157,24 @@ public final class RegionInfoOuterClass { ...@@ -157,24 +157,24 @@ public final class RegionInfoOuterClass {
int getClientSilenceDataVersion(); int getClientSilenceDataVersion();
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The clientDataMd5. * @return The clientDataMd5.
*/ */
java.lang.String getClientDataMd5(); java.lang.String getClientDataMd5();
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The bytes for clientDataMd5. * @return The bytes for clientDataMd5.
*/ */
com.google.protobuf.ByteString com.google.protobuf.ByteString
getClientDataMd5Bytes(); getClientDataMd5Bytes();
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The clientSilenceDataMd5. * @return The clientSilenceDataMd5.
*/ */
java.lang.String getClientSilenceDataMd5(); java.lang.String getClientSilenceDataMd5();
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The bytes for clientSilenceDataMd5. * @return The bytes for clientSilenceDataMd5.
*/ */
com.google.protobuf.ByteString com.google.protobuf.ByteString
...@@ -1019,10 +1019,10 @@ public final class RegionInfoOuterClass { ...@@ -1019,10 +1019,10 @@ public final class RegionInfoOuterClass {
return clientSilenceDataVersion_; return clientSilenceDataVersion_;
} }
public static final int CLIENT_DATA_MD_5_FIELD_NUMBER = 19; public static final int CLIENT_DATA_MD5_FIELD_NUMBER = 19;
private volatile java.lang.Object clientDataMd5_; private volatile java.lang.Object clientDataMd5_;
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The clientDataMd5. * @return The clientDataMd5.
*/ */
@java.lang.Override @java.lang.Override
...@@ -1039,7 +1039,7 @@ public final class RegionInfoOuterClass { ...@@ -1039,7 +1039,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The bytes for clientDataMd5. * @return The bytes for clientDataMd5.
*/ */
@java.lang.Override @java.lang.Override
...@@ -1057,10 +1057,10 @@ public final class RegionInfoOuterClass { ...@@ -1057,10 +1057,10 @@ public final class RegionInfoOuterClass {
} }
} }
public static final int CLIENT_SILENCE_DATA_MD_5_FIELD_NUMBER = 20; public static final int CLIENT_SILENCE_DATA_MD5_FIELD_NUMBER = 20;
private volatile java.lang.Object clientSilenceDataMd5_; private volatile java.lang.Object clientSilenceDataMd5_;
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The clientSilenceDataMd5. * @return The clientSilenceDataMd5.
*/ */
@java.lang.Override @java.lang.Override
...@@ -1077,7 +1077,7 @@ public final class RegionInfoOuterClass { ...@@ -1077,7 +1077,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The bytes for clientSilenceDataMd5. * @return The bytes for clientSilenceDataMd5.
*/ */
@java.lang.Override @java.lang.Override
...@@ -1823,9 +1823,9 @@ public final class RegionInfoOuterClass { ...@@ -1823,9 +1823,9 @@ public final class RegionInfoOuterClass {
hash = (53 * hash) + getHandbookUrl().hashCode(); hash = (53 * hash) + getHandbookUrl().hashCode();
hash = (37 * hash) + CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER; hash = (37 * hash) + CLIENT_SILENCE_DATA_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getClientSilenceDataVersion(); hash = (53 * hash) + getClientSilenceDataVersion();
hash = (37 * hash) + CLIENT_DATA_MD_5_FIELD_NUMBER; hash = (37 * hash) + CLIENT_DATA_MD5_FIELD_NUMBER;
hash = (53 * hash) + getClientDataMd5().hashCode(); hash = (53 * hash) + getClientDataMd5().hashCode();
hash = (37 * hash) + CLIENT_SILENCE_DATA_MD_5_FIELD_NUMBER; hash = (37 * hash) + CLIENT_SILENCE_DATA_MD5_FIELD_NUMBER;
hash = (53 * hash) + getClientSilenceDataMd5().hashCode(); hash = (53 * hash) + getClientSilenceDataMd5().hashCode();
if (hasResVersionConfig()) { if (hasResVersionConfig()) {
hash = (37 * hash) + RES_VERSION_CONFIG_FIELD_NUMBER; hash = (37 * hash) + RES_VERSION_CONFIG_FIELD_NUMBER;
...@@ -3154,7 +3154,7 @@ public final class RegionInfoOuterClass { ...@@ -3154,7 +3154,7 @@ public final class RegionInfoOuterClass {
private java.lang.Object clientDataMd5_ = ""; private java.lang.Object clientDataMd5_ = "";
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The clientDataMd5. * @return The clientDataMd5.
*/ */
public java.lang.String getClientDataMd5() { public java.lang.String getClientDataMd5() {
...@@ -3170,7 +3170,7 @@ public final class RegionInfoOuterClass { ...@@ -3170,7 +3170,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return The bytes for clientDataMd5. * @return The bytes for clientDataMd5.
*/ */
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
...@@ -3187,7 +3187,7 @@ public final class RegionInfoOuterClass { ...@@ -3187,7 +3187,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @param value The clientDataMd5 to set. * @param value The clientDataMd5 to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
...@@ -3202,7 +3202,7 @@ public final class RegionInfoOuterClass { ...@@ -3202,7 +3202,7 @@ public final class RegionInfoOuterClass {
return this; return this;
} }
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearClientDataMd5() { public Builder clearClientDataMd5() {
...@@ -3212,7 +3212,7 @@ public final class RegionInfoOuterClass { ...@@ -3212,7 +3212,7 @@ public final class RegionInfoOuterClass {
return this; return this;
} }
/** /**
* <code>string client_data_md_5 = 19;</code> * <code>string client_data_md5 = 19;</code>
* @param value The bytes for clientDataMd5 to set. * @param value The bytes for clientDataMd5 to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
...@@ -3230,7 +3230,7 @@ public final class RegionInfoOuterClass { ...@@ -3230,7 +3230,7 @@ public final class RegionInfoOuterClass {
private java.lang.Object clientSilenceDataMd5_ = ""; private java.lang.Object clientSilenceDataMd5_ = "";
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The clientSilenceDataMd5. * @return The clientSilenceDataMd5.
*/ */
public java.lang.String getClientSilenceDataMd5() { public java.lang.String getClientSilenceDataMd5() {
...@@ -3246,7 +3246,7 @@ public final class RegionInfoOuterClass { ...@@ -3246,7 +3246,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return The bytes for clientSilenceDataMd5. * @return The bytes for clientSilenceDataMd5.
*/ */
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
...@@ -3263,7 +3263,7 @@ public final class RegionInfoOuterClass { ...@@ -3263,7 +3263,7 @@ public final class RegionInfoOuterClass {
} }
} }
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @param value The clientSilenceDataMd5 to set. * @param value The clientSilenceDataMd5 to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
...@@ -3278,7 +3278,7 @@ public final class RegionInfoOuterClass { ...@@ -3278,7 +3278,7 @@ public final class RegionInfoOuterClass {
return this; return this;
} }
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearClientSilenceDataMd5() { public Builder clearClientSilenceDataMd5() {
...@@ -3288,7 +3288,7 @@ public final class RegionInfoOuterClass { ...@@ -3288,7 +3288,7 @@ public final class RegionInfoOuterClass {
return this; return this;
} }
/** /**
* <code>string client_silence_data_md_5 = 20;</code> * <code>string client_silence_data_md5 = 20;</code>
* @param value The bytes for clientSilenceDataMd5 to set. * @param value The bytes for clientSilenceDataMd5 to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
...@@ -4358,7 +4358,7 @@ public final class RegionInfoOuterClass { ...@@ -4358,7 +4358,7 @@ public final class RegionInfoOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\020RegionInfo.proto\032\026ResVersionConfig.pro" + "\n\020RegionInfo.proto\032\026ResVersionConfig.pro" +
"to\"\237\006\n\nRegionInfo\022\025\n\rgateserver_ip\030\001 \001(\t" + "to\"\235\006\n\nRegionInfo\022\025\n\rgateserver_ip\030\001 \001(\t" +
"\022\027\n\017gateserver_port\030\002 \001(\r\022\030\n\020pay_callbac" + "\022\027\n\017gateserver_port\030\002 \001(\r\022\030\n\020pay_callbac" +
"k_url\030\003 \001(\t\022\021\n\tarea_type\030\007 \001(\t\022\024\n\014resour" + "k_url\030\003 \001(\t\022\021\n\tarea_type\030\007 \001(\t\022\024\n\014resour" +
"ce_url\030\010 \001(\t\022\020\n\010data_url\030\t \001(\t\022\024\n\014feedba" + "ce_url\030\010 \001(\t\022\020\n\010data_url\030\t \001(\t\022\024\n\014feedba" +
...@@ -4366,20 +4366,19 @@ public final class RegionInfoOuterClass { ...@@ -4366,20 +4366,19 @@ public final class RegionInfoOuterClass {
"source_url_bak\030\014 \001(\t\022\024\n\014data_url_bak\030\r \001" + "source_url_bak\030\014 \001(\t\022\024\n\014data_url_bak\030\r \001" +
"(\t\022\033\n\023client_data_version\030\016 \001(\r\022\024\n\014handb" + "(\t\022\033\n\023client_data_version\030\016 \001(\r\022\024\n\014handb" +
"ook_url\030\020 \001(\t\022#\n\033client_silence_data_ver" + "ook_url\030\020 \001(\t\022#\n\033client_silence_data_ver" +
"sion\030\022 \001(\r\022\030\n\020client_data_md_5\030\023 \001(\t\022 \n\030" + "sion\030\022 \001(\r\022\027\n\017client_data_md5\030\023 \001(\t\022\037\n\027c" +
"client_silence_data_md_5\030\024 \001(\t\022-\n\022res_ve" + "lient_silence_data_md5\030\024 \001(\t\022-\n\022res_vers" +
"rsion_config\030\026 \001(\0132\021.ResVersionConfig\022\022\n" + "ion_config\030\026 \001(\0132\021.ResVersionConfig\022\022\n\ns" +
"\nsecret_key\030\027 \001(\014\022\036\n\026official_community_" + "ecret_key\030\027 \001(\014\022\036\n\026official_community_ur" +
"url\030\030 \001(\t\022\035\n\025client_version_suffix\030\032 \001(\t" + "l\030\030 \001(\t\022\035\n\025client_version_suffix\030\032 \001(\t\022%" +
"\022%\n\035client_silence_version_suffix\030\033 \001(\t\022" + "\n\035client_silence_version_suffix\030\033 \001(\t\022\"\n" +
"\"\n\032use_gateserver_domain_name\030\034 \001(\010\022\036\n\026g" + "\032use_gateserver_domain_name\030\034 \001(\010\022\036\n\026gat" +
"ateserver_domain_name\030\035 \001(\t\022\027\n\017user_cent" + "eserver_domain_name\030\035 \001(\t\022\027\n\017user_center" +
"er_url\030\036 \001(\t\022\030\n\020account_bind_url\030\037 \001(\t\022\021" + "_url\030\036 \001(\t\022\030\n\020account_bind_url\030\037 \001(\t\022\021\n\t" +
"\n\tcdkey_url\030 \001(\t\022\032\n\022privacy_policy_url\030" + "cdkey_url\030 \001(\t\022\032\n\022privacy_policy_url\030! " +
"! \001(\t\022\031\n\021next_resource_url\030\" \001(\t\0222\n\027next" + "\001(\t\022\031\n\021next_resource_url\030\" \001(\t\0222\n\027next_r" +
"_res_version_config\030# \001(\0132\021.ResVersionCo" + "es_version_config\030# \001(\0132\021.ResVersionConf" +
"nfigB\033\n\031emu.grasscutter.net.protob\006proto" + "igB\033\n\031emu.grasscutter.net.protob\006proto3"
"3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
......
...@@ -51,7 +51,7 @@ public final class ReliquaryDecomposeReqOuterClass { ...@@ -51,7 +51,7 @@ public final class ReliquaryDecomposeReqOuterClass {
* <pre> * <pre>
* CmdId: 638 * CmdId: 638
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -415,7 +415,7 @@ public final class ReliquaryDecomposeReqOuterClass { ...@@ -415,7 +415,7 @@ public final class ReliquaryDecomposeReqOuterClass {
* <pre> * <pre>
* CmdId: 638 * CmdId: 638
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -45,7 +45,7 @@ public final class ReliquaryDecomposeRspOuterClass { ...@@ -45,7 +45,7 @@ public final class ReliquaryDecomposeRspOuterClass {
* <pre> * <pre>
* CmdId: 611 * CmdId: 611
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -382,7 +382,7 @@ public final class ReliquaryDecomposeRspOuterClass { ...@@ -382,7 +382,7 @@ public final class ReliquaryDecomposeRspOuterClass {
* <pre> * <pre>
* CmdId: 611 * CmdId: 611
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -34,7 +34,7 @@ public final class ReliquaryPromoteReqOuterClass { ...@@ -34,7 +34,7 @@ public final class ReliquaryPromoteReqOuterClass {
* <pre> * <pre>
* CmdId: 627 * CmdId: 627
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -318,7 +318,7 @@ public final class ReliquaryPromoteReqOuterClass { ...@@ -318,7 +318,7 @@ public final class ReliquaryPromoteReqOuterClass {
* <pre> * <pre>
* CmdId: 627 * CmdId: 627
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -80,7 +80,8 @@ public final class ReliquaryPromoteRspOuterClass { ...@@ -80,7 +80,8 @@ public final class ReliquaryPromoteRspOuterClass {
* <pre> * <pre>
* CmdId: 694 * CmdId: 694
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ReliquaryPromoteRsp} * Protobuf type {@code ReliquaryPromoteRsp}
...@@ -578,7 +579,8 @@ public final class ReliquaryPromoteRspOuterClass { ...@@ -578,7 +579,8 @@ public final class ReliquaryPromoteRspOuterClass {
* <pre> * <pre>
* CmdId: 694 * CmdId: 694
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ReliquaryPromoteRsp} * Protobuf type {@code ReliquaryPromoteRsp}
......
...@@ -69,7 +69,7 @@ public final class ReliquaryUpgradeReqOuterClass { ...@@ -69,7 +69,7 @@ public final class ReliquaryUpgradeReqOuterClass {
* <pre> * <pre>
* CmdId: 604 * CmdId: 604
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -473,7 +473,7 @@ public final class ReliquaryUpgradeReqOuterClass { ...@@ -473,7 +473,7 @@ public final class ReliquaryUpgradeReqOuterClass {
* <pre> * <pre>
* CmdId: 604 * CmdId: 604
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -86,7 +86,8 @@ public final class ReliquaryUpgradeRspOuterClass { ...@@ -86,7 +86,8 @@ public final class ReliquaryUpgradeRspOuterClass {
* <pre> * <pre>
* CmdId: 693 * CmdId: 693
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ReliquaryUpgradeRsp} * Protobuf type {@code ReliquaryUpgradeRsp}
...@@ -611,7 +612,8 @@ public final class ReliquaryUpgradeRspOuterClass { ...@@ -611,7 +612,8 @@ public final class ReliquaryUpgradeRspOuterClass {
* <pre> * <pre>
* CmdId: 693 * CmdId: 693
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ReliquaryUpgradeRsp} * Protobuf type {@code ReliquaryUpgradeRsp}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment