mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 19:29:50 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
+68
-68
@@ -24,22 +24,22 @@ public final class SceneTransToPointRspOuterClass {
|
||||
*/
|
||||
int getSceneId();
|
||||
|
||||
/**
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
int getPointId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 point_id = 9;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
int getPointId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: NLAGLOOCJKD
|
||||
* CmdId: 223
|
||||
* CmdId: 294
|
||||
* Name: PGPHKCGFFIK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneTransToPointRsp}
|
||||
@@ -96,7 +96,7 @@ public final class SceneTransToPointRspOuterClass {
|
||||
sceneId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 112: {
|
||||
|
||||
pointId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -144,6 +144,17 @@ public final class SceneTransToPointRspOuterClass {
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
public static final int POINT_ID_FIELD_NUMBER = 14;
|
||||
private int pointId_;
|
||||
/**
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getPointId() {
|
||||
return pointId_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 1;
|
||||
private int retcode_;
|
||||
/**
|
||||
@@ -155,17 +166,6 @@ public final class SceneTransToPointRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int POINT_ID_FIELD_NUMBER = 9;
|
||||
private int pointId_;
|
||||
/**
|
||||
* <code>uint32 point_id = 9;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getPointId() {
|
||||
return pointId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -187,7 +187,7 @@ public final class SceneTransToPointRspOuterClass {
|
||||
output.writeUInt32(8, sceneId_);
|
||||
}
|
||||
if (pointId_ != 0) {
|
||||
output.writeUInt32(9, pointId_);
|
||||
output.writeUInt32(14, pointId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -208,7 +208,7 @@ public final class SceneTransToPointRspOuterClass {
|
||||
}
|
||||
if (pointId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, pointId_);
|
||||
.computeUInt32Size(14, pointId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -227,10 +227,10 @@ public final class SceneTransToPointRspOuterClass {
|
||||
|
||||
if (getSceneId()
|
||||
!= other.getSceneId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getPointId()
|
||||
!= other.getPointId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -244,10 +244,10 @@ public final class SceneTransToPointRspOuterClass {
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
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 = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -345,8 +345,8 @@ public final class SceneTransToPointRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: NLAGLOOCJKD
|
||||
* CmdId: 223
|
||||
* CmdId: 294
|
||||
* Name: PGPHKCGFFIK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneTransToPointRsp}
|
||||
@@ -388,10 +388,10 @@ public final class SceneTransToPointRspOuterClass {
|
||||
super.clear();
|
||||
sceneId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
pointId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -419,8 +419,8 @@ public final class SceneTransToPointRspOuterClass {
|
||||
public emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp result = new emu.grasscutter.net.proto.SceneTransToPointRspOuterClass.SceneTransToPointRsp(this);
|
||||
result.sceneId_ = sceneId_;
|
||||
result.retcode_ = retcode_;
|
||||
result.pointId_ = pointId_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -472,12 +472,12 @@ public final class SceneTransToPointRspOuterClass {
|
||||
if (other.getSceneId() != 0) {
|
||||
setSceneId(other.getSceneId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getPointId() != 0) {
|
||||
setPointId(other.getPointId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -538,6 +538,37 @@ public final class SceneTransToPointRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int pointId_ ;
|
||||
/**
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getPointId() {
|
||||
return pointId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 point_id = 14;</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 = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPointId() {
|
||||
|
||||
pointId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
@@ -568,37 +599,6 @@ public final class SceneTransToPointRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int pointId_ ;
|
||||
/**
|
||||
* <code>uint32 point_id = 9;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getPointId() {
|
||||
return pointId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 point_id = 9;</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 = 9;</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\010scene_id\030\010 \001(\r\022\017\n\007retcod" +
|
||||
"e\030\001 \001(\005\022\020\n\010point_id\030\t \001(\rB\033\n\031emu.grasscu" +
|
||||
"nsToPointRsp\022\020\n\010scene_id\030\010 \001(\r\022\020\n\010point_" +
|
||||
"id\030\016 \001(\r\022\017\n\007retcode\030\001 \001(\005B\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[] { "SceneId", "Retcode", "PointId", });
|
||||
new java.lang.String[] { "SceneId", "PointId", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user