rsp sorry

This commit is contained in:
Yazawazi 2022-04-21 04:51:45 +08:00 committed by GitHub
parent eb6bb1da07
commit d3bb409360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SceneTransToPointReq.proto // source: SceneTransToPointRsp.proto
package emu.grasscutter.net.proto; package emu.grasscutter.net.proto;
public final class SceneTransToPointReqOuterClass { public final class SceneTransToPointRspOuterClass {
private SceneTransToPointReqOuterClass() {} private SceneTransToPointRspOuterClass() {}
public static void registerAllExtensions( public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) { com.google.protobuf.ExtensionRegistryLite registry) {
} }
@ -14,42 +14,48 @@ public final class SceneTransToPointReqOuterClass {
registerAllExtensions( registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry); (com.google.protobuf.ExtensionRegistryLite) registry);
} }
public interface SceneTransToPointReqOrBuilder extends public interface SceneTransToPointRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:SceneTransToPointReq) // @@protoc_insertion_point(interface_extends:SceneTransToPointRsp)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/** /**
* <code>uint32 sceneId = 1;</code> * <code>int32 retcode = 1;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 sceneId = 2;</code>
* @return The sceneId. * @return The sceneId.
*/ */
int getSceneId(); int getSceneId();
/** /**
* <code>uint32 pointId = 2;</code> * <code>uint32 pointId = 3;</code>
* @return The pointId. * @return The pointId.
*/ */
int getPointId(); int getPointId();
} }
/** /**
* Protobuf type {@code SceneTransToPointReq} * Protobuf type {@code SceneTransToPointRsp}
*/ */
public static final class SceneTransToPointReq extends public static final class SceneTransToPointRsp extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SceneTransToPointReq) // @@protoc_insertion_point(message_implements:SceneTransToPointRsp)
SceneTransToPointReqOrBuilder { SceneTransToPointRspOrBuilder {
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
// Use SceneTransToPointReq.newBuilder() to construct. // Use SceneTransToPointRsp.newBuilder() to construct.
private SceneTransToPointReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { private SceneTransToPointRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder); super(builder);
} }
private SceneTransToPointReq() { private SceneTransToPointRsp() {
} }
@java.lang.Override @java.lang.Override
@SuppressWarnings({"unused"}) @SuppressWarnings({"unused"})
protected java.lang.Object newInstance( protected java.lang.Object newInstance(
UnusedPrivateParameter unused) { UnusedPrivateParameter unused) {
return new SceneTransToPointReq(); return new SceneTransToPointRsp();
} }
@java.lang.Override @java.lang.Override
@ -57,7 +63,7 @@ public final class SceneTransToPointReqOuterClass {
getUnknownFields() { getUnknownFields() {
return this.unknownFields; return this.unknownFields;
} }
private SceneTransToPointReq( private SceneTransToPointRsp(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
@ -77,11 +83,16 @@ public final class SceneTransToPointReqOuterClass {
break; break;
case 8: { case 8: {
sceneId_ = input.readUInt32(); retcode_ = input.readInt32();
break; break;
} }
case 16: { case 16: {
sceneId_ = input.readUInt32();
break;
}
case 24: {
pointId_ = input.readUInt32(); pointId_ = input.readUInt32();
break; break;
} }
@ -108,19 +119,19 @@ public final class SceneTransToPointReqOuterClass {
} }
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.internal_static_SceneTransToPointReq_descriptor; return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.internal_static_SceneTransToPointRsp_descriptor;
} }
@java.lang.Override @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.internal_static_SceneTransToPointReq_fieldAccessorTable return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.internal_static_SceneTransToPointRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.class, emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.Builder.class); emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.class, emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.Builder.class);
} }
/** /**
* Protobuf enum {@code SceneTransToPointReq.CmdId} * Protobuf enum {@code SceneTransToPointRsp.CmdId}
*/ */
public enum CmdId public enum CmdId
implements com.google.protobuf.ProtocolMessageEnum { implements com.google.protobuf.ProtocolMessageEnum {
@ -133,9 +144,9 @@ public final class SceneTransToPointReqOuterClass {
*/ */
ENET_IS_RELIABLE(2, 1), ENET_IS_RELIABLE(2, 1),
/** /**
* <code>CMD_ID = 219;</code> * <code>CMD_ID = 220;</code>
*/ */
CMD_ID(4, 219), CMD_ID(3, 220),
UNRECOGNIZED(-1, -1), UNRECOGNIZED(-1, -1),
; ;
@ -143,10 +154,6 @@ public final class SceneTransToPointReqOuterClass {
* <code>ENET_CHANNEL_ID = 0;</code> * <code>ENET_CHANNEL_ID = 0;</code>
*/ */
public static final CmdId ENET_CHANNEL_ID = NONE; public static final CmdId ENET_CHANNEL_ID = NONE;
/**
* <code>IS_ALLOW_CLIENT = 1;</code>
*/
public static final CmdId IS_ALLOW_CLIENT = ENET_IS_RELIABLE;
/** /**
* <code>NONE = 0;</code> * <code>NONE = 0;</code>
*/ */
@ -160,13 +167,9 @@ public final class SceneTransToPointReqOuterClass {
*/ */
public static final int ENET_IS_RELIABLE_VALUE = 1; public static final int ENET_IS_RELIABLE_VALUE = 1;
/** /**
* <code>IS_ALLOW_CLIENT = 1;</code> * <code>CMD_ID = 220;</code>
*/ */
public static final int IS_ALLOW_CLIENT_VALUE = 1; public static final int CMD_ID_VALUE = 220;
/**
* <code>CMD_ID = 219;</code>
*/
public static final int CMD_ID_VALUE = 219;
public final int getNumber() { public final int getNumber() {
@ -195,7 +198,7 @@ public final class SceneTransToPointReqOuterClass {
switch (value) { switch (value) {
case 0: return NONE; case 0: return NONE;
case 1: return ENET_IS_RELIABLE; case 1: return ENET_IS_RELIABLE;
case 219: return CMD_ID; case 220: return CMD_ID;
default: return null; default: return null;
} }
} }
@ -226,13 +229,13 @@ public final class SceneTransToPointReqOuterClass {
} }
public static final com.google.protobuf.Descriptors.EnumDescriptor public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() { getDescriptor() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.getDescriptor().getEnumTypes().get(0); return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.getDescriptor().getEnumTypes().get(0);
} }
private static final CmdId[] VALUES = getStaticValuesArray(); private static final CmdId[] VALUES = getStaticValuesArray();
private static CmdId[] getStaticValuesArray() { private static CmdId[] getStaticValuesArray() {
return new CmdId[] { return new CmdId[] {
NONE, ENET_CHANNEL_ID, ENET_IS_RELIABLE, IS_ALLOW_CLIENT, CMD_ID, NONE, ENET_CHANNEL_ID, ENET_IS_RELIABLE, CMD_ID,
}; };
} }
public static CmdId valueOf( public static CmdId valueOf(
@ -255,13 +258,24 @@ public final class SceneTransToPointReqOuterClass {
this.value = value; this.value = value;
} }
// @@protoc_insertion_point(enum_scope:SceneTransToPointReq.CmdId) // @@protoc_insertion_point(enum_scope:SceneTransToPointRsp.CmdId)
} }
public static final int SCENEID_FIELD_NUMBER = 1; 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 SCENEID_FIELD_NUMBER = 2;
private int sceneId_; private int sceneId_;
/** /**
* <code>uint32 sceneId = 1;</code> * <code>uint32 sceneId = 2;</code>
* @return The sceneId. * @return The sceneId.
*/ */
@java.lang.Override @java.lang.Override
@ -269,10 +283,10 @@ public final class SceneTransToPointReqOuterClass {
return sceneId_; return sceneId_;
} }
public static final int POINTID_FIELD_NUMBER = 2; public static final int POINTID_FIELD_NUMBER = 3;
private int pointId_; private int pointId_;
/** /**
* <code>uint32 pointId = 2;</code> * <code>uint32 pointId = 3;</code>
* @return The pointId. * @return The pointId.
*/ */
@java.lang.Override @java.lang.Override
@ -294,11 +308,14 @@ public final class SceneTransToPointReqOuterClass {
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException { throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(1, retcode_);
}
if (sceneId_ != 0) { if (sceneId_ != 0) {
output.writeUInt32(1, sceneId_); output.writeUInt32(2, sceneId_);
} }
if (pointId_ != 0) { if (pointId_ != 0) {
output.writeUInt32(2, pointId_); output.writeUInt32(3, pointId_);
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@ -309,13 +326,17 @@ public final class SceneTransToPointReqOuterClass {
if (size != -1) return size; if (size != -1) return size;
size = 0; size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, retcode_);
}
if (sceneId_ != 0) { if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, sceneId_); .computeUInt32Size(2, sceneId_);
} }
if (pointId_ != 0) { if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, pointId_); .computeUInt32Size(3, pointId_);
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@ -327,11 +348,13 @@ public final class SceneTransToPointReqOuterClass {
if (obj == this) { if (obj == this) {
return true; return true;
} }
if (!(obj instanceof emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq)) { if (!(obj instanceof emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp)) {
return super.equals(obj); return super.equals(obj);
} }
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq other = (emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq) obj; emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp other = (emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getSceneId() if (getSceneId()
!= other.getSceneId()) return false; != other.getSceneId()) return false;
if (getPointId() if (getPointId()
@ -347,6 +370,8 @@ public final class SceneTransToPointReqOuterClass {
} }
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) + SCENEID_FIELD_NUMBER; hash = (37 * hash) + SCENEID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId(); hash = (53 * hash) + getSceneId();
hash = (37 * hash) + POINTID_FIELD_NUMBER; hash = (37 * hash) + POINTID_FIELD_NUMBER;
@ -356,69 +381,69 @@ public final class SceneTransToPointReqOuterClass {
return hash; return hash;
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
java.nio.ByteBuffer data) java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
java.nio.ByteBuffer data, java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
com.google.protobuf.ByteString data) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
com.google.protobuf.ByteString data, com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom(byte[] data) public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
byte[] data, byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom(java.io.InputStream input) public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input); .parseWithIOException(PARSER, input);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry); .parseWithIOException(PARSER, input, extensionRegistry);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseDelimitedFrom(java.io.InputStream input) public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input); .parseDelimitedWithIOException(PARSER, input);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseDelimitedFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseDelimitedFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry); .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
com.google.protobuf.CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input); .parseWithIOException(PARSER, input);
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parseFrom( public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parseFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
@ -431,7 +456,7 @@ public final class SceneTransToPointReqOuterClass {
public static Builder newBuilder() { public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder(); return DEFAULT_INSTANCE.toBuilder();
} }
public static Builder newBuilder(emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq prototype) { public static Builder newBuilder(emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
} }
@java.lang.Override @java.lang.Override
@ -447,26 +472,26 @@ public final class SceneTransToPointReqOuterClass {
return builder; return builder;
} }
/** /**
* Protobuf type {@code SceneTransToPointReq} * Protobuf type {@code SceneTransToPointRsp}
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:SceneTransToPointReq) // @@protoc_insertion_point(builder_implements:SceneTransToPointRsp)
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReqOrBuilder { emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.internal_static_SceneTransToPointReq_descriptor; return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.internal_static_SceneTransToPointRsp_descriptor;
} }
@java.lang.Override @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.internal_static_SceneTransToPointReq_fieldAccessorTable return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.internal_static_SceneTransToPointRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.class, emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.Builder.class); emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.class, emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.Builder.class);
} }
// Construct using emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.newBuilder() // Construct using emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.newBuilder()
private Builder() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
@ -484,6 +509,8 @@ public final class SceneTransToPointReqOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
retcode_ = 0;
sceneId_ = 0; sceneId_ = 0;
pointId_ = 0; pointId_ = 0;
@ -494,17 +521,17 @@ public final class SceneTransToPointReqOuterClass {
@java.lang.Override @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() { getDescriptorForType() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.internal_static_SceneTransToPointReq_descriptor; return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.internal_static_SceneTransToPointRsp_descriptor;
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq getDefaultInstanceForType() { public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.getDefaultInstance(); return emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.getDefaultInstance();
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq build() { public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp build() {
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq result = buildPartial(); emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp result = buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
@ -512,8 +539,9 @@ public final class SceneTransToPointReqOuterClass {
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq buildPartial() { public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp buildPartial() {
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq result = new emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq(this); emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp result = new emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp(this);
result.retcode_ = retcode_;
result.sceneId_ = sceneId_; result.sceneId_ = sceneId_;
result.pointId_ = pointId_; result.pointId_ = pointId_;
onBuilt(); onBuilt();
@ -554,16 +582,19 @@ public final class SceneTransToPointReqOuterClass {
} }
@java.lang.Override @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq) { if (other instanceof emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp) {
return mergeFrom((emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq)other); return mergeFrom((emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp)other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq other) { public Builder mergeFrom(emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp other) {
if (other == emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.getDefaultInstance()) return this; if (other == emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getSceneId() != 0) { if (other.getSceneId() != 0) {
setSceneId(other.getSceneId()); setSceneId(other.getSceneId());
} }
@ -585,11 +616,11 @@ public final class SceneTransToPointReqOuterClass {
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq parsedMessage = null; emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq) e.getUnfinishedMessage(); parsedMessage = (emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp) e.getUnfinishedMessage();
throw e.unwrapIOException(); throw e.unwrapIOException();
} finally { } finally {
if (parsedMessage != null) { if (parsedMessage != null) {
@ -599,9 +630,40 @@ public final class SceneTransToPointReqOuterClass {
return this; 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;
}
private int sceneId_ ; private int sceneId_ ;
/** /**
* <code>uint32 sceneId = 1;</code> * <code>uint32 sceneId = 2;</code>
* @return The sceneId. * @return The sceneId.
*/ */
@java.lang.Override @java.lang.Override
@ -609,7 +671,7 @@ public final class SceneTransToPointReqOuterClass {
return sceneId_; return sceneId_;
} }
/** /**
* <code>uint32 sceneId = 1;</code> * <code>uint32 sceneId = 2;</code>
* @param value The sceneId to set. * @param value The sceneId to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -620,7 +682,7 @@ public final class SceneTransToPointReqOuterClass {
return this; return this;
} }
/** /**
* <code>uint32 sceneId = 1;</code> * <code>uint32 sceneId = 2;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearSceneId() { public Builder clearSceneId() {
@ -632,7 +694,7 @@ public final class SceneTransToPointReqOuterClass {
private int pointId_ ; private int pointId_ ;
/** /**
* <code>uint32 pointId = 2;</code> * <code>uint32 pointId = 3;</code>
* @return The pointId. * @return The pointId.
*/ */
@java.lang.Override @java.lang.Override
@ -640,7 +702,7 @@ public final class SceneTransToPointReqOuterClass {
return pointId_; return pointId_;
} }
/** /**
* <code>uint32 pointId = 2;</code> * <code>uint32 pointId = 3;</code>
* @param value The pointId to set. * @param value The pointId to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -651,7 +713,7 @@ public final class SceneTransToPointReqOuterClass {
return this; return this;
} }
/** /**
* <code>uint32 pointId = 2;</code> * <code>uint32 pointId = 3;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearPointId() { public Builder clearPointId() {
@ -673,51 +735,51 @@ public final class SceneTransToPointReqOuterClass {
} }
// @@protoc_insertion_point(builder_scope:SceneTransToPointReq) // @@protoc_insertion_point(builder_scope:SceneTransToPointRsp)
} }
// @@protoc_insertion_point(class_scope:SceneTransToPointReq) // @@protoc_insertion_point(class_scope:SceneTransToPointRsp)
private static final emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq DEFAULT_INSTANCE; private static final emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp DEFAULT_INSTANCE;
static { static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq(); DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp();
} }
public static emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq getDefaultInstance() { public static emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp getDefaultInstance() {
return DEFAULT_INSTANCE; return DEFAULT_INSTANCE;
} }
private static final com.google.protobuf.Parser<SceneTransToPointReq> private static final com.google.protobuf.Parser<SceneTransToPointRsp>
PARSER = new com.google.protobuf.AbstractParser<SceneTransToPointReq>() { PARSER = new com.google.protobuf.AbstractParser<SceneTransToPointRsp>() {
@java.lang.Override @java.lang.Override
public SceneTransToPointReq parsePartialFrom( public SceneTransToPointRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return new SceneTransToPointReq(input, extensionRegistry); return new SceneTransToPointRsp(input, extensionRegistry);
} }
}; };
public static com.google.protobuf.Parser<SceneTransToPointReq> parser() { public static com.google.protobuf.Parser<SceneTransToPointRsp> parser() {
return PARSER; return PARSER;
} }
@java.lang.Override @java.lang.Override
public com.google.protobuf.Parser<SceneTransToPointReq> getParserForType() { public com.google.protobuf.Parser<SceneTransToPointRsp> getParserForType() {
return PARSER; return PARSER;
} }
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq getDefaultInstanceForType() { public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE; return DEFAULT_INSTANCE;
} }
} }
private static final com.google.protobuf.Descriptors.Descriptor private static final com.google.protobuf.Descriptors.Descriptor
internal_static_SceneTransToPointReq_descriptor; internal_static_SceneTransToPointRsp_descriptor;
private static final private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_SceneTransToPointReq_fieldAccessorTable; internal_static_SceneTransToPointRsp_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() { getDescriptor() {
@ -727,23 +789,23 @@ public final class SceneTransToPointReqOuterClass {
descriptor; descriptor;
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\032SceneTransToPointReq.proto\"\234\001\n\024SceneTr" + "\n\032SceneTransToPointRsp.proto\"\230\001\n\024SceneTr" +
"ansToPointReq\022\017\n\007sceneId\030\001 \001(\r\022\017\n\007pointI" + "ansToPointRsp\022\017\n\007retcode\030\001 \001(\005\022\017\n\007sceneI" +
"d\030\002 \001(\r\"b\n\005CmdId\022\010\n\004NONE\020\000\022\023\n\017ENET_CHANN" + "d\030\002 \001(\r\022\017\n\007pointId\030\003 \001(\r\"M\n\005CmdId\022\010\n\004NON" +
"EL_ID\020\000\022\024\n\020ENET_IS_RELIABLE\020\001\022\023\n\017IS_ALLO" + "E\020\000\022\023\n\017ENET_CHANNEL_ID\020\000\022\024\n\020ENET_IS_RELI" +
"W_CLIENT\020\001\022\013\n\006CMD_ID\020\333\001\032\002\020\001B\033\n\031emu.grass" + "ABLE\020\001\022\013\n\006CMD_ID\020\334\001\032\002\020\001B\033\n\031emu.grasscutt" +
"cutter.net.protob\006proto3" "er.net.protob\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] { new com.google.protobuf.Descriptors.FileDescriptor[] {
}); });
internal_static_SceneTransToPointReq_descriptor = internal_static_SceneTransToPointRsp_descriptor =
getDescriptor().getMessageTypes().get(0); getDescriptor().getMessageTypes().get(0);
internal_static_SceneTransToPointReq_fieldAccessorTable = new internal_static_SceneTransToPointRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SceneTransToPointReq_descriptor, internal_static_SceneTransToPointRsp_descriptor,
new java.lang.String[] { "SceneId", "PointId", }); new java.lang.String[] { "Retcode", "SceneId", "PointId", });
} }
// @@protoc_insertion_point(outer_class_scope) // @@protoc_insertion_point(outer_class_scope)