mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-28 08:59: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:
+22
-22
@@ -25,17 +25,17 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
int getCityId();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getParentQuestListList();
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
int getParentQuestListCount();
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
@@ -43,8 +43,8 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2856
|
||||
* Name: ABPHHHLKJBA
|
||||
* CmdId: 2848
|
||||
* Obf: LNAPPLPMLHC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TakeCityReputationParentQuestReq}
|
||||
@@ -93,7 +93,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
case 80: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
parentQuestList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -101,7 +101,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
parentQuestList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
case 82: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -165,10 +165,10 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return cityId_;
|
||||
}
|
||||
|
||||
public static final int PARENT_QUEST_LIST_FIELD_NUMBER = 1;
|
||||
public static final int PARENT_QUEST_LIST_FIELD_NUMBER = 10;
|
||||
private com.google.protobuf.Internal.IntList parentQuestList_;
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -177,14 +177,14 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return parentQuestList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
public int getParentQuestListCount() {
|
||||
return parentQuestList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
@@ -209,7 +209,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getParentQuestListList().size() > 0) {
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(82);
|
||||
output.writeUInt32NoTag(parentQuestListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < parentQuestList_.size(); i++) {
|
||||
@@ -378,8 +378,8 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2856
|
||||
* Name: ABPHHHLKJBA
|
||||
* CmdId: 2848
|
||||
* Obf: LNAPPLPMLHC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TakeCityReputationParentQuestReq}
|
||||
@@ -586,7 +586,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -595,14 +595,14 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
java.util.Collections.unmodifiableList(parentQuestList_) : parentQuestList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
public int getParentQuestListCount() {
|
||||
return parentQuestList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
@@ -610,7 +610,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return parentQuestList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The parentQuestList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -623,7 +623,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param value The parentQuestList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -634,7 +634,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @param values The parentQuestList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -647,7 +647,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parent_quest_list = 1;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParentQuestList() {
|
||||
@@ -725,7 +725,7 @@ public final class TakeCityReputationParentQuestReqOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n&TakeCityReputationParentQuestReq.proto" +
|
||||
"\"N\n TakeCityReputationParentQuestReq\022\017\n\007" +
|
||||
"city_id\030\016 \001(\r\022\031\n\021parent_quest_list\030\001 \003(\r" +
|
||||
"city_id\030\016 \001(\r\022\031\n\021parent_quest_list\030\n \003(\r" +
|
||||
"B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user