mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:54:14 +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
+42
-36
@@ -19,34 +19,37 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getDelEntityIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
int getDelEntityIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
int getDelEntityIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 10;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
int getSceneId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 302
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 393;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DelTeamEntityNotify}
|
||||
@@ -95,12 +98,12 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 64: {
|
||||
case 80: {
|
||||
|
||||
sceneId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 112: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
delEntityIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -108,7 +111,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
delEntityIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 114: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -156,10 +159,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.class, emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 15;
|
||||
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 14;
|
||||
private com.google.protobuf.Internal.IntList delEntityIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -168,14 +171,14 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return delEntityIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
public int getDelEntityIdListCount() {
|
||||
return delEntityIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
@@ -184,10 +187,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
private int delEntityIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 8;
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 10;
|
||||
private int sceneId_;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 10;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -211,10 +214,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (sceneId_ != 0) {
|
||||
output.writeUInt32(8, sceneId_);
|
||||
output.writeUInt32(10, sceneId_);
|
||||
}
|
||||
if (getDelEntityIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(122);
|
||||
output.writeUInt32NoTag(114);
|
||||
output.writeUInt32NoTag(delEntityIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < delEntityIdList_.size(); i++) {
|
||||
@@ -231,7 +234,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
size = 0;
|
||||
if (sceneId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, sceneId_);
|
||||
.computeUInt32Size(10, sceneId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -380,10 +383,13 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 302
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 393;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DelTeamEntityNotify}
|
||||
@@ -559,7 +565,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -568,14 +574,14 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(delEntityIdList_) : delEntityIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
public int getDelEntityIdListCount() {
|
||||
return delEntityIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
@@ -583,7 +589,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return delEntityIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The delEntityIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -596,7 +602,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param value The delEntityIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -607,7 +613,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @param values The delEntityIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -620,7 +626,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 15;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDelEntityIdList() {
|
||||
@@ -632,7 +638,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
|
||||
private int sceneId_ ;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 10;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -640,7 +646,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return sceneId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 10;</code>
|
||||
* @param value The sceneId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -651,7 +657,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSceneId() {
|
||||
@@ -728,8 +734,8 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\031DelTeamEntityNotify.proto\"C\n\023DelTeamEn" +
|
||||
"tityNotify\022\032\n\022del_entity_id_list\030\017 \003(\r\022\020" +
|
||||
"\n\010scene_id\030\010 \001(\rB\033\n\031emu.grasscutter.net." +
|
||||
"tityNotify\022\032\n\022del_entity_id_list\030\016 \003(\r\022\020" +
|
||||
"\n\010scene_id\030\n \001(\rB\033\n\031emu.grasscutter.net." +
|
||||
"protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user