mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:45:03 +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
@@ -19,17 +19,17 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return A list containing the mailIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getMailIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return The count of mailIdList.
|
||||
*/
|
||||
int getMailIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The mailIdList at the given index.
|
||||
*/
|
||||
@@ -43,8 +43,8 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1412
|
||||
* Name: GODOJLFLCGL
|
||||
* CmdId: 1421
|
||||
* Obf: MJIPPMLPCIK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeMailStarNotify}
|
||||
@@ -93,7 +93,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 72: {
|
||||
case 104: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
mailIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -101,7 +101,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
mailIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
case 106: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -154,10 +154,10 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ChangeMailStarNotifyOuterClass.ChangeMailStarNotify.class, emu.grasscutter.net.proto.ChangeMailStarNotifyOuterClass.ChangeMailStarNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MAIL_ID_LIST_FIELD_NUMBER = 9;
|
||||
public static final int MAIL_ID_LIST_FIELD_NUMBER = 13;
|
||||
private com.google.protobuf.Internal.IntList mailIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return A list containing the mailIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -166,14 +166,14 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
return mailIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return The count of mailIdList.
|
||||
*/
|
||||
public int getMailIdListCount() {
|
||||
return mailIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The mailIdList at the given index.
|
||||
*/
|
||||
@@ -209,7 +209,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getMailIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(74);
|
||||
output.writeUInt32NoTag(106);
|
||||
output.writeUInt32NoTag(mailIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < mailIdList_.size(); i++) {
|
||||
@@ -379,8 +379,8 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1412
|
||||
* Name: GODOJLFLCGL
|
||||
* CmdId: 1421
|
||||
* Obf: MJIPPMLPCIK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeMailStarNotify}
|
||||
@@ -556,7 +556,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return A list containing the mailIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -565,14 +565,14 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(mailIdList_) : mailIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return The count of mailIdList.
|
||||
*/
|
||||
public int getMailIdListCount() {
|
||||
return mailIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The mailIdList at the given index.
|
||||
*/
|
||||
@@ -580,7 +580,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
return mailIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The mailIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -593,7 +593,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param value The mailIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -604,7 +604,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @param values The mailIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -617,7 +617,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 mail_id_list = 9;</code>
|
||||
* <code>repeated uint32 mail_id_list = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMailIdList() {
|
||||
@@ -725,7 +725,7 @@ public final class ChangeMailStarNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\032ChangeMailStarNotify.proto\"=\n\024ChangeMa" +
|
||||
"ilStarNotify\022\024\n\014mail_id_list\030\t \003(\r\022\017\n\007is" +
|
||||
"ilStarNotify\022\024\n\014mail_id_list\030\r \003(\r\022\017\n\007is" +
|
||||
"_star\030\016 \001(\010B\033\n\031emu.grasscutter.net.proto" +
|
||||
"b\006proto3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user