mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 11:20:08 +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
@@ -19,29 +19,29 @@ public final class AvatarTeamOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getAvatarGuidListList();
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
int getAvatarGuidListCount();
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
long getAvatarGuidList(int index);
|
||||
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The teamName.
|
||||
*/
|
||||
java.lang.String getTeamName();
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The bytes for teamName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
@@ -95,7 +95,13 @@ public final class AvatarTeamOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 56: {
|
||||
case 34: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
teamName_ = s;
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
avatarGuidList_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -103,7 +109,7 @@ public final class AvatarTeamOuterClass {
|
||||
avatarGuidList_.addLong(input.readUInt64());
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
case 106: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -116,12 +122,6 @@ public final class AvatarTeamOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
teamName_ = s;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -157,10 +157,10 @@ public final class AvatarTeamOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam.class, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 7;
|
||||
public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 13;
|
||||
private com.google.protobuf.Internal.LongList avatarGuidList_;
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -169,14 +169,14 @@ public final class AvatarTeamOuterClass {
|
||||
return avatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
public int getAvatarGuidListCount() {
|
||||
return avatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
@@ -185,10 +185,10 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
private int avatarGuidListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TEAM_NAME_FIELD_NUMBER = 14;
|
||||
public static final int TEAM_NAME_FIELD_NUMBER = 4;
|
||||
private volatile java.lang.Object teamName_;
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The teamName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -205,7 +205,7 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The bytes for teamName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -238,16 +238,16 @@ public final class AvatarTeamOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(teamName_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, teamName_);
|
||||
}
|
||||
if (getAvatarGuidListList().size() > 0) {
|
||||
output.writeUInt32NoTag(58);
|
||||
output.writeUInt32NoTag(106);
|
||||
output.writeUInt32NoTag(avatarGuidListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < avatarGuidList_.size(); i++) {
|
||||
output.writeUInt64NoTag(avatarGuidList_.getLong(i));
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(teamName_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, teamName_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -257,6 +257,9 @@ public final class AvatarTeamOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(teamName_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, teamName_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < avatarGuidList_.size(); i++) {
|
||||
@@ -271,9 +274,6 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
avatarGuidListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(teamName_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, teamName_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -580,7 +580,7 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
@@ -589,14 +589,14 @@ public final class AvatarTeamOuterClass {
|
||||
java.util.Collections.unmodifiableList(avatarGuidList_) : avatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
public int getAvatarGuidListCount() {
|
||||
return avatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
@@ -604,7 +604,7 @@ public final class AvatarTeamOuterClass {
|
||||
return avatarGuidList_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The avatarGuidList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -617,7 +617,7 @@ public final class AvatarTeamOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param value The avatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -628,7 +628,7 @@ public final class AvatarTeamOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @param values The avatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -641,7 +641,7 @@ public final class AvatarTeamOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 7;</code>
|
||||
* <code>repeated uint64 avatar_guid_list = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarGuidList() {
|
||||
@@ -653,7 +653,7 @@ public final class AvatarTeamOuterClass {
|
||||
|
||||
private java.lang.Object teamName_ = "";
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The teamName.
|
||||
*/
|
||||
public java.lang.String getTeamName() {
|
||||
@@ -669,7 +669,7 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return The bytes for teamName.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
@@ -686,7 +686,7 @@ public final class AvatarTeamOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @param value The teamName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -701,7 +701,7 @@ public final class AvatarTeamOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTeamName() {
|
||||
@@ -711,7 +711,7 @@ public final class AvatarTeamOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string team_name = 14;</code>
|
||||
* <code>string team_name = 4;</code>
|
||||
* @param value The bytes for teamName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -794,7 +794,7 @@ public final class AvatarTeamOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\020AvatarTeam.proto\"9\n\nAvatarTeam\022\030\n\020avat" +
|
||||
"ar_guid_list\030\007 \003(\004\022\021\n\tteam_name\030\016 \001(\tB\033\n" +
|
||||
"ar_guid_list\030\r \003(\004\022\021\n\tteam_name\030\004 \001(\tB\033\n" +
|
||||
"\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user