Files
DanhengServer-OpenSource/Proto/ChallengeBossPhaseSettleNotify.cs
2025-08-15 12:52:47 +08:00

562 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChallengeBossPhaseSettleNotify.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 ChallengeBossPhaseSettleNotify.proto</summary>
public static partial class ChallengeBossPhaseSettleNotifyReflection {
#region Descriptor
/// <summary>File descriptor for ChallengeBossPhaseSettleNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChallengeBossPhaseSettleNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRDaGFsbGVuZ2VCb3NzUGhhc2VTZXR0bGVOb3RpZnkucHJvdG8aEkJhdHRs",
"ZVRhcmdldC5wcm90byL4AQoeQ2hhbGxlbmdlQm9zc1BoYXNlU2V0dGxlTm90",
"aWZ5EhQKDGNoYWxsZW5nZV9pZBgDIAEoDRINCgVwaGFzZRgNIAEoDRIWCg5p",
"c19zZWNvbmRfaGFsZhgLIAEoCBIRCglzY29yZV90d28YBiABKA0SDAoEc3Rh",
"chgBIAEoDRIpChJiYXR0bGVfdGFyZ2V0X2xpc3QYCCADKAsyDS5CYXR0bGVU",
"YXJnZXQSEQoJcGFnZV90eXBlGAwgASgNEhEKCWlzX3Jld2FyZBgFIAEoCBIO",
"CgZpc193aW4YCSABKAgSFwoPY2hhbGxlbmdlX3Njb3JlGA8gASgNQh6qAhtF",
"Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify), global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify.Parser, new[]{ "ChallengeId", "Phase", "IsSecondHalf", "ScoreTwo", "Star", "BattleTargetList", "PageType", "IsReward", "IsWin", "ChallengeScore" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChallengeBossPhaseSettleNotify : pb::IMessage<ChallengeBossPhaseSettleNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChallengeBossPhaseSettleNotify> _parser = new pb::MessageParser<ChallengeBossPhaseSettleNotify>(() => new ChallengeBossPhaseSettleNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChallengeBossPhaseSettleNotify> 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.ChallengeBossPhaseSettleNotifyReflection.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 ChallengeBossPhaseSettleNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeBossPhaseSettleNotify(ChallengeBossPhaseSettleNotify other) : this() {
challengeId_ = other.challengeId_;
phase_ = other.phase_;
isSecondHalf_ = other.isSecondHalf_;
scoreTwo_ = other.scoreTwo_;
star_ = other.star_;
battleTargetList_ = other.battleTargetList_.Clone();
pageType_ = other.pageType_;
isReward_ = other.isReward_;
isWin_ = other.isWin_;
challengeScore_ = other.challengeScore_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeBossPhaseSettleNotify Clone() {
return new ChallengeBossPhaseSettleNotify(this);
}
/// <summary>Field number for the "challenge_id" field.</summary>
public const int ChallengeIdFieldNumber = 3;
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 "phase" field.</summary>
public const int PhaseFieldNumber = 13;
private uint phase_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Phase {
get { return phase_; }
set {
phase_ = value;
}
}
/// <summary>Field number for the "is_second_half" field.</summary>
public const int IsSecondHalfFieldNumber = 11;
private bool isSecondHalf_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsSecondHalf {
get { return isSecondHalf_; }
set {
isSecondHalf_ = value;
}
}
/// <summary>Field number for the "score_two" field.</summary>
public const int ScoreTwoFieldNumber = 6;
private uint scoreTwo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ScoreTwo {
get { return scoreTwo_; }
set {
scoreTwo_ = value;
}
}
/// <summary>Field number for the "star" field.</summary>
public const int StarFieldNumber = 1;
private uint star_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Star {
get { return star_; }
set {
star_ = value;
}
}
/// <summary>Field number for the "battle_target_list" field.</summary>
public const int BattleTargetListFieldNumber = 8;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleTarget> _repeated_battleTargetList_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.BattleTarget.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> battleTargetList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> BattleTargetList {
get { return battleTargetList_; }
}
/// <summary>Field number for the "page_type" field.</summary>
public const int PageTypeFieldNumber = 12;
private uint pageType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PageType {
get { return pageType_; }
set {
pageType_ = value;
}
}
/// <summary>Field number for the "is_reward" field.</summary>
public const int IsRewardFieldNumber = 5;
private bool isReward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsReward {
get { return isReward_; }
set {
isReward_ = value;
}
}
/// <summary>Field number for the "is_win" field.</summary>
public const int IsWinFieldNumber = 9;
private bool isWin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsWin {
get { return isWin_; }
set {
isWin_ = value;
}
}
/// <summary>Field number for the "challenge_score" field.</summary>
public const int ChallengeScoreFieldNumber = 15;
private uint challengeScore_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ChallengeScore {
get { return challengeScore_; }
set {
challengeScore_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChallengeBossPhaseSettleNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChallengeBossPhaseSettleNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ChallengeId != other.ChallengeId) return false;
if (Phase != other.Phase) return false;
if (IsSecondHalf != other.IsSecondHalf) return false;
if (ScoreTwo != other.ScoreTwo) return false;
if (Star != other.Star) return false;
if(!battleTargetList_.Equals(other.battleTargetList_)) return false;
if (PageType != other.PageType) return false;
if (IsReward != other.IsReward) return false;
if (IsWin != other.IsWin) return false;
if (ChallengeScore != other.ChallengeScore) 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 (Phase != 0) hash ^= Phase.GetHashCode();
if (IsSecondHalf != false) hash ^= IsSecondHalf.GetHashCode();
if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode();
if (Star != 0) hash ^= Star.GetHashCode();
hash ^= battleTargetList_.GetHashCode();
if (PageType != 0) hash ^= PageType.GetHashCode();
if (IsReward != false) hash ^= IsReward.GetHashCode();
if (IsWin != false) hash ^= IsWin.GetHashCode();
if (ChallengeScore != 0) hash ^= ChallengeScore.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 (Star != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Star);
}
if (ChallengeId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ChallengeId);
}
if (IsReward != false) {
output.WriteRawTag(40);
output.WriteBool(IsReward);
}
if (ScoreTwo != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreTwo);
}
battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec);
if (IsWin != false) {
output.WriteRawTag(72);
output.WriteBool(IsWin);
}
if (IsSecondHalf != false) {
output.WriteRawTag(88);
output.WriteBool(IsSecondHalf);
}
if (PageType != 0) {
output.WriteRawTag(96);
output.WriteUInt32(PageType);
}
if (Phase != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Phase);
}
if (ChallengeScore != 0) {
output.WriteRawTag(120);
output.WriteUInt32(ChallengeScore);
}
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 (Star != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Star);
}
if (ChallengeId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ChallengeId);
}
if (IsReward != false) {
output.WriteRawTag(40);
output.WriteBool(IsReward);
}
if (ScoreTwo != 0) {
output.WriteRawTag(48);
output.WriteUInt32(ScoreTwo);
}
battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec);
if (IsWin != false) {
output.WriteRawTag(72);
output.WriteBool(IsWin);
}
if (IsSecondHalf != false) {
output.WriteRawTag(88);
output.WriteBool(IsSecondHalf);
}
if (PageType != 0) {
output.WriteRawTag(96);
output.WriteUInt32(PageType);
}
if (Phase != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Phase);
}
if (ChallengeScore != 0) {
output.WriteRawTag(120);
output.WriteUInt32(ChallengeScore);
}
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 (Phase != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase);
}
if (IsSecondHalf != false) {
size += 1 + 1;
}
if (ScoreTwo != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo);
}
if (Star != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
}
size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec);
if (PageType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PageType);
}
if (IsReward != false) {
size += 1 + 1;
}
if (IsWin != false) {
size += 1 + 1;
}
if (ChallengeScore != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeScore);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChallengeBossPhaseSettleNotify other) {
if (other == null) {
return;
}
if (other.ChallengeId != 0) {
ChallengeId = other.ChallengeId;
}
if (other.Phase != 0) {
Phase = other.Phase;
}
if (other.IsSecondHalf != false) {
IsSecondHalf = other.IsSecondHalf;
}
if (other.ScoreTwo != 0) {
ScoreTwo = other.ScoreTwo;
}
if (other.Star != 0) {
Star = other.Star;
}
battleTargetList_.Add(other.battleTargetList_);
if (other.PageType != 0) {
PageType = other.PageType;
}
if (other.IsReward != false) {
IsReward = other.IsReward;
}
if (other.IsWin != false) {
IsWin = other.IsWin;
}
if (other.ChallengeScore != 0) {
ChallengeScore = other.ChallengeScore;
}
_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 8: {
Star = input.ReadUInt32();
break;
}
case 24: {
ChallengeId = input.ReadUInt32();
break;
}
case 40: {
IsReward = input.ReadBool();
break;
}
case 48: {
ScoreTwo = input.ReadUInt32();
break;
}
case 66: {
battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec);
break;
}
case 72: {
IsWin = input.ReadBool();
break;
}
case 88: {
IsSecondHalf = input.ReadBool();
break;
}
case 96: {
PageType = input.ReadUInt32();
break;
}
case 104: {
Phase = input.ReadUInt32();
break;
}
case 120: {
ChallengeScore = input.ReadUInt32();
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 8: {
Star = input.ReadUInt32();
break;
}
case 24: {
ChallengeId = input.ReadUInt32();
break;
}
case 40: {
IsReward = input.ReadBool();
break;
}
case 48: {
ScoreTwo = input.ReadUInt32();
break;
}
case 66: {
battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec);
break;
}
case 72: {
IsWin = input.ReadBool();
break;
}
case 88: {
IsSecondHalf = input.ReadBool();
break;
}
case 96: {
PageType = input.ReadUInt32();
break;
}
case 104: {
Phase = input.ReadUInt32();
break;
}
case 120: {
ChallengeScore = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code