mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 03:19:50 +08:00
Add support for v3.5.0 (#2090)
* Fix Dvalin battle See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25. This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence. Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com> * Update protos * 3.4 protos * Fix Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended. * Change from false to true Per what smileoflove has been told on Discord * 3.5 * Remove the Dvalin crap from this PR Git is so confusing * Update version * Apply README changes from `origin/development` * Remove unnecessary debugging information --------- Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com> Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
922f7bca51
commit
516e5975e1
@@ -19,18 +19,22 @@ public final class PlayerRTTInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 rtt = 7;</code>
|
||||
* <code>uint32 rtt = 14;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
int getRtt();
|
||||
|
||||
/**
|
||||
* <code>uint32 uid = 13;</code>
|
||||
* <code>uint32 uid = 7;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
int getUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JFBIKFCKPBC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerRTTInfo}
|
||||
*/
|
||||
public static final class PlayerRTTInfo extends
|
||||
@@ -77,12 +81,12 @@ public final class PlayerRTTInfoOuterClass {
|
||||
break;
|
||||
case 56: {
|
||||
|
||||
rtt_ = input.readUInt32();
|
||||
uid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
case 112: {
|
||||
|
||||
uid_ = input.readUInt32();
|
||||
rtt_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -117,10 +121,10 @@ public final class PlayerRTTInfoOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerRTTInfoOuterClass.PlayerRTTInfo.class, emu.grasscutter.net.proto.PlayerRTTInfoOuterClass.PlayerRTTInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RTT_FIELD_NUMBER = 7;
|
||||
public static final int RTT_FIELD_NUMBER = 14;
|
||||
private int rtt_;
|
||||
/**
|
||||
* <code>uint32 rtt = 7;</code>
|
||||
* <code>uint32 rtt = 14;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -128,10 +132,10 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return rtt_;
|
||||
}
|
||||
|
||||
public static final int UID_FIELD_NUMBER = 13;
|
||||
public static final int UID_FIELD_NUMBER = 7;
|
||||
private int uid_;
|
||||
/**
|
||||
* <code>uint32 uid = 13;</code>
|
||||
* <code>uint32 uid = 7;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -153,11 +157,11 @@ public final class PlayerRTTInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (rtt_ != 0) {
|
||||
output.writeUInt32(7, rtt_);
|
||||
}
|
||||
if (uid_ != 0) {
|
||||
output.writeUInt32(13, uid_);
|
||||
output.writeUInt32(7, uid_);
|
||||
}
|
||||
if (rtt_ != 0) {
|
||||
output.writeUInt32(14, rtt_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -168,13 +172,13 @@ public final class PlayerRTTInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (rtt_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, rtt_);
|
||||
}
|
||||
if (uid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, uid_);
|
||||
.computeUInt32Size(7, uid_);
|
||||
}
|
||||
if (rtt_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, rtt_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -306,6 +310,10 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JFBIKFCKPBC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerRTTInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -460,7 +468,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
|
||||
private int rtt_ ;
|
||||
/**
|
||||
* <code>uint32 rtt = 7;</code>
|
||||
* <code>uint32 rtt = 14;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -468,7 +476,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return rtt_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 rtt = 7;</code>
|
||||
* <code>uint32 rtt = 14;</code>
|
||||
* @param value The rtt to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -479,7 +487,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 rtt = 7;</code>
|
||||
* <code>uint32 rtt = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRtt() {
|
||||
@@ -491,7 +499,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
|
||||
private int uid_ ;
|
||||
/**
|
||||
* <code>uint32 uid = 13;</code>
|
||||
* <code>uint32 uid = 7;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -499,7 +507,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return uid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 uid = 13;</code>
|
||||
* <code>uint32 uid = 7;</code>
|
||||
* @param value The uid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -510,7 +518,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 uid = 13;</code>
|
||||
* <code>uint32 uid = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUid() {
|
||||
@@ -587,7 +595,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerRTTInfo.proto\")\n\rPlayerRTTInfo\022\013" +
|
||||
"\n\003rtt\030\007 \001(\r\022\013\n\003uid\030\r \001(\rB\033\n\031emu.grasscut" +
|
||||
"\n\003rtt\030\016 \001(\r\022\013\n\003uid\030\007 \001(\rB\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user