mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 07:43:45 +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
+33
-43
@@ -19,26 +19,21 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 level = 5;</code>
|
||||
* <code>uint32 level = 14;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
int getLevel();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*enum NCJHHGNGMBO {
|
||||
* option allow_alias= true;
|
||||
* NONE = 0;
|
||||
* PEPPOHPHJOJ = 4668;
|
||||
* DCDNILFDFLB = 0;
|
||||
* NNBKOLMPOEA = 1;
|
||||
*}
|
||||
* Name: HFMNPNKDDDM
|
||||
* CmdId: 4585
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetHomeLevelUpRewardRsp}
|
||||
@@ -85,16 +80,16 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
|
||||
level_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
case 88: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
level_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -127,10 +122,10 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
emu.grasscutter.net.proto.GetHomeLevelUpRewardRspOuterClass.GetHomeLevelUpRewardRsp.class, emu.grasscutter.net.proto.GetHomeLevelUpRewardRspOuterClass.GetHomeLevelUpRewardRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int LEVEL_FIELD_NUMBER = 5;
|
||||
public static final int LEVEL_FIELD_NUMBER = 14;
|
||||
private int level_;
|
||||
/**
|
||||
* <code>uint32 level = 5;</code>
|
||||
* <code>uint32 level = 14;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -138,10 +133,10 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
return level_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
public static final int RETCODE_FIELD_NUMBER = 11;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -163,11 +158,11 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (level_ != 0) {
|
||||
output.writeUInt32(5, level_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
output.writeInt32(11, retcode_);
|
||||
}
|
||||
if (level_ != 0) {
|
||||
output.writeUInt32(14, level_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -178,13 +173,13 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (level_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, level_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(6, retcode_);
|
||||
.computeInt32Size(11, retcode_);
|
||||
}
|
||||
if (level_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, level_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -317,13 +312,8 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*enum NCJHHGNGMBO {
|
||||
* option allow_alias= true;
|
||||
* NONE = 0;
|
||||
* PEPPOHPHJOJ = 4668;
|
||||
* DCDNILFDFLB = 0;
|
||||
* NNBKOLMPOEA = 1;
|
||||
*}
|
||||
* Name: HFMNPNKDDDM
|
||||
* CmdId: 4585
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetHomeLevelUpRewardRsp}
|
||||
@@ -480,7 +470,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
|
||||
private int level_ ;
|
||||
/**
|
||||
* <code>uint32 level = 5;</code>
|
||||
* <code>uint32 level = 14;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -488,7 +478,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
return level_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 level = 5;</code>
|
||||
* <code>uint32 level = 14;</code>
|
||||
* @param value The level to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -499,7 +489,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 level = 5;</code>
|
||||
* <code>uint32 level = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLevel() {
|
||||
@@ -511,7 +501,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -519,7 +509,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -530,7 +520,7 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -607,8 +597,8 @@ public final class GetHomeLevelUpRewardRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\035GetHomeLevelUpRewardRsp.proto\"9\n\027GetHo" +
|
||||
"meLevelUpRewardRsp\022\r\n\005level\030\005 \001(\r\022\017\n\007ret" +
|
||||
"code\030\006 \001(\005B\033\n\031emu.grasscutter.net.protob" +
|
||||
"meLevelUpRewardRsp\022\r\n\005level\030\016 \001(\r\022\017\n\007ret" +
|
||||
"code\030\013 \001(\005B\033\n\031emu.grasscutter.net.protob" +
|
||||
"\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user