mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 17:19:50 +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,17 +19,20 @@ public final class QuestDelNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 quest_id = 1;</code>
|
||||
* <code>uint32 quest_id = 8;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
int getQuestId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 412
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 456;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code QuestDelNotify}
|
||||
@@ -76,7 +79,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
case 64: {
|
||||
|
||||
questId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -113,10 +116,10 @@ public final class QuestDelNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.QuestDelNotifyOuterClass.QuestDelNotify.class, emu.grasscutter.net.proto.QuestDelNotifyOuterClass.QuestDelNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int QUEST_ID_FIELD_NUMBER = 1;
|
||||
public static final int QUEST_ID_FIELD_NUMBER = 8;
|
||||
private int questId_;
|
||||
/**
|
||||
* <code>uint32 quest_id = 1;</code>
|
||||
* <code>uint32 quest_id = 8;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +142,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (questId_ != 0) {
|
||||
output.writeUInt32(1, questId_);
|
||||
output.writeUInt32(8, questId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +155,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
size = 0;
|
||||
if (questId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, questId_);
|
||||
.computeUInt32Size(8, questId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -281,10 +284,13 @@ public final class QuestDelNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 412
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 456;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code QuestDelNotify}
|
||||
@@ -435,7 +441,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
|
||||
private int questId_ ;
|
||||
/**
|
||||
* <code>uint32 quest_id = 1;</code>
|
||||
* <code>uint32 quest_id = 8;</code>
|
||||
* @return The questId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -443,7 +449,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
return questId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 quest_id = 1;</code>
|
||||
* <code>uint32 quest_id = 8;</code>
|
||||
* @param value The questId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -454,7 +460,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 quest_id = 1;</code>
|
||||
* <code>uint32 quest_id = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearQuestId() {
|
||||
@@ -531,7 +537,7 @@ public final class QuestDelNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\024QuestDelNotify.proto\"\"\n\016QuestDelNotify" +
|
||||
"\022\020\n\010quest_id\030\001 \001(\rB\033\n\031emu.grasscutter.ne" +
|
||||
"\022\020\n\010quest_id\030\010 \001(\rB\033\n\031emu.grasscutter.ne" +
|
||||
"t.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user