Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,27 +19,27 @@ public final class SceneTransToPointRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 point_id = 12;</code>
* @return The pointId.
*/
int getPointId();
/**
* <code>uint32 scene_id = 13;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
int getSceneId();
/**
* <code>int32 retcode = 3;</code>
* <code>int32 retcode = 2;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 point_id = 5;</code>
* @return The pointId.
*/
int getPointId();
}
/**
* <pre>
* CmdId: 268
* Obf: BCNGDFENAPI
* CmdId: 28443
* Obf: GNAGNBFBJEB
* </pre>
*
* Protobuf type {@code SceneTransToPointRsp}
@@ -86,17 +86,17 @@ public final class SceneTransToPointRspOuterClass {
case 0:
done = true;
break;
case 24: {
case 16: {
retcode_ = input.readInt32();
break;
}
case 96: {
case 40: {
pointId_ = input.readUInt32();
break;
}
case 104: {
case 112: {
sceneId_ = input.readUInt32();
break;
@@ -133,21 +133,10 @@ public final class SceneTransToPointRspOuterClass {
emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.class, emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.Builder.class);
}
public static final int POINT_ID_FIELD_NUMBER = 12;
private int pointId_;
/**
* <code>uint32 point_id = 12;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
public static final int SCENE_ID_FIELD_NUMBER = 13;
public static final int SCENE_ID_FIELD_NUMBER = 14;
private int sceneId_;
/**
* <code>uint32 scene_id = 13;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -155,10 +144,10 @@ public final class SceneTransToPointRspOuterClass {
return sceneId_;
}
public static final int RETCODE_FIELD_NUMBER = 3;
public static final int RETCODE_FIELD_NUMBER = 2;
private int retcode_;
/**
* <code>int32 retcode = 3;</code>
* <code>int32 retcode = 2;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -166,6 +155,17 @@ public final class SceneTransToPointRspOuterClass {
return retcode_;
}
public static final int POINT_ID_FIELD_NUMBER = 5;
private int pointId_;
/**
* <code>uint32 point_id = 5;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -181,13 +181,13 @@ public final class SceneTransToPointRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(3, retcode_);
output.writeInt32(2, retcode_);
}
if (pointId_ != 0) {
output.writeUInt32(12, pointId_);
output.writeUInt32(5, pointId_);
}
if (sceneId_ != 0) {
output.writeUInt32(13, sceneId_);
output.writeUInt32(14, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -200,15 +200,15 @@ public final class SceneTransToPointRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, retcode_);
.computeInt32Size(2, retcode_);
}
if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, pointId_);
.computeUInt32Size(5, pointId_);
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, sceneId_);
.computeUInt32Size(14, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -225,12 +225,12 @@ public final class SceneTransToPointRspOuterClass {
}
emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp other = (emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp) obj;
if (getPointId()
!= other.getPointId()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (getPointId()
!= other.getPointId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -242,12 +242,12 @@ public final class SceneTransToPointRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -345,8 +345,8 @@ public final class SceneTransToPointRspOuterClass {
}
/**
* <pre>
* CmdId: 268
* Obf: BCNGDFENAPI
* CmdId: 28443
* Obf: GNAGNBFBJEB
* </pre>
*
* Protobuf type {@code SceneTransToPointRsp}
@@ -386,12 +386,12 @@ public final class SceneTransToPointRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
pointId_ = 0;
sceneId_ = 0;
retcode_ = 0;
pointId_ = 0;
return this;
}
@@ -418,9 +418,9 @@ public final class SceneTransToPointRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp buildPartial() {
emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp result = new emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp(this);
result.pointId_ = pointId_;
result.sceneId_ = sceneId_;
result.retcode_ = retcode_;
result.pointId_ = pointId_;
onBuilt();
return result;
}
@@ -469,15 +469,15 @@ public final class SceneTransToPointRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp other) {
if (other == emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp.getDefaultInstance()) return this;
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -507,40 +507,9 @@ public final class SceneTransToPointRspOuterClass {
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 12;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 12;</code>
* @param value The pointId to set.
* @return This builder for chaining.
*/
public Builder setPointId(int value) {
pointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 point_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
private int sceneId_ ;
/**
* <code>uint32 scene_id = 13;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -548,7 +517,7 @@ public final class SceneTransToPointRspOuterClass {
return sceneId_;
}
/**
* <code>uint32 scene_id = 13;</code>
* <code>uint32 scene_id = 14;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
@@ -559,7 +528,7 @@ public final class SceneTransToPointRspOuterClass {
return this;
}
/**
* <code>uint32 scene_id = 13;</code>
* <code>uint32 scene_id = 14;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
@@ -571,7 +540,7 @@ public final class SceneTransToPointRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 3;</code>
* <code>int32 retcode = 2;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -579,7 +548,7 @@ public final class SceneTransToPointRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 3;</code>
* <code>int32 retcode = 2;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -590,7 +559,7 @@ public final class SceneTransToPointRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 3;</code>
* <code>int32 retcode = 2;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -599,6 +568,37 @@ public final class SceneTransToPointRspOuterClass {
onChanged();
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 5;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 5;</code>
* @param value The pointId to set.
* @return This builder for chaining.
*/
public Builder setPointId(int value) {
pointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 point_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -667,8 +667,8 @@ public final class SceneTransToPointRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\032SceneTransToPointRsp.proto\"K\n\024SceneTra" +
"nsToPointRsp\022\020\n\010point_id\030\014 \001(\r\022\020\n\010scene_" +
"id\030\r \001(\r\022\017\n\007retcode\030\003 \001(\005B\033\n\031emu.grasscu" +
"nsToPointRsp\022\020\n\010scene_id\030\016 \001(\r\022\017\n\007retcod" +
"e\030\002 \001(\005\022\020\n\010point_id\030\005 \001(\rB\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -680,7 +680,7 @@ public final class SceneTransToPointRspOuterClass {
internal_static_SceneTransToPointRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SceneTransToPointRsp_descriptor,
new java.lang.String[] { "PointId", "SceneId", "Retcode", });
new java.lang.String[] { "SceneId", "Retcode", "PointId", });
}
// @@protoc_insertion_point(outer_class_scope)