mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
feat: update to 3.3.51
This commit is contained in:
@@ -24,13 +24,13 @@ namespace EggLink.DanhengServer.Proto {
|
||||
static BasicModuleSyncReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChVCYXNpY01vZHVsZVN5bmMucHJvdG8iRgoPQmFzaWNNb2R1bGVTeW5jEg8K",
|
||||
"B3N0YW1pbmEYDyABKA0SIgoad2Vla19jb2Nvb25fZmluaXNoZWRfY291bnQY",
|
||||
"DSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
"ChVCYXNpY01vZHVsZVN5bmMucHJvdG8iRgoPQmFzaWNNb2R1bGVTeW5jEiIK",
|
||||
"GndlZWtfY29jb29uX2ZpbmlzaGVkX2NvdW50GAcgASgNEg8KB3N0YW1pbmEY",
|
||||
"DyABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
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[]{ "Stamina", "WeekCocoonFinishedCount" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BasicModuleSync), global::EggLink.DanhengServer.Proto.BasicModuleSync.Parser, new[]{ "WeekCocoonFinishedCount", "Stamina" }, 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() {
|
||||
stamina_ = other.stamina_;
|
||||
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
|
||||
stamina_ = other.stamina_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -83,6 +83,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new BasicModuleSync(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "week_cocoon_finished_count" field.</summary>
|
||||
public const int WeekCocoonFinishedCountFieldNumber = 7;
|
||||
private uint weekCocoonFinishedCount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint WeekCocoonFinishedCount {
|
||||
get { return weekCocoonFinishedCount_; }
|
||||
set {
|
||||
weekCocoonFinishedCount_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "stamina" field.</summary>
|
||||
public const int StaminaFieldNumber = 15;
|
||||
private uint stamina_;
|
||||
@@ -95,18 +107,6 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "week_cocoon_finished_count" field.</summary>
|
||||
public const int WeekCocoonFinishedCountFieldNumber = 13;
|
||||
private uint weekCocoonFinishedCount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint WeekCocoonFinishedCount {
|
||||
get { return weekCocoonFinishedCount_; }
|
||||
set {
|
||||
weekCocoonFinishedCount_ = 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 (Stamina != other.Stamina) return false;
|
||||
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false;
|
||||
if (Stamina != other.Stamina) 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 (Stamina != 0) hash ^= Stamina.GetHashCode();
|
||||
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode();
|
||||
if (Stamina != 0) hash ^= Stamina.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -152,7 +152,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (WeekCocoonFinishedCount != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteRawTag(56);
|
||||
output.WriteUInt32(WeekCocoonFinishedCount);
|
||||
}
|
||||
if (Stamina != 0) {
|
||||
@@ -170,7 +170,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (WeekCocoonFinishedCount != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteRawTag(56);
|
||||
output.WriteUInt32(WeekCocoonFinishedCount);
|
||||
}
|
||||
if (Stamina != 0) {
|
||||
@@ -187,12 +187,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Stamina != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
|
||||
}
|
||||
if (WeekCocoonFinishedCount != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
|
||||
}
|
||||
if (Stamina != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -205,12 +205,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Stamina != 0) {
|
||||
Stamina = other.Stamina;
|
||||
}
|
||||
if (other.WeekCocoonFinishedCount != 0) {
|
||||
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
|
||||
}
|
||||
if (other.Stamina != 0) {
|
||||
Stamina = other.Stamina;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 104: {
|
||||
case 56: {
|
||||
WeekCocoonFinishedCount = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
@@ -249,7 +249,7 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 104: {
|
||||
case 56: {
|
||||
WeekCocoonFinishedCount = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user