Files
DanhengServer-OpenSource/Proto/FightActivityGroup.cs
2025-01-15 23:20:16 +08:00

339 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FightActivityGroup.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from FightActivityGroup.proto</summary>
public static partial class FightActivityGroupReflection {
#region Descriptor
/// <summary>File descriptor for FightActivityGroup.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static FightActivityGroupReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhGaWdodEFjdGl2aXR5R3JvdXAucHJvdG8ihwEKEkZpZ2h0QWN0aXZpdHlH",
"cm91cBIgChhQYXNzZWRNYXhEaWZmaWN1bHR5TGV2ZWwYBCABKA0SJgoeVGFr",
"ZW5EaWZmaWN1bHR5TGV2ZWxSZXdhcmRMaXN0GA8gAygNEhYKDkVuZGxlc3NN",
"YXhXYXZlGAcgASgNEg8KB0dyb3VwSWQYCiABKA1CHqoCG0VnZ0xpbmsuRGFu",
"aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FightActivityGroup), global::EggLink.DanhengServer.Proto.FightActivityGroup.Parser, new[]{ "PassedMaxDifficultyLevel", "TakenDifficultyLevelRewardList", "EndlessMaxWave", "GroupId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FightActivityGroup : pb::IMessage<FightActivityGroup>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FightActivityGroup> _parser = new pb::MessageParser<FightActivityGroup>(() => new FightActivityGroup());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FightActivityGroup> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.FightActivityGroupReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FightActivityGroup() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FightActivityGroup(FightActivityGroup other) : this() {
passedMaxDifficultyLevel_ = other.passedMaxDifficultyLevel_;
takenDifficultyLevelRewardList_ = other.takenDifficultyLevelRewardList_.Clone();
endlessMaxWave_ = other.endlessMaxWave_;
groupId_ = other.groupId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FightActivityGroup Clone() {
return new FightActivityGroup(this);
}
/// <summary>Field number for the "PassedMaxDifficultyLevel" field.</summary>
public const int PassedMaxDifficultyLevelFieldNumber = 4;
private uint passedMaxDifficultyLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PassedMaxDifficultyLevel {
get { return passedMaxDifficultyLevel_; }
set {
passedMaxDifficultyLevel_ = value;
}
}
/// <summary>Field number for the "TakenDifficultyLevelRewardList" field.</summary>
public const int TakenDifficultyLevelRewardListFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_takenDifficultyLevelRewardList_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> takenDifficultyLevelRewardList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenDifficultyLevelRewardList {
get { return takenDifficultyLevelRewardList_; }
}
/// <summary>Field number for the "EndlessMaxWave" field.</summary>
public const int EndlessMaxWaveFieldNumber = 7;
private uint endlessMaxWave_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EndlessMaxWave {
get { return endlessMaxWave_; }
set {
endlessMaxWave_ = value;
}
}
/// <summary>Field number for the "GroupId" field.</summary>
public const int GroupIdFieldNumber = 10;
private uint groupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GroupId {
get { return groupId_; }
set {
groupId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as FightActivityGroup);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(FightActivityGroup other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PassedMaxDifficultyLevel != other.PassedMaxDifficultyLevel) return false;
if(!takenDifficultyLevelRewardList_.Equals(other.takenDifficultyLevelRewardList_)) return false;
if (EndlessMaxWave != other.EndlessMaxWave) return false;
if (GroupId != other.GroupId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (PassedMaxDifficultyLevel != 0) hash ^= PassedMaxDifficultyLevel.GetHashCode();
hash ^= takenDifficultyLevelRewardList_.GetHashCode();
if (EndlessMaxWave != 0) hash ^= EndlessMaxWave.GetHashCode();
if (GroupId != 0) hash ^= GroupId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (PassedMaxDifficultyLevel != 0) {
output.WriteRawTag(32);
output.WriteUInt32(PassedMaxDifficultyLevel);
}
if (EndlessMaxWave != 0) {
output.WriteRawTag(56);
output.WriteUInt32(EndlessMaxWave);
}
if (GroupId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(GroupId);
}
takenDifficultyLevelRewardList_.WriteTo(output, _repeated_takenDifficultyLevelRewardList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (PassedMaxDifficultyLevel != 0) {
output.WriteRawTag(32);
output.WriteUInt32(PassedMaxDifficultyLevel);
}
if (EndlessMaxWave != 0) {
output.WriteRawTag(56);
output.WriteUInt32(EndlessMaxWave);
}
if (GroupId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(GroupId);
}
takenDifficultyLevelRewardList_.WriteTo(ref output, _repeated_takenDifficultyLevelRewardList_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (PassedMaxDifficultyLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PassedMaxDifficultyLevel);
}
size += takenDifficultyLevelRewardList_.CalculateSize(_repeated_takenDifficultyLevelRewardList_codec);
if (EndlessMaxWave != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndlessMaxWave);
}
if (GroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(FightActivityGroup other) {
if (other == null) {
return;
}
if (other.PassedMaxDifficultyLevel != 0) {
PassedMaxDifficultyLevel = other.PassedMaxDifficultyLevel;
}
takenDifficultyLevelRewardList_.Add(other.takenDifficultyLevelRewardList_);
if (other.EndlessMaxWave != 0) {
EndlessMaxWave = other.EndlessMaxWave;
}
if (other.GroupId != 0) {
GroupId = other.GroupId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 32: {
PassedMaxDifficultyLevel = input.ReadUInt32();
break;
}
case 56: {
EndlessMaxWave = input.ReadUInt32();
break;
}
case 80: {
GroupId = input.ReadUInt32();
break;
}
case 122:
case 120: {
takenDifficultyLevelRewardList_.AddEntriesFrom(input, _repeated_takenDifficultyLevelRewardList_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 32: {
PassedMaxDifficultyLevel = input.ReadUInt32();
break;
}
case 56: {
EndlessMaxWave = input.ReadUInt32();
break;
}
case 80: {
GroupId = input.ReadUInt32();
break;
}
case 122:
case 120: {
takenDifficultyLevelRewardList_.AddEntriesFrom(ref input, _repeated_takenDifficultyLevelRewardList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code