Files
DanhengServer-OpenSource/Proto/NFHFIPIOOCB.cs

424 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: NFHFIPIOOCB.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 NFHFIPIOOCB.proto</summary>
public static partial class NFHFIPIOOCBReflection {
#region Descriptor
/// <summary>File descriptor for NFHFIPIOOCB.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NFHFIPIOOCBReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFORkhGSVBJT09DQi5wcm90bxoiQWV0aGVyZGl2aWRlU3Bpcml0TGluZXVw",
"VHlwZS5wcm90bxoPU3BCYXJJbmZvLnByb3RvIqABCgtORkhGSVBJT09DQhIK",
"CgJpZBgBIAEoDRINCgVpbmRleBgCIAEoDRIRCglwcm9tb3Rpb24YAyABKA0S",
"EwoLQlBBSEJGREhOSUsYBCADKA0SMgoLS0JJSUtKSE1DTEoYBSABKA4yHS5B",
"ZXRoZXJkaXZpZGVTcGlyaXRMaW5ldXBUeXBlEhoKBnNwX2JhchgGIAEoCzIK",
"LlNwQmFySW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
"cm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.SpBarInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.NFHFIPIOOCB), global::EggLink.DanhengServer.Proto.NFHFIPIOOCB.Parser, new[]{ "Id", "Index", "Promotion", "BPAHBFDHNIK", "KBIIKJHMCLJ", "SpBar" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NFHFIPIOOCB : pb::IMessage<NFHFIPIOOCB>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NFHFIPIOOCB> _parser = new pb::MessageParser<NFHFIPIOOCB>(() => new NFHFIPIOOCB());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NFHFIPIOOCB> 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.NFHFIPIOOCBReflection.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 NFHFIPIOOCB() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NFHFIPIOOCB(NFHFIPIOOCB other) : this() {
id_ = other.id_;
index_ = other.index_;
promotion_ = other.promotion_;
bPAHBFDHNIK_ = other.bPAHBFDHNIK_.Clone();
kBIIKJHMCLJ_ = other.kBIIKJHMCLJ_;
spBar_ = other.spBar_ != null ? other.spBar_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NFHFIPIOOCB Clone() {
return new NFHFIPIOOCB(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "index" field.</summary>
public const int IndexFieldNumber = 2;
private uint index_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Index {
get { return index_; }
set {
index_ = value;
}
}
/// <summary>Field number for the "promotion" field.</summary>
public const int PromotionFieldNumber = 3;
private uint promotion_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Promotion {
get { return promotion_; }
set {
promotion_ = value;
}
}
/// <summary>Field number for the "BPAHBFDHNIK" field.</summary>
public const int BPAHBFDHNIKFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_bPAHBFDHNIK_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> bPAHBFDHNIK_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> BPAHBFDHNIK {
get { return bPAHBFDHNIK_; }
}
/// <summary>Field number for the "KBIIKJHMCLJ" field.</summary>
public const int KBIIKJHMCLJFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType kBIIKJHMCLJ_ = global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType KBIIKJHMCLJ {
get { return kBIIKJHMCLJ_; }
set {
kBIIKJHMCLJ_ = value;
}
}
/// <summary>Field number for the "sp_bar" field.</summary>
public const int SpBarFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.SpBarInfo spBar_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SpBarInfo SpBar {
get { return spBar_; }
set {
spBar_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as NFHFIPIOOCB);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(NFHFIPIOOCB other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Index != other.Index) return false;
if (Promotion != other.Promotion) return false;
if(!bPAHBFDHNIK_.Equals(other.bPAHBFDHNIK_)) return false;
if (KBIIKJHMCLJ != other.KBIIKJHMCLJ) return false;
if (!object.Equals(SpBar, other.SpBar)) 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 (Id != 0) hash ^= Id.GetHashCode();
if (Index != 0) hash ^= Index.GetHashCode();
if (Promotion != 0) hash ^= Promotion.GetHashCode();
hash ^= bPAHBFDHNIK_.GetHashCode();
if (KBIIKJHMCLJ != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) hash ^= KBIIKJHMCLJ.GetHashCode();
if (spBar_ != null) hash ^= SpBar.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Index != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Index);
}
if (Promotion != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Promotion);
}
bPAHBFDHNIK_.WriteTo(output, _repeated_bPAHBFDHNIK_codec);
if (KBIIKJHMCLJ != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
output.WriteRawTag(40);
output.WriteEnum((int) KBIIKJHMCLJ);
}
if (spBar_ != null) {
output.WriteRawTag(50);
output.WriteMessage(SpBar);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Index != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Index);
}
if (Promotion != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Promotion);
}
bPAHBFDHNIK_.WriteTo(ref output, _repeated_bPAHBFDHNIK_codec);
if (KBIIKJHMCLJ != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
output.WriteRawTag(40);
output.WriteEnum((int) KBIIKJHMCLJ);
}
if (spBar_ != null) {
output.WriteRawTag(50);
output.WriteMessage(SpBar);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
}
if (Promotion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
}
size += bPAHBFDHNIK_.CalculateSize(_repeated_bPAHBFDHNIK_codec);
if (KBIIKJHMCLJ != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) KBIIKJHMCLJ);
}
if (spBar_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpBar);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(NFHFIPIOOCB other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Index != 0) {
Index = other.Index;
}
if (other.Promotion != 0) {
Promotion = other.Promotion;
}
bPAHBFDHNIK_.Add(other.bPAHBFDHNIK_);
if (other.KBIIKJHMCLJ != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
KBIIKJHMCLJ = other.KBIIKJHMCLJ;
}
if (other.spBar_ != null) {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
SpBar.MergeFrom(other.SpBar);
}
_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: {
Id = input.ReadUInt32();
break;
}
case 16: {
Index = input.ReadUInt32();
break;
}
case 24: {
Promotion = input.ReadUInt32();
break;
}
case 34:
case 32: {
bPAHBFDHNIK_.AddEntriesFrom(input, _repeated_bPAHBFDHNIK_codec);
break;
}
case 40: {
KBIIKJHMCLJ = (global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType) input.ReadEnum();
break;
}
case 50: {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
input.ReadMessage(SpBar);
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: {
Id = input.ReadUInt32();
break;
}
case 16: {
Index = input.ReadUInt32();
break;
}
case 24: {
Promotion = input.ReadUInt32();
break;
}
case 34:
case 32: {
bPAHBFDHNIK_.AddEntriesFrom(ref input, _repeated_bPAHBFDHNIK_codec);
break;
}
case 40: {
KBIIKJHMCLJ = (global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType) input.ReadEnum();
break;
}
case 50: {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
input.ReadMessage(SpBar);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code