mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
334 lines
13 KiB
C#
334 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChallengeBuffInfo.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 ChallengeBuffInfo.proto</summary>
|
|
public static partial class ChallengeBuffInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChallengeBuffInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChallengeBuffInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChdDaGFsbGVuZ2VCdWZmSW5mby5wcm90bxobQ2hhbGxlbmdlQm9zc0J1ZmZJ",
|
|
"bmZvLnByb3RvGhxDaGFsbGVuZ2VTdG9yeUJ1ZmZJbmZvLnByb3RvIn4KEUNo",
|
|
"YWxsZW5nZUJ1ZmZJbmZvEi0KCnN0b3J5X2luZm8YDCABKAsyFy5DaGFsbGVu",
|
|
"Z2VTdG9yeUJ1ZmZJbmZvSAASKwoJYm9zc19pbmZvGAEgASgLMhYuQ2hhbGxl",
|
|
"bmdlQm9zc0J1ZmZJbmZvSABCDQoLQkNNRUtMTkFFQkVCHqoCG0VnZ0xpbmsu",
|
|
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeBuffInfo), global::EggLink.DanhengServer.Proto.ChallengeBuffInfo.Parser, new[]{ "StoryInfo", "BossInfo" }, new[]{ "BCMEKLNAEBE" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChallengeBuffInfo : pb::IMessage<ChallengeBuffInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChallengeBuffInfo> _parser = new pb::MessageParser<ChallengeBuffInfo>(() => new ChallengeBuffInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChallengeBuffInfo> 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.ChallengeBuffInfoReflection.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 ChallengeBuffInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChallengeBuffInfo(ChallengeBuffInfo other) : this() {
|
|
switch (other.BCMEKLNAEBECase) {
|
|
case BCMEKLNAEBEOneofCase.StoryInfo:
|
|
StoryInfo = other.StoryInfo.Clone();
|
|
break;
|
|
case BCMEKLNAEBEOneofCase.BossInfo:
|
|
BossInfo = other.BossInfo.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChallengeBuffInfo Clone() {
|
|
return new ChallengeBuffInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "story_info" field.</summary>
|
|
public const int StoryInfoFieldNumber = 12;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo StoryInfo {
|
|
get { return bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo ? (global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo) bCMEKLNAEBE_ : null; }
|
|
set {
|
|
bCMEKLNAEBE_ = value;
|
|
bCMEKLNAEBECase_ = value == null ? BCMEKLNAEBEOneofCase.None : BCMEKLNAEBEOneofCase.StoryInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "boss_info" field.</summary>
|
|
public const int BossInfoFieldNumber = 1;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo BossInfo {
|
|
get { return bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo ? (global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo) bCMEKLNAEBE_ : null; }
|
|
set {
|
|
bCMEKLNAEBE_ = value;
|
|
bCMEKLNAEBECase_ = value == null ? BCMEKLNAEBEOneofCase.None : BCMEKLNAEBEOneofCase.BossInfo;
|
|
}
|
|
}
|
|
|
|
private object bCMEKLNAEBE_;
|
|
/// <summary>Enum of possible cases for the "BCMEKLNAEBE" oneof.</summary>
|
|
public enum BCMEKLNAEBEOneofCase {
|
|
None = 0,
|
|
StoryInfo = 12,
|
|
BossInfo = 1,
|
|
}
|
|
private BCMEKLNAEBEOneofCase bCMEKLNAEBECase_ = BCMEKLNAEBEOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BCMEKLNAEBEOneofCase BCMEKLNAEBECase {
|
|
get { return bCMEKLNAEBECase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearBCMEKLNAEBE() {
|
|
bCMEKLNAEBECase_ = BCMEKLNAEBEOneofCase.None;
|
|
bCMEKLNAEBE_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChallengeBuffInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChallengeBuffInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(StoryInfo, other.StoryInfo)) return false;
|
|
if (!object.Equals(BossInfo, other.BossInfo)) return false;
|
|
if (BCMEKLNAEBECase != other.BCMEKLNAEBECase) 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 (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) hash ^= StoryInfo.GetHashCode();
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) hash ^= BossInfo.GetHashCode();
|
|
hash ^= (int) bCMEKLNAEBECase_;
|
|
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 (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(BossInfo);
|
|
}
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(StoryInfo);
|
|
}
|
|
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 (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(BossInfo);
|
|
}
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(StoryInfo);
|
|
}
|
|
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 (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StoryInfo);
|
|
}
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BossInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChallengeBuffInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
switch (other.BCMEKLNAEBECase) {
|
|
case BCMEKLNAEBEOneofCase.StoryInfo:
|
|
if (StoryInfo == null) {
|
|
StoryInfo = new global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo();
|
|
}
|
|
StoryInfo.MergeFrom(other.StoryInfo);
|
|
break;
|
|
case BCMEKLNAEBEOneofCase.BossInfo:
|
|
if (BossInfo == null) {
|
|
BossInfo = new global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo();
|
|
}
|
|
BossInfo.MergeFrom(other.BossInfo);
|
|
break;
|
|
}
|
|
|
|
_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 10: {
|
|
global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo subBuilder = new global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo();
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) {
|
|
subBuilder.MergeFrom(BossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BossInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 98: {
|
|
global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo subBuilder = new global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo();
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) {
|
|
subBuilder.MergeFrom(StoryInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
StoryInfo = subBuilder;
|
|
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 10: {
|
|
global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo subBuilder = new global::EggLink.DanhengServer.Proto.ChallengeBossBuffInfo();
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.BossInfo) {
|
|
subBuilder.MergeFrom(BossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BossInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 98: {
|
|
global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo subBuilder = new global::EggLink.DanhengServer.Proto.ChallengeStoryBuffInfo();
|
|
if (bCMEKLNAEBECase_ == BCMEKLNAEBEOneofCase.StoryInfo) {
|
|
subBuilder.MergeFrom(StoryInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
StoryInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|