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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -19,21 +19,21 @@ public final class SceneTransToPointReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
int getPointId();
/**
* <code>uint32 scene_id = 10;</code>
* <code>uint32 scene_id = 12;</code>
* @return The sceneId.
*/
int getSceneId();
/**
* <code>uint32 point_id = 7;</code>
* @return The pointId.
*/
int getPointId();
}
/**
* <pre>
* Name: FLNKBCGIDPG
* CmdId: 256
* CmdId: 242
* Name: JDHNOBLAFGE
* </pre>
*
* Protobuf type {@code SceneTransToPointReq}
@@ -80,12 +80,12 @@ public final class SceneTransToPointReqOuterClass {
case 0:
done = true;
break;
case 16: {
case 56: {
pointId_ = input.readUInt32();
break;
}
case 80: {
case 96: {
sceneId_ = input.readUInt32();
break;
@@ -122,21 +122,10 @@ public final class SceneTransToPointReqOuterClass {
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.class, emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.Builder.class);
}
public static final int POINT_ID_FIELD_NUMBER = 2;
private int pointId_;
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
public static final int SCENE_ID_FIELD_NUMBER = 10;
public static final int SCENE_ID_FIELD_NUMBER = 12;
private int sceneId_;
/**
* <code>uint32 scene_id = 10;</code>
* <code>uint32 scene_id = 12;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -144,6 +133,17 @@ public final class SceneTransToPointReqOuterClass {
return sceneId_;
}
public static final int POINT_ID_FIELD_NUMBER = 7;
private int pointId_;
/**
* <code>uint32 point_id = 7;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -159,10 +159,10 @@ public final class SceneTransToPointReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (pointId_ != 0) {
output.writeUInt32(2, pointId_);
output.writeUInt32(7, pointId_);
}
if (sceneId_ != 0) {
output.writeUInt32(10, sceneId_);
output.writeUInt32(12, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -175,11 +175,11 @@ public final class SceneTransToPointReqOuterClass {
size = 0;
if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, pointId_);
.computeUInt32Size(7, pointId_);
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, sceneId_);
.computeUInt32Size(12, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -196,10 +196,10 @@ public final class SceneTransToPointReqOuterClass {
}
emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq other = (emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq) obj;
if (getPointId()
!= other.getPointId()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (getPointId()
!= other.getPointId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -211,10 +211,10 @@ public final class SceneTransToPointReqOuterClass {
}
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) + POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -312,8 +312,8 @@ public final class SceneTransToPointReqOuterClass {
}
/**
* <pre>
* Name: FLNKBCGIDPG
* CmdId: 256
* CmdId: 242
* Name: JDHNOBLAFGE
* </pre>
*
* Protobuf type {@code SceneTransToPointReq}
@@ -353,10 +353,10 @@ public final class SceneTransToPointReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
pointId_ = 0;
sceneId_ = 0;
pointId_ = 0;
return this;
}
@@ -383,8 +383,8 @@ 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);
result.pointId_ = pointId_;
result.sceneId_ = sceneId_;
result.pointId_ = pointId_;
onBuilt();
return result;
}
@@ -433,12 +433,12 @@ public final class SceneTransToPointReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq other) {
if (other == emu.grasscutter.net.proto.SceneTransToPointReqOuterClass.SceneTransToPointReq.getDefaultInstance()) return this;
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -468,40 +468,9 @@ public final class SceneTransToPointReqOuterClass {
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 2;</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 = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
private int sceneId_ ;
/**
* <code>uint32 scene_id = 10;</code>
* <code>uint32 scene_id = 12;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -509,7 +478,7 @@ public final class SceneTransToPointReqOuterClass {
return sceneId_;
}
/**
* <code>uint32 scene_id = 10;</code>
* <code>uint32 scene_id = 12;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
@@ -520,7 +489,7 @@ public final class SceneTransToPointReqOuterClass {
return this;
}
/**
* <code>uint32 scene_id = 10;</code>
* <code>uint32 scene_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
@@ -529,6 +498,37 @@ public final class SceneTransToPointReqOuterClass {
onChanged();
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 7;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 7;</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 = 7;</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) {
@@ -597,8 +597,8 @@ public final class SceneTransToPointReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\032SceneTransToPointReq.proto\":\n\024SceneTra" +
"nsToPointReq\022\020\n\010point_id\030\002 \001(\r\022\020\n\010scene_" +
"id\030\n \001(\rB\033\n\031emu.grasscutter.net.protob\006p" +
"nsToPointReq\022\020\n\010scene_id\030\014 \001(\r\022\020\n\010point_" +
"id\030\007 \001(\rB\033\n\031emu.grasscutter.net.protob\006p" +
"roto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -610,7 +610,7 @@ public final class SceneTransToPointReqOuterClass {
internal_static_SceneTransToPointReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SceneTransToPointReq_descriptor,
new java.lang.String[] { "PointId", "SceneId", });
new java.lang.String[] { "SceneId", "PointId", });
}
// @@protoc_insertion_point(outer_class_scope)