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:
Simplxs
2022-12-24 05:12:02 +08:00
committed by GitHub
Unverified
parent 8b83dbf58c
commit 92fbaa8670
1142 changed files with 474411 additions and 169883 deletions
@@ -19,29 +19,32 @@ public final class SceneTimeNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 scene_time = 14;</code>
* <code>uint64 scene_time = 10;</code>
* @return The sceneTime.
*/
long getSceneTime();
/**
* <code>bool is_paused = 1;</code>
* @return The isPaused.
*/
boolean getIsPaused();
/**
* <code>uint32 scene_id = 7;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
int getSceneId();
/**
* <code>bool is_paused = 5;</code>
* @return The isPaused.
*/
boolean getIsPaused();
}
/**
* <pre>
* CmdId: 245
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 296;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code SceneTimeNotify}
@@ -88,19 +91,19 @@ public final class SceneTimeNotifyOuterClass {
case 0:
done = true;
break;
case 8: {
case 40: {
isPaused_ = input.readBool();
break;
}
case 56: {
case 80: {
sceneId_ = input.readUInt32();
sceneTime_ = input.readUInt64();
break;
}
case 112: {
sceneTime_ = input.readUInt64();
sceneId_ = input.readUInt32();
break;
}
default: {
@@ -135,10 +138,10 @@ public final class SceneTimeNotifyOuterClass {
emu.grasscutter.net.proto.SceneTimeNotifyOuterClass.SceneTimeNotify.class, emu.grasscutter.net.proto.SceneTimeNotifyOuterClass.SceneTimeNotify.Builder.class);
}
public static final int SCENE_TIME_FIELD_NUMBER = 14;
public static final int SCENE_TIME_FIELD_NUMBER = 10;
private long sceneTime_;
/**
* <code>uint64 scene_time = 14;</code>
* <code>uint64 scene_time = 10;</code>
* @return The sceneTime.
*/
@java.lang.Override
@@ -146,21 +149,10 @@ public final class SceneTimeNotifyOuterClass {
return sceneTime_;
}
public static final int IS_PAUSED_FIELD_NUMBER = 1;
private boolean isPaused_;
/**
* <code>bool is_paused = 1;</code>
* @return The isPaused.
*/
@java.lang.Override
public boolean getIsPaused() {
return isPaused_;
}
public static final int SCENE_ID_FIELD_NUMBER = 7;
public static final int SCENE_ID_FIELD_NUMBER = 14;
private int sceneId_;
/**
* <code>uint32 scene_id = 7;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -168,6 +160,17 @@ public final class SceneTimeNotifyOuterClass {
return sceneId_;
}
public static final int IS_PAUSED_FIELD_NUMBER = 5;
private boolean isPaused_;
/**
* <code>bool is_paused = 5;</code>
* @return The isPaused.
*/
@java.lang.Override
public boolean getIsPaused() {
return isPaused_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -183,13 +186,13 @@ public final class SceneTimeNotifyOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isPaused_ != false) {
output.writeBool(1, isPaused_);
}
if (sceneId_ != 0) {
output.writeUInt32(7, sceneId_);
output.writeBool(5, isPaused_);
}
if (sceneTime_ != 0L) {
output.writeUInt64(14, sceneTime_);
output.writeUInt64(10, sceneTime_);
}
if (sceneId_ != 0) {
output.writeUInt32(14, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -202,15 +205,15 @@ public final class SceneTimeNotifyOuterClass {
size = 0;
if (isPaused_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isPaused_);
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, sceneId_);
.computeBoolSize(5, isPaused_);
}
if (sceneTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(14, sceneTime_);
.computeUInt64Size(10, sceneTime_);
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -229,10 +232,10 @@ public final class SceneTimeNotifyOuterClass {
if (getSceneTime()
!= other.getSceneTime()) return false;
if (getIsPaused()
!= other.getIsPaused()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (getIsPaused()
!= other.getIsPaused()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -247,11 +250,11 @@ public final class SceneTimeNotifyOuterClass {
hash = (37 * hash) + SCENE_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSceneTime());
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (37 * hash) + IS_PAUSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsPaused());
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -349,10 +352,13 @@ public final class SceneTimeNotifyOuterClass {
}
/**
* <pre>
* CmdId: 245
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 296;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code SceneTimeNotify}
@@ -394,10 +400,10 @@ public final class SceneTimeNotifyOuterClass {
super.clear();
sceneTime_ = 0L;
isPaused_ = false;
sceneId_ = 0;
isPaused_ = false;
return this;
}
@@ -425,8 +431,8 @@ public final class SceneTimeNotifyOuterClass {
public emu.grasscutter.net.proto.SceneTimeNotifyOuterClass.SceneTimeNotify buildPartial() {
emu.grasscutter.net.proto.SceneTimeNotifyOuterClass.SceneTimeNotify result = new emu.grasscutter.net.proto.SceneTimeNotifyOuterClass.SceneTimeNotify(this);
result.sceneTime_ = sceneTime_;
result.isPaused_ = isPaused_;
result.sceneId_ = sceneId_;
result.isPaused_ = isPaused_;
onBuilt();
return result;
}
@@ -478,12 +484,12 @@ public final class SceneTimeNotifyOuterClass {
if (other.getSceneTime() != 0L) {
setSceneTime(other.getSceneTime());
}
if (other.getIsPaused() != false) {
setIsPaused(other.getIsPaused());
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.getIsPaused() != false) {
setIsPaused(other.getIsPaused());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -515,7 +521,7 @@ public final class SceneTimeNotifyOuterClass {
private long sceneTime_ ;
/**
* <code>uint64 scene_time = 14;</code>
* <code>uint64 scene_time = 10;</code>
* @return The sceneTime.
*/
@java.lang.Override
@@ -523,7 +529,7 @@ public final class SceneTimeNotifyOuterClass {
return sceneTime_;
}
/**
* <code>uint64 scene_time = 14;</code>
* <code>uint64 scene_time = 10;</code>
* @param value The sceneTime to set.
* @return This builder for chaining.
*/
@@ -534,7 +540,7 @@ public final class SceneTimeNotifyOuterClass {
return this;
}
/**
* <code>uint64 scene_time = 14;</code>
* <code>uint64 scene_time = 10;</code>
* @return This builder for chaining.
*/
public Builder clearSceneTime() {
@@ -544,40 +550,9 @@ public final class SceneTimeNotifyOuterClass {
return this;
}
private boolean isPaused_ ;
/**
* <code>bool is_paused = 1;</code>
* @return The isPaused.
*/
@java.lang.Override
public boolean getIsPaused() {
return isPaused_;
}
/**
* <code>bool is_paused = 1;</code>
* @param value The isPaused to set.
* @return This builder for chaining.
*/
public Builder setIsPaused(boolean value) {
isPaused_ = value;
onChanged();
return this;
}
/**
* <code>bool is_paused = 1;</code>
* @return This builder for chaining.
*/
public Builder clearIsPaused() {
isPaused_ = false;
onChanged();
return this;
}
private int sceneId_ ;
/**
* <code>uint32 scene_id = 7;</code>
* <code>uint32 scene_id = 14;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -585,7 +560,7 @@ public final class SceneTimeNotifyOuterClass {
return sceneId_;
}
/**
* <code>uint32 scene_id = 7;</code>
* <code>uint32 scene_id = 14;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
@@ -596,7 +571,7 @@ public final class SceneTimeNotifyOuterClass {
return this;
}
/**
* <code>uint32 scene_id = 7;</code>
* <code>uint32 scene_id = 14;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
@@ -605,6 +580,37 @@ public final class SceneTimeNotifyOuterClass {
onChanged();
return this;
}
private boolean isPaused_ ;
/**
* <code>bool is_paused = 5;</code>
* @return The isPaused.
*/
@java.lang.Override
public boolean getIsPaused() {
return isPaused_;
}
/**
* <code>bool is_paused = 5;</code>
* @param value The isPaused to set.
* @return This builder for chaining.
*/
public Builder setIsPaused(boolean value) {
isPaused_ = value;
onChanged();
return this;
}
/**
* <code>bool is_paused = 5;</code>
* @return This builder for chaining.
*/
public Builder clearIsPaused() {
isPaused_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -673,8 +679,8 @@ public final class SceneTimeNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\025SceneTimeNotify.proto\"J\n\017SceneTimeNoti" +
"fy\022\022\n\nscene_time\030\016 \001(\004\022\021\n\tis_paused\030\001 \001(" +
"\010\022\020\n\010scene_id\030\007 \001(\rB\033\n\031emu.grasscutter.n" +
"fy\022\022\n\nscene_time\030\n \001(\004\022\020\n\010scene_id\030\016 \001(\r" +
"\022\021\n\tis_paused\030\005 \001(\010B\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -686,7 +692,7 @@ public final class SceneTimeNotifyOuterClass {
internal_static_SceneTimeNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SceneTimeNotify_descriptor,
new java.lang.String[] { "SceneTime", "IsPaused", "SceneId", });
new java.lang.String[] { "SceneTime", "SceneId", "IsPaused", });
}
// @@protoc_insertion_point(outer_class_scope)