mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 17:01:21 +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
+24
-18
@@ -19,17 +19,20 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>bool is_can_use_skill = 2;</code>
|
||||
* <code>bool is_can_use_skill = 12;</code>
|
||||
* @return The isCanUseSkill.
|
||||
*/
|
||||
boolean getIsCanUseSkill();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1005
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1042;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CanUseSkillNotify}
|
||||
@@ -76,7 +79,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
case 96: {
|
||||
|
||||
isCanUseSkill_ = input.readBool();
|
||||
break;
|
||||
@@ -113,10 +116,10 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.CanUseSkillNotifyOuterClass.CanUseSkillNotify.class, emu.grasscutter.net.proto.CanUseSkillNotifyOuterClass.CanUseSkillNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int IS_CAN_USE_SKILL_FIELD_NUMBER = 2;
|
||||
public static final int IS_CAN_USE_SKILL_FIELD_NUMBER = 12;
|
||||
private boolean isCanUseSkill_;
|
||||
/**
|
||||
* <code>bool is_can_use_skill = 2;</code>
|
||||
* <code>bool is_can_use_skill = 12;</code>
|
||||
* @return The isCanUseSkill.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +142,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (isCanUseSkill_ != false) {
|
||||
output.writeBool(2, isCanUseSkill_);
|
||||
output.writeBool(12, isCanUseSkill_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +155,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
size = 0;
|
||||
if (isCanUseSkill_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(2, isCanUseSkill_);
|
||||
.computeBoolSize(12, isCanUseSkill_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -282,10 +285,13 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1005
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1042;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CanUseSkillNotify}
|
||||
@@ -436,7 +442,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
|
||||
private boolean isCanUseSkill_ ;
|
||||
/**
|
||||
* <code>bool is_can_use_skill = 2;</code>
|
||||
* <code>bool is_can_use_skill = 12;</code>
|
||||
* @return The isCanUseSkill.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -444,7 +450,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
return isCanUseSkill_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_can_use_skill = 2;</code>
|
||||
* <code>bool is_can_use_skill = 12;</code>
|
||||
* @param value The isCanUseSkill to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -455,7 +461,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_can_use_skill = 2;</code>
|
||||
* <code>bool is_can_use_skill = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsCanUseSkill() {
|
||||
@@ -532,7 +538,7 @@ public final class CanUseSkillNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027CanUseSkillNotify.proto\"-\n\021CanUseSkill" +
|
||||
"Notify\022\030\n\020is_can_use_skill\030\002 \001(\010B\033\n\031emu." +
|
||||
"Notify\022\030\n\020is_can_use_skill\030\014 \001(\010B\033\n\031emu." +
|
||||
"grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user