Files
DanhengServer-OpenSource/Proto/FightFestChallengeLevel.cs
2024-10-27 13:23:57 +08:00

349 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FightFestChallengeLevel.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 FightFestChallengeLevel.proto</summary>
public static partial class FightFestChallengeLevelReflection {
#region Descriptor
/// <summary>File descriptor for FightFestChallengeLevel.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static FightFestChallengeLevelReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1GaWdodEZlc3RDaGFsbGVuZ2VMZXZlbC5wcm90bxoZRmlnaHRGZXN0QmF0",
"dGxlUmFuay5wcm90byKJAQoXRmlnaHRGZXN0Q2hhbGxlbmdlTGV2ZWwSFAoM",
"Y2hhbGxlbmdlX2lkGAcgASgNEhcKD3R1cm5fbGVmdF9jb3VudBgDIAEoDRIQ",
"CghmZXZlcl9pZBgKIAEoDRItCg9mZXZlcl90aW1lX3JhbmsYDyABKA4yFC5G",
"aWdodEZlc3RCYXR0bGVSYW5rQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FightFestBattleRankReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FightFestChallengeLevel), global::EggLink.DanhengServer.Proto.FightFestChallengeLevel.Parser, new[]{ "ChallengeId", "TurnLeftCount", "FeverId", "FeverTimeRank" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FightFestChallengeLevel : pb::IMessage<FightFestChallengeLevel>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FightFestChallengeLevel> _parser = new pb::MessageParser<FightFestChallengeLevel>(() => new FightFestChallengeLevel());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FightFestChallengeLevel> 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.FightFestChallengeLevelReflection.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 FightFestChallengeLevel() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FightFestChallengeLevel(FightFestChallengeLevel other) : this() {
challengeId_ = other.challengeId_;
turnLeftCount_ = other.turnLeftCount_;
feverId_ = other.feverId_;
feverTimeRank_ = other.feverTimeRank_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FightFestChallengeLevel Clone() {
return new FightFestChallengeLevel(this);
}
/// <summary>Field number for the "challenge_id" field.</summary>
public const int ChallengeIdFieldNumber = 7;
private uint challengeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ChallengeId {
get { return challengeId_; }
set {
challengeId_ = value;
}
}
/// <summary>Field number for the "turn_left_count" field.</summary>
public const int TurnLeftCountFieldNumber = 3;
private uint turnLeftCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TurnLeftCount {
get { return turnLeftCount_; }
set {
turnLeftCount_ = value;
}
}
/// <summary>Field number for the "fever_id" field.</summary>
public const int FeverIdFieldNumber = 10;
private uint feverId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint FeverId {
get { return feverId_; }
set {
feverId_ = value;
}
}
/// <summary>Field number for the "fever_time_rank" field.</summary>
public const int FeverTimeRankFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.FightFestBattleRank feverTimeRank_ = global::EggLink.DanhengServer.Proto.FightFestBattleRank.C;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.FightFestBattleRank FeverTimeRank {
get { return feverTimeRank_; }
set {
feverTimeRank_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as FightFestChallengeLevel);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(FightFestChallengeLevel other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ChallengeId != other.ChallengeId) return false;
if (TurnLeftCount != other.TurnLeftCount) return false;
if (FeverId != other.FeverId) return false;
if (FeverTimeRank != other.FeverTimeRank) 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 (ChallengeId != 0) hash ^= ChallengeId.GetHashCode();
if (TurnLeftCount != 0) hash ^= TurnLeftCount.GetHashCode();
if (FeverId != 0) hash ^= FeverId.GetHashCode();
if (FeverTimeRank != global::EggLink.DanhengServer.Proto.FightFestBattleRank.C) hash ^= FeverTimeRank.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 (TurnLeftCount != 0) {
output.WriteRawTag(24);
output.WriteUInt32(TurnLeftCount);
}
if (ChallengeId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ChallengeId);
}
if (FeverId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(FeverId);
}
if (FeverTimeRank != global::EggLink.DanhengServer.Proto.FightFestBattleRank.C) {
output.WriteRawTag(120);
output.WriteEnum((int) FeverTimeRank);
}
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 (TurnLeftCount != 0) {
output.WriteRawTag(24);
output.WriteUInt32(TurnLeftCount);
}
if (ChallengeId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ChallengeId);
}
if (FeverId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(FeverId);
}
if (FeverTimeRank != global::EggLink.DanhengServer.Proto.FightFestBattleRank.C) {
output.WriteRawTag(120);
output.WriteEnum((int) FeverTimeRank);
}
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 (ChallengeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId);
}
if (TurnLeftCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TurnLeftCount);
}
if (FeverId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FeverId);
}
if (FeverTimeRank != global::EggLink.DanhengServer.Proto.FightFestBattleRank.C) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FeverTimeRank);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(FightFestChallengeLevel other) {
if (other == null) {
return;
}
if (other.ChallengeId != 0) {
ChallengeId = other.ChallengeId;
}
if (other.TurnLeftCount != 0) {
TurnLeftCount = other.TurnLeftCount;
}
if (other.FeverId != 0) {
FeverId = other.FeverId;
}
if (other.FeverTimeRank != global::EggLink.DanhengServer.Proto.FightFestBattleRank.C) {
FeverTimeRank = other.FeverTimeRank;
}
_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 24: {
TurnLeftCount = input.ReadUInt32();
break;
}
case 56: {
ChallengeId = input.ReadUInt32();
break;
}
case 80: {
FeverId = input.ReadUInt32();
break;
}
case 120: {
FeverTimeRank = (global::EggLink.DanhengServer.Proto.FightFestBattleRank) input.ReadEnum();
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 24: {
TurnLeftCount = input.ReadUInt32();
break;
}
case 56: {
ChallengeId = input.ReadUInt32();
break;
}
case 80: {
FeverId = input.ReadUInt32();
break;
}
case 120: {
FeverTimeRank = (global::EggLink.DanhengServer.Proto.FightFestBattleRank) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code