mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 00:15:52 +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
+40
-34
@@ -19,23 +19,26 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 prop_delta = 13;</code>
|
||||
* <code>uint32 prop_delta = 4;</code>
|
||||
* @return The propDelta.
|
||||
*/
|
||||
int getPropDelta();
|
||||
|
||||
/**
|
||||
* <code>uint32 prop_type = 12;</code>
|
||||
* <code>uint32 prop_type = 13;</code>
|
||||
* @return The propType.
|
||||
*/
|
||||
int getPropType();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 139
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 116;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerPropChangeNotify}
|
||||
@@ -82,14 +85,14 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 96: {
|
||||
case 32: {
|
||||
|
||||
propType_ = input.readUInt32();
|
||||
propDelta_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
propDelta_ = input.readUInt32();
|
||||
propType_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -124,10 +127,10 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerPropChangeNotifyOuterClass.PlayerPropChangeNotify.class, emu.grasscutter.net.proto.PlayerPropChangeNotifyOuterClass.PlayerPropChangeNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int PROP_DELTA_FIELD_NUMBER = 13;
|
||||
public static final int PROP_DELTA_FIELD_NUMBER = 4;
|
||||
private int propDelta_;
|
||||
/**
|
||||
* <code>uint32 prop_delta = 13;</code>
|
||||
* <code>uint32 prop_delta = 4;</code>
|
||||
* @return The propDelta.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -135,10 +138,10 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
return propDelta_;
|
||||
}
|
||||
|
||||
public static final int PROP_TYPE_FIELD_NUMBER = 12;
|
||||
public static final int PROP_TYPE_FIELD_NUMBER = 13;
|
||||
private int propType_;
|
||||
/**
|
||||
* <code>uint32 prop_type = 12;</code>
|
||||
* <code>uint32 prop_type = 13;</code>
|
||||
* @return The propType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -160,11 +163,11 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (propType_ != 0) {
|
||||
output.writeUInt32(12, propType_);
|
||||
}
|
||||
if (propDelta_ != 0) {
|
||||
output.writeUInt32(13, propDelta_);
|
||||
output.writeUInt32(4, propDelta_);
|
||||
}
|
||||
if (propType_ != 0) {
|
||||
output.writeUInt32(13, propType_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -175,13 +178,13 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (propType_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, propType_);
|
||||
}
|
||||
if (propDelta_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, propDelta_);
|
||||
.computeUInt32Size(4, propDelta_);
|
||||
}
|
||||
if (propType_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, propType_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -314,10 +317,13 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 139
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 116;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerPropChangeNotify}
|
||||
@@ -474,7 +480,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
|
||||
private int propDelta_ ;
|
||||
/**
|
||||
* <code>uint32 prop_delta = 13;</code>
|
||||
* <code>uint32 prop_delta = 4;</code>
|
||||
* @return The propDelta.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -482,7 +488,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
return propDelta_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 prop_delta = 13;</code>
|
||||
* <code>uint32 prop_delta = 4;</code>
|
||||
* @param value The propDelta to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -493,7 +499,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 prop_delta = 13;</code>
|
||||
* <code>uint32 prop_delta = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPropDelta() {
|
||||
@@ -505,7 +511,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
|
||||
private int propType_ ;
|
||||
/**
|
||||
* <code>uint32 prop_type = 12;</code>
|
||||
* <code>uint32 prop_type = 13;</code>
|
||||
* @return The propType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -513,7 +519,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
return propType_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 prop_type = 12;</code>
|
||||
* <code>uint32 prop_type = 13;</code>
|
||||
* @param value The propType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -524,7 +530,7 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 prop_type = 12;</code>
|
||||
* <code>uint32 prop_type = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPropType() {
|
||||
@@ -601,8 +607,8 @@ public final class PlayerPropChangeNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034PlayerPropChangeNotify.proto\"?\n\026Player" +
|
||||
"PropChangeNotify\022\022\n\nprop_delta\030\r \001(\r\022\021\n\t" +
|
||||
"prop_type\030\014 \001(\rB\033\n\031emu.grasscutter.net.p" +
|
||||
"PropChangeNotify\022\022\n\nprop_delta\030\004 \001(\r\022\021\n\t" +
|
||||
"prop_type\030\r \001(\rB\033\n\031emu.grasscutter.net.p" +
|
||||
"rotob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user