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 HostPlayerNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 host_peer_id = 14;</code>
* <code>uint32 host_peer_id = 3;</code>
* @return The hostPeerId.
*/
int getHostPeerId();
/**
* <code>uint32 host_uid = 2;</code>
* <code>uint32 host_uid = 11;</code>
* @return The hostUid.
*/
int getHostUid();
}
/**
* <pre>
* Name: PMNCOOCIDBM
* CmdId: 354
* CmdId: 389
* Name: NPBLKELHECA
* </pre>
*
* Protobuf type {@code HostPlayerNotify}
@@ -80,16 +80,16 @@ public final class HostPlayerNotifyOuterClass {
case 0:
done = true;
break;
case 16: {
hostUid_ = input.readUInt32();
break;
}
case 112: {
case 24: {
hostPeerId_ = input.readUInt32();
break;
}
case 88: {
hostUid_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -122,10 +122,10 @@ public final class HostPlayerNotifyOuterClass {
emu.grasscutter.net.proto.HostPlayerNotifyOuterClass.HostPlayerNotify.class, emu.grasscutter.net.proto.HostPlayerNotifyOuterClass.HostPlayerNotify.Builder.class);
}
public static final int HOST_PEER_ID_FIELD_NUMBER = 14;
public static final int HOST_PEER_ID_FIELD_NUMBER = 3;
private int hostPeerId_;
/**
* <code>uint32 host_peer_id = 14;</code>
* <code>uint32 host_peer_id = 3;</code>
* @return The hostPeerId.
*/
@java.lang.Override
@@ -133,10 +133,10 @@ public final class HostPlayerNotifyOuterClass {
return hostPeerId_;
}
public static final int HOST_UID_FIELD_NUMBER = 2;
public static final int HOST_UID_FIELD_NUMBER = 11;
private int hostUid_;
/**
* <code>uint32 host_uid = 2;</code>
* <code>uint32 host_uid = 11;</code>
* @return The hostUid.
*/
@java.lang.Override
@@ -158,11 +158,11 @@ public final class HostPlayerNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (hostUid_ != 0) {
output.writeUInt32(2, hostUid_);
}
if (hostPeerId_ != 0) {
output.writeUInt32(14, hostPeerId_);
output.writeUInt32(3, hostPeerId_);
}
if (hostUid_ != 0) {
output.writeUInt32(11, hostUid_);
}
unknownFields.writeTo(output);
}
@@ -173,13 +173,13 @@ public final class HostPlayerNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (hostUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, hostUid_);
}
if (hostPeerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, hostPeerId_);
.computeUInt32Size(3, hostPeerId_);
}
if (hostUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, hostUid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -312,8 +312,8 @@ public final class HostPlayerNotifyOuterClass {
}
/**
* <pre>
* Name: PMNCOOCIDBM
* CmdId: 354
* CmdId: 389
* Name: NPBLKELHECA
* </pre>
*
* Protobuf type {@code HostPlayerNotify}
@@ -470,7 +470,7 @@ public final class HostPlayerNotifyOuterClass {
private int hostPeerId_ ;
/**
* <code>uint32 host_peer_id = 14;</code>
* <code>uint32 host_peer_id = 3;</code>
* @return The hostPeerId.
*/
@java.lang.Override
@@ -478,7 +478,7 @@ public final class HostPlayerNotifyOuterClass {
return hostPeerId_;
}
/**
* <code>uint32 host_peer_id = 14;</code>
* <code>uint32 host_peer_id = 3;</code>
* @param value The hostPeerId to set.
* @return This builder for chaining.
*/
@@ -489,7 +489,7 @@ public final class HostPlayerNotifyOuterClass {
return this;
}
/**
* <code>uint32 host_peer_id = 14;</code>
* <code>uint32 host_peer_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearHostPeerId() {
@@ -501,7 +501,7 @@ public final class HostPlayerNotifyOuterClass {
private int hostUid_ ;
/**
* <code>uint32 host_uid = 2;</code>
* <code>uint32 host_uid = 11;</code>
* @return The hostUid.
*/
@java.lang.Override
@@ -509,7 +509,7 @@ public final class HostPlayerNotifyOuterClass {
return hostUid_;
}
/**
* <code>uint32 host_uid = 2;</code>
* <code>uint32 host_uid = 11;</code>
* @param value The hostUid to set.
* @return This builder for chaining.
*/
@@ -520,7 +520,7 @@ public final class HostPlayerNotifyOuterClass {
return this;
}
/**
* <code>uint32 host_uid = 2;</code>
* <code>uint32 host_uid = 11;</code>
* @return This builder for chaining.
*/
public Builder clearHostUid() {
@@ -597,7 +597,7 @@ public final class HostPlayerNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\026HostPlayerNotify.proto\":\n\020HostPlayerNo" +
"tify\022\024\n\014host_peer_id\030\016 \001(\r\022\020\n\010host_uid\030\002" +
"tify\022\024\n\014host_peer_id\030\003 \001(\r\022\020\n\010host_uid\030\013" +
" \001(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
"3"
};