mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
340 lines
14 KiB
C#
340 lines
14 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(
|
|
"ChhGaWdodEFjdGl2aXR5R3JvdXAucHJvdG8iqAEKEkZpZ2h0QWN0aXZpdHlH",
|
|
"cm91cBIaChJHcm91cElkRmllbGROdW1iZXIYCCABKA0SIQoZRW5kbGVzc01h",
|
|
"eFdhdmVGaWVsZE51bWJlchgFIAEoDRIgChhQYXNzZWRNYXhEaWZmaWN1bHR5",
|
|
"bGV2ZWwYAiABKA0SMQopVGFrZW5EaWZmaWN1bHR5TGV2ZWxSZXdhcmRMaXN0",
|
|
"RmllbGROdW1iZXIYCyADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Q",
|
|
"cm90b2IGcHJvdG8z"));
|
|
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[]{ "GroupIdFieldNumber", "EndlessMaxWaveFieldNumber", "PassedMaxDifficultylevel", "TakenDifficultyLevelRewardListFieldNumber" }, 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() {
|
|
groupIdFieldNumber_ = other.groupIdFieldNumber_;
|
|
endlessMaxWaveFieldNumber_ = other.endlessMaxWaveFieldNumber_;
|
|
passedMaxDifficultylevel_ = other.passedMaxDifficultylevel_;
|
|
takenDifficultyLevelRewardListFieldNumber_ = other.takenDifficultyLevelRewardListFieldNumber_.Clone();
|
|
_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 "GroupIdFieldNumber" field.</summary>
|
|
public const int GroupIdFieldNumberFieldNumber = 8;
|
|
private uint groupIdFieldNumber_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GroupIdFieldNumber {
|
|
get { return groupIdFieldNumber_; }
|
|
set {
|
|
groupIdFieldNumber_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "EndlessMaxWaveFieldNumber" field.</summary>
|
|
public const int EndlessMaxWaveFieldNumberFieldNumber = 5;
|
|
private uint endlessMaxWaveFieldNumber_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EndlessMaxWaveFieldNumber {
|
|
get { return endlessMaxWaveFieldNumber_; }
|
|
set {
|
|
endlessMaxWaveFieldNumber_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "PassedMaxDifficultylevel" field.</summary>
|
|
public const int PassedMaxDifficultylevelFieldNumber = 2;
|
|
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 "TakenDifficultyLevelRewardListFieldNumber" field.</summary>
|
|
public const int TakenDifficultyLevelRewardListFieldNumberFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_takenDifficultyLevelRewardListFieldNumber_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> takenDifficultyLevelRewardListFieldNumber_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> TakenDifficultyLevelRewardListFieldNumber {
|
|
get { return takenDifficultyLevelRewardListFieldNumber_; }
|
|
}
|
|
|
|
[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 (GroupIdFieldNumber != other.GroupIdFieldNumber) return false;
|
|
if (EndlessMaxWaveFieldNumber != other.EndlessMaxWaveFieldNumber) return false;
|
|
if (PassedMaxDifficultylevel != other.PassedMaxDifficultylevel) return false;
|
|
if(!takenDifficultyLevelRewardListFieldNumber_.Equals(other.takenDifficultyLevelRewardListFieldNumber_)) 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 (GroupIdFieldNumber != 0) hash ^= GroupIdFieldNumber.GetHashCode();
|
|
if (EndlessMaxWaveFieldNumber != 0) hash ^= EndlessMaxWaveFieldNumber.GetHashCode();
|
|
if (PassedMaxDifficultylevel != 0) hash ^= PassedMaxDifficultylevel.GetHashCode();
|
|
hash ^= takenDifficultyLevelRewardListFieldNumber_.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(16);
|
|
output.WriteUInt32(PassedMaxDifficultylevel);
|
|
}
|
|
if (EndlessMaxWaveFieldNumber != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(EndlessMaxWaveFieldNumber);
|
|
}
|
|
if (GroupIdFieldNumber != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(GroupIdFieldNumber);
|
|
}
|
|
takenDifficultyLevelRewardListFieldNumber_.WriteTo(output, _repeated_takenDifficultyLevelRewardListFieldNumber_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(16);
|
|
output.WriteUInt32(PassedMaxDifficultylevel);
|
|
}
|
|
if (EndlessMaxWaveFieldNumber != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(EndlessMaxWaveFieldNumber);
|
|
}
|
|
if (GroupIdFieldNumber != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(GroupIdFieldNumber);
|
|
}
|
|
takenDifficultyLevelRewardListFieldNumber_.WriteTo(ref output, _repeated_takenDifficultyLevelRewardListFieldNumber_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 (GroupIdFieldNumber != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupIdFieldNumber);
|
|
}
|
|
if (EndlessMaxWaveFieldNumber != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndlessMaxWaveFieldNumber);
|
|
}
|
|
if (PassedMaxDifficultylevel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PassedMaxDifficultylevel);
|
|
}
|
|
size += takenDifficultyLevelRewardListFieldNumber_.CalculateSize(_repeated_takenDifficultyLevelRewardListFieldNumber_codec);
|
|
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.GroupIdFieldNumber != 0) {
|
|
GroupIdFieldNumber = other.GroupIdFieldNumber;
|
|
}
|
|
if (other.EndlessMaxWaveFieldNumber != 0) {
|
|
EndlessMaxWaveFieldNumber = other.EndlessMaxWaveFieldNumber;
|
|
}
|
|
if (other.PassedMaxDifficultylevel != 0) {
|
|
PassedMaxDifficultylevel = other.PassedMaxDifficultylevel;
|
|
}
|
|
takenDifficultyLevelRewardListFieldNumber_.Add(other.takenDifficultyLevelRewardListFieldNumber_);
|
|
_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 16: {
|
|
PassedMaxDifficultylevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
EndlessMaxWaveFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
GroupIdFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
takenDifficultyLevelRewardListFieldNumber_.AddEntriesFrom(input, _repeated_takenDifficultyLevelRewardListFieldNumber_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 16: {
|
|
PassedMaxDifficultylevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
EndlessMaxWaveFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
GroupIdFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
takenDifficultyLevelRewardListFieldNumber_.AddEntriesFrom(ref input, _repeated_takenDifficultyLevelRewardListFieldNumber_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|