mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 17:19:50 +08:00
Upgrade to REL3.7 (#2164)
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
This commit is contained in:
@@ -19,15 +19,15 @@ public final class QuestDelNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 quest_id = 9;</code>
|
||||
* <code>uint32 quest_id = 12;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
int getQuestId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 489
|
||||
* Name: DCJBFMBMMHN
|
||||
* CmdId: 402
|
||||
* Obf: IJMJIMCHBHG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code QuestDelNotify}
|
||||
@@ -74,7 +74,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 72: {
|
||||
case 96: {
|
||||
|
||||
questId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class QuestDelNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.QuestDelNotifyOuterClass.QuestDelNotify.class, emu.grasscutter.net.proto.QuestDelNotifyOuterClass.QuestDelNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int QUEST_ID_FIELD_NUMBER = 9;
|
||||
public static final int QUEST_ID_FIELD_NUMBER = 12;
|
||||
private int questId_;
|
||||
/**
|
||||
* <code>uint32 quest_id = 9;</code>
|
||||
* <code>uint32 quest_id = 12;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (questId_ != 0) {
|
||||
output.writeUInt32(9, questId_);
|
||||
output.writeUInt32(12, questId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
size = 0;
|
||||
if (questId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, questId_);
|
||||
.computeUInt32Size(12, questId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class QuestDelNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 489
|
||||
* Name: DCJBFMBMMHN
|
||||
* CmdId: 402
|
||||
* Obf: IJMJIMCHBHG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code QuestDelNotify}
|
||||
@@ -431,7 +431,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
|
||||
private int questId_ ;
|
||||
/**
|
||||
* <code>uint32 quest_id = 9;</code>
|
||||
* <code>uint32 quest_id = 12;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
return questId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 quest_id = 9;</code>
|
||||
* <code>uint32 quest_id = 12;</code>
|
||||
* @param value The questId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 quest_id = 9;</code>
|
||||
* <code>uint32 quest_id = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearQuestId() {
|
||||
@@ -527,7 +527,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\024QuestDelNotify.proto\"\"\n\016QuestDelNotify" +
|
||||
"\022\020\n\010quest_id\030\t \001(\rB\033\n\031emu.grasscutter.ne" +
|
||||
"\022\020\n\010quest_id\030\014 \001(\rB\033\n\031emu.grasscutter.ne" +
|
||||
"t.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user