mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 07:13:33 +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
+34
-28
@@ -19,26 +19,29 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return Whether the widgetGadgetData field is set.
|
||||
*/
|
||||
boolean hasWidgetGadgetData();
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return The widgetGadgetData.
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData getWidgetGadgetData();
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetDataOrBuilder getWidgetGadgetDataOrBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4266
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4276;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WidgetGadgetDataNotify}
|
||||
@@ -85,7 +88,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 98: {
|
||||
case 26: {
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder subBuilder = null;
|
||||
if (widgetGadgetData_ != null) {
|
||||
subBuilder = widgetGadgetData_.toBuilder();
|
||||
@@ -130,10 +133,10 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataNotifyOuterClass.WidgetGadgetDataNotify.class, emu.grasscutter.net.proto.WidgetGadgetDataNotifyOuterClass.WidgetGadgetDataNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int WIDGET_GADGET_DATA_FIELD_NUMBER = 12;
|
||||
public static final int WIDGET_GADGET_DATA_FIELD_NUMBER = 3;
|
||||
private emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData widgetGadgetData_;
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return Whether the widgetGadgetData field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -141,7 +144,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return widgetGadgetData_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return The widgetGadgetData.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -149,7 +152,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return widgetGadgetData_ == null ? emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.getDefaultInstance() : widgetGadgetData_;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetDataOrBuilder getWidgetGadgetDataOrBuilder() {
|
||||
@@ -171,7 +174,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (widgetGadgetData_ != null) {
|
||||
output.writeMessage(12, getWidgetGadgetData());
|
||||
output.writeMessage(3, getWidgetGadgetData());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -184,7 +187,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
size = 0;
|
||||
if (widgetGadgetData_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(12, getWidgetGadgetData());
|
||||
.computeMessageSize(3, getWidgetGadgetData());
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -318,10 +321,13 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4266
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4276;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WidgetGadgetDataNotify}
|
||||
@@ -482,14 +488,14 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData, emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder, emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetDataOrBuilder> widgetGadgetDataBuilder_;
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return Whether the widgetGadgetData field is set.
|
||||
*/
|
||||
public boolean hasWidgetGadgetData() {
|
||||
return widgetGadgetDataBuilder_ != null || widgetGadgetData_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
* @return The widgetGadgetData.
|
||||
*/
|
||||
public emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData getWidgetGadgetData() {
|
||||
@@ -500,7 +506,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public Builder setWidgetGadgetData(emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData value) {
|
||||
if (widgetGadgetDataBuilder_ == null) {
|
||||
@@ -516,7 +522,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public Builder setWidgetGadgetData(
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder builderForValue) {
|
||||
@@ -530,7 +536,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public Builder mergeWidgetGadgetData(emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData value) {
|
||||
if (widgetGadgetDataBuilder_ == null) {
|
||||
@@ -548,7 +554,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public Builder clearWidgetGadgetData() {
|
||||
if (widgetGadgetDataBuilder_ == null) {
|
||||
@@ -562,7 +568,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder getWidgetGadgetDataBuilder() {
|
||||
|
||||
@@ -570,7 +576,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
return getWidgetGadgetDataFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetDataOrBuilder getWidgetGadgetDataOrBuilder() {
|
||||
if (widgetGadgetDataBuilder_ != null) {
|
||||
@@ -581,7 +587,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 12;</code>
|
||||
* <code>.WidgetGadgetData widget_gadget_data = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData, emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder, emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetDataOrBuilder>
|
||||
@@ -665,7 +671,7 @@ public final class WidgetGadgetDataNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034WidgetGadgetDataNotify.proto\032\026WidgetGa" +
|
||||
"dgetData.proto\"G\n\026WidgetGadgetDataNotify" +
|
||||
"\022-\n\022widget_gadget_data\030\014 \001(\0132\021.WidgetGad" +
|
||||
"\022-\n\022widget_gadget_data\030\003 \001(\0132\021.WidgetGad" +
|
||||
"getDataB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user