mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-09 00:57:37 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
+32
-26
@@ -19,17 +19,17 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return A list containing the groupList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getGroupListList();
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return The count of groupList.
|
||||
*/
|
||||
int getGroupListCount();
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The groupList at the given index.
|
||||
*/
|
||||
@@ -37,10 +37,13 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3344
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3138;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GroupUnloadNotify}
|
||||
@@ -89,7 +92,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 80: {
|
||||
case 48: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
groupList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -97,7 +100,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
groupList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
case 50: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -145,10 +148,10 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.GroupUnloadNotifyOuterClass.GroupUnloadNotify.class, emu.grasscutter.net.proto.GroupUnloadNotifyOuterClass.GroupUnloadNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int GROUP_LIST_FIELD_NUMBER = 10;
|
||||
public static final int GROUP_LIST_FIELD_NUMBER = 6;
|
||||
private com.google.protobuf.Internal.IntList groupList_;
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return A list containing the groupList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -157,14 +160,14 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
return groupList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return The count of groupList.
|
||||
*/
|
||||
public int getGroupListCount() {
|
||||
return groupList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The groupList at the given index.
|
||||
*/
|
||||
@@ -189,7 +192,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getGroupListList().size() > 0) {
|
||||
output.writeUInt32NoTag(82);
|
||||
output.writeUInt32NoTag(50);
|
||||
output.writeUInt32NoTag(groupListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < groupList_.size(); i++) {
|
||||
@@ -347,10 +350,13 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3344
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3138;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GroupUnloadNotify}
|
||||
@@ -520,7 +526,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return A list containing the groupList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -529,14 +535,14 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(groupList_) : groupList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return The count of groupList.
|
||||
*/
|
||||
public int getGroupListCount() {
|
||||
return groupList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The groupList at the given index.
|
||||
*/
|
||||
@@ -544,7 +550,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
return groupList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The groupList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -557,7 +563,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param value The groupList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -568,7 +574,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @param values The groupList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -581,7 +587,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 group_list = 10;</code>
|
||||
* <code>repeated uint32 group_list = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGroupList() {
|
||||
@@ -658,7 +664,7 @@ public final class GroupUnloadNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027GroupUnloadNotify.proto\"\'\n\021GroupUnload" +
|
||||
"Notify\022\022\n\ngroup_list\030\n \003(\rB\033\n\031emu.grassc" +
|
||||
"Notify\022\022\n\ngroup_list\030\006 \003(\rB\033\n\031emu.grassc" +
|
||||
"utter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user