Files
DanhengServer-OpenSource/Proto/RogueTournCurInfo.cs
2025-04-19 11:45:24 +08:00

328 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueTournCurInfo.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 RogueTournCurInfo.proto</summary>
public static partial class RogueTournCurInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueTournCurInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueTournCurInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdSb2d1ZVRvdXJuQ3VySW5mby5wcm90bxobUm9ndWVUb3VybkN1ckFyZWFJ",
"bmZvLnByb3RvGhtSb2d1ZVRvdXJuQ3VyR2FtZUluZm8ucHJvdG8imwEKEVJv",
"Z3VlVG91cm5DdXJJbmZvEjkKGXJvZ3VlX3RvdXJuX2N1cl9hcmVhX2luZm8Y",
"DyABKAsyFi5Sb2d1ZVRvdXJuQ3VyQXJlYUluZm8SPAoZcm9ndWVfdG91cm5f",
"Y3VyX2dhbWVfaW5mbxj5AiABKAsyFi5Sb2d1ZVRvdXJuQ3VyR2FtZUluZm9I",
"AEINCgtMS0JPREJERENJTUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"b3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueTournCurGameInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournCurInfo), global::EggLink.DanhengServer.Proto.RogueTournCurInfo.Parser, new[]{ "RogueTournCurAreaInfo", "RogueTournCurGameInfo" }, new[]{ "LKBODBDDCIM" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueTournCurInfo : pb::IMessage<RogueTournCurInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueTournCurInfo> _parser = new pb::MessageParser<RogueTournCurInfo>(() => new RogueTournCurInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueTournCurInfo> 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.RogueTournCurInfoReflection.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 RogueTournCurInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournCurInfo(RogueTournCurInfo other) : this() {
rogueTournCurAreaInfo_ = other.rogueTournCurAreaInfo_ != null ? other.rogueTournCurAreaInfo_.Clone() : null;
switch (other.LKBODBDDCIMCase) {
case LKBODBDDCIMOneofCase.RogueTournCurGameInfo:
RogueTournCurGameInfo = other.RogueTournCurGameInfo.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournCurInfo Clone() {
return new RogueTournCurInfo(this);
}
/// <summary>Field number for the "rogue_tourn_cur_area_info" field.</summary>
public const int RogueTournCurAreaInfoFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfo rogueTournCurAreaInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfo RogueTournCurAreaInfo {
get { return rogueTournCurAreaInfo_; }
set {
rogueTournCurAreaInfo_ = value;
}
}
/// <summary>Field number for the "rogue_tourn_cur_game_info" field.</summary>
public const int RogueTournCurGameInfoFieldNumber = 377;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo RogueTournCurGameInfo {
get { return lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo ? (global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo) lKBODBDDCIM_ : null; }
set {
lKBODBDDCIM_ = value;
lKBODBDDCIMCase_ = value == null ? LKBODBDDCIMOneofCase.None : LKBODBDDCIMOneofCase.RogueTournCurGameInfo;
}
}
private object lKBODBDDCIM_;
/// <summary>Enum of possible cases for the "LKBODBDDCIM" oneof.</summary>
public enum LKBODBDDCIMOneofCase {
None = 0,
RogueTournCurGameInfo = 377,
}
private LKBODBDDCIMOneofCase lKBODBDDCIMCase_ = LKBODBDDCIMOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LKBODBDDCIMOneofCase LKBODBDDCIMCase {
get { return lKBODBDDCIMCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearLKBODBDDCIM() {
lKBODBDDCIMCase_ = LKBODBDDCIMOneofCase.None;
lKBODBDDCIM_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueTournCurInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueTournCurInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(RogueTournCurAreaInfo, other.RogueTournCurAreaInfo)) return false;
if (!object.Equals(RogueTournCurGameInfo, other.RogueTournCurGameInfo)) return false;
if (LKBODBDDCIMCase != other.LKBODBDDCIMCase) 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 (rogueTournCurAreaInfo_ != null) hash ^= RogueTournCurAreaInfo.GetHashCode();
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) hash ^= RogueTournCurGameInfo.GetHashCode();
hash ^= (int) lKBODBDDCIMCase_;
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 (rogueTournCurAreaInfo_ != null) {
output.WriteRawTag(122);
output.WriteMessage(RogueTournCurAreaInfo);
}
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) {
output.WriteRawTag(202, 23);
output.WriteMessage(RogueTournCurGameInfo);
}
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 (rogueTournCurAreaInfo_ != null) {
output.WriteRawTag(122);
output.WriteMessage(RogueTournCurAreaInfo);
}
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) {
output.WriteRawTag(202, 23);
output.WriteMessage(RogueTournCurGameInfo);
}
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 (rogueTournCurAreaInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueTournCurAreaInfo);
}
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RogueTournCurGameInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueTournCurInfo other) {
if (other == null) {
return;
}
if (other.rogueTournCurAreaInfo_ != null) {
if (rogueTournCurAreaInfo_ == null) {
RogueTournCurAreaInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfo();
}
RogueTournCurAreaInfo.MergeFrom(other.RogueTournCurAreaInfo);
}
switch (other.LKBODBDDCIMCase) {
case LKBODBDDCIMOneofCase.RogueTournCurGameInfo:
if (RogueTournCurGameInfo == null) {
RogueTournCurGameInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo();
}
RogueTournCurGameInfo.MergeFrom(other.RogueTournCurGameInfo);
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 122: {
if (rogueTournCurAreaInfo_ == null) {
RogueTournCurAreaInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfo();
}
input.ReadMessage(RogueTournCurAreaInfo);
break;
}
case 3018: {
global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo();
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) {
subBuilder.MergeFrom(RogueTournCurGameInfo);
}
input.ReadMessage(subBuilder);
RogueTournCurGameInfo = 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 122: {
if (rogueTournCurAreaInfo_ == null) {
RogueTournCurAreaInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurAreaInfo();
}
input.ReadMessage(RogueTournCurAreaInfo);
break;
}
case 3018: {
global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueTournCurGameInfo();
if (lKBODBDDCIMCase_ == LKBODBDDCIMOneofCase.RogueTournCurGameInfo) {
subBuilder.MergeFrom(RogueTournCurGameInfo);
}
input.ReadMessage(subBuilder);
RogueTournCurGameInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code