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