feat: update to game 3.2.0

This commit is contained in:
letheriver2007
2025-04-14 19:43:38 +08:00
parent 899053442a
commit bfa2eb5445
2873 changed files with 237238 additions and 115406 deletions

View File

@@ -24,13 +24,13 @@ namespace EggLink.DanhengServer.Proto {
static BasicModuleSyncReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVCYXNpY01vZHVsZVN5bmMucHJvdG8iRgoPQmFzaWNNb2R1bGVTeW5jEiIK",
"GndlZWtfY29jb29uX2ZpbmlzaGVkX2NvdW50GA0gASgNEg8KB3N0YW1pbmEY",
"AiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
"ChVCYXNpY01vZHVsZVN5bmMucHJvdG8iRgoPQmFzaWNNb2R1bGVTeW5jEg8K",
"B3N0YW1pbmEYDyABKA0SIgoad2Vla19jb2Nvb25fZmluaXNoZWRfY291bnQY",
"DSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BasicModuleSync), global::EggLink.DanhengServer.Proto.BasicModuleSync.Parser, new[]{ "WeekCocoonFinishedCount", "Stamina" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BasicModuleSync), global::EggLink.DanhengServer.Proto.BasicModuleSync.Parser, new[]{ "Stamina", "WeekCocoonFinishedCount" }, null, null, null, null)
}));
}
#endregion
@@ -72,8 +72,8 @@ namespace EggLink.DanhengServer.Proto {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BasicModuleSync(BasicModuleSync other) : this() {
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
stamina_ = other.stamina_;
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -83,6 +83,18 @@ namespace EggLink.DanhengServer.Proto {
return new BasicModuleSync(this);
}
/// <summary>Field number for the "stamina" field.</summary>
public const int StaminaFieldNumber = 15;
private uint stamina_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Stamina {
get { return stamina_; }
set {
stamina_ = value;
}
}
/// <summary>Field number for the "week_cocoon_finished_count" field.</summary>
public const int WeekCocoonFinishedCountFieldNumber = 13;
private uint weekCocoonFinishedCount_;
@@ -95,18 +107,6 @@ namespace EggLink.DanhengServer.Proto {
}
}
/// <summary>Field number for the "stamina" field.</summary>
public const int StaminaFieldNumber = 2;
private uint stamina_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Stamina {
get { return stamina_; }
set {
stamina_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@@ -122,8 +122,8 @@ namespace EggLink.DanhengServer.Proto {
if (ReferenceEquals(other, this)) {
return true;
}
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
if (Stamina != other.Stamina) return false;
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -131,8 +131,8 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
if (Stamina != 0) hash ^= Stamina.GetHashCode();
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -151,14 +151,14 @@ namespace EggLink.DanhengServer.Proto {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Stamina != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(104);
output.WriteUInt32(WeekCocoonFinishedCount);
}
if (Stamina != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Stamina);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -169,14 +169,14 @@ namespace EggLink.DanhengServer.Proto {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Stamina != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(104);
output.WriteUInt32(WeekCocoonFinishedCount);
}
if (Stamina != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Stamina);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -187,12 +187,12 @@ namespace EggLink.DanhengServer.Proto {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (WeekCocoonFinishedCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
}
if (Stamina != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -205,12 +205,12 @@ namespace EggLink.DanhengServer.Proto {
if (other == null) {
return;
}
if (other.WeekCocoonFinishedCount != 0) {
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
}
if (other.Stamina != 0) {
Stamina = other.Stamina;
}
if (other.WeekCocoonFinishedCount != 0) {
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -226,14 +226,14 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 16: {
Stamina = input.ReadUInt32();
break;
}
case 104: {
WeekCocoonFinishedCount = input.ReadUInt32();
break;
}
case 120: {
Stamina = input.ReadUInt32();
break;
}
}
}
#endif
@@ -249,14 +249,14 @@ namespace EggLink.DanhengServer.Proto {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 16: {
Stamina = input.ReadUInt32();
break;
}
case 104: {
WeekCocoonFinishedCount = input.ReadUInt32();
break;
}
case 120: {
Stamina = input.ReadUInt32();
break;
}
}
}
}