mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
393 lines
14 KiB
C#
393 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightSectionRecordInfo.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 GridFightSectionRecordInfo.proto</summary>
|
|
public static partial class GridFightSectionRecordInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightSectionRecordInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightSectionRecordInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiBHcmlkRmlnaHRTZWN0aW9uUmVjb3JkSW5mby5wcm90bxokR3JpZEZpZ2h0",
|
|
"U2VjdGlvbkNhbXBSZWNvcmRJbmZvLnByb3RvIqYBChpHcmlkRmlnaHRTZWN0",
|
|
"aW9uUmVjb3JkSW5mbxI8ChBjYW1wX3JlY29yZF9pbmZvGLcGIAEoCzIfLkdy",
|
|
"aWRGaWdodFNlY3Rpb25DYW1wUmVjb3JkSW5mb0gAEhIKCmNoYXB0ZXJfaWQY",
|
|
"CiABKA0SEwoLQ0VQRFBBTURBSUIYAyABKA0SEgoKc2VjdGlvbl9pZBgGIAEo",
|
|
"DUINCgtOQk1OUEFQT05IUEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
|
"b3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo), global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo.Parser, new[]{ "CampRecordInfo", "ChapterId", "CEPDPAMDAIB", "SectionId" }, new[]{ "NBMNPAPONHP" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightSectionRecordInfo : pb::IMessage<GridFightSectionRecordInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightSectionRecordInfo> _parser = new pb::MessageParser<GridFightSectionRecordInfo>(() => new GridFightSectionRecordInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightSectionRecordInfo> 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.GridFightSectionRecordInfoReflection.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 GridFightSectionRecordInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightSectionRecordInfo(GridFightSectionRecordInfo other) : this() {
|
|
chapterId_ = other.chapterId_;
|
|
cEPDPAMDAIB_ = other.cEPDPAMDAIB_;
|
|
sectionId_ = other.sectionId_;
|
|
switch (other.NBMNPAPONHPCase) {
|
|
case NBMNPAPONHPOneofCase.CampRecordInfo:
|
|
CampRecordInfo = other.CampRecordInfo.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightSectionRecordInfo Clone() {
|
|
return new GridFightSectionRecordInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "camp_record_info" field.</summary>
|
|
public const int CampRecordInfoFieldNumber = 823;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo CampRecordInfo {
|
|
get { return nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo ? (global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo) nBMNPAPONHP_ : null; }
|
|
set {
|
|
nBMNPAPONHP_ = value;
|
|
nBMNPAPONHPCase_ = value == null ? NBMNPAPONHPOneofCase.None : NBMNPAPONHPOneofCase.CampRecordInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "chapter_id" field.</summary>
|
|
public const int ChapterIdFieldNumber = 10;
|
|
private uint chapterId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ChapterId {
|
|
get { return chapterId_; }
|
|
set {
|
|
chapterId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "CEPDPAMDAIB" field.</summary>
|
|
public const int CEPDPAMDAIBFieldNumber = 3;
|
|
private uint cEPDPAMDAIB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CEPDPAMDAIB {
|
|
get { return cEPDPAMDAIB_; }
|
|
set {
|
|
cEPDPAMDAIB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "section_id" field.</summary>
|
|
public const int SectionIdFieldNumber = 6;
|
|
private uint sectionId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SectionId {
|
|
get { return sectionId_; }
|
|
set {
|
|
sectionId_ = value;
|
|
}
|
|
}
|
|
|
|
private object nBMNPAPONHP_;
|
|
/// <summary>Enum of possible cases for the "NBMNPAPONHP" oneof.</summary>
|
|
public enum NBMNPAPONHPOneofCase {
|
|
None = 0,
|
|
CampRecordInfo = 823,
|
|
}
|
|
private NBMNPAPONHPOneofCase nBMNPAPONHPCase_ = NBMNPAPONHPOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NBMNPAPONHPOneofCase NBMNPAPONHPCase {
|
|
get { return nBMNPAPONHPCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearNBMNPAPONHP() {
|
|
nBMNPAPONHPCase_ = NBMNPAPONHPOneofCase.None;
|
|
nBMNPAPONHP_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightSectionRecordInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightSectionRecordInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(CampRecordInfo, other.CampRecordInfo)) return false;
|
|
if (ChapterId != other.ChapterId) return false;
|
|
if (CEPDPAMDAIB != other.CEPDPAMDAIB) return false;
|
|
if (SectionId != other.SectionId) return false;
|
|
if (NBMNPAPONHPCase != other.NBMNPAPONHPCase) 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 (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) hash ^= CampRecordInfo.GetHashCode();
|
|
if (ChapterId != 0) hash ^= ChapterId.GetHashCode();
|
|
if (CEPDPAMDAIB != 0) hash ^= CEPDPAMDAIB.GetHashCode();
|
|
if (SectionId != 0) hash ^= SectionId.GetHashCode();
|
|
hash ^= (int) nBMNPAPONHPCase_;
|
|
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 (CEPDPAMDAIB != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CEPDPAMDAIB);
|
|
}
|
|
if (SectionId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(SectionId);
|
|
}
|
|
if (ChapterId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ChapterId);
|
|
}
|
|
if (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) {
|
|
output.WriteRawTag(186, 51);
|
|
output.WriteMessage(CampRecordInfo);
|
|
}
|
|
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 (CEPDPAMDAIB != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CEPDPAMDAIB);
|
|
}
|
|
if (SectionId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(SectionId);
|
|
}
|
|
if (ChapterId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ChapterId);
|
|
}
|
|
if (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) {
|
|
output.WriteRawTag(186, 51);
|
|
output.WriteMessage(CampRecordInfo);
|
|
}
|
|
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 (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) {
|
|
size += 2 + pb::CodedOutputStream.ComputeMessageSize(CampRecordInfo);
|
|
}
|
|
if (ChapterId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChapterId);
|
|
}
|
|
if (CEPDPAMDAIB != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CEPDPAMDAIB);
|
|
}
|
|
if (SectionId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SectionId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightSectionRecordInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ChapterId != 0) {
|
|
ChapterId = other.ChapterId;
|
|
}
|
|
if (other.CEPDPAMDAIB != 0) {
|
|
CEPDPAMDAIB = other.CEPDPAMDAIB;
|
|
}
|
|
if (other.SectionId != 0) {
|
|
SectionId = other.SectionId;
|
|
}
|
|
switch (other.NBMNPAPONHPCase) {
|
|
case NBMNPAPONHPOneofCase.CampRecordInfo:
|
|
if (CampRecordInfo == null) {
|
|
CampRecordInfo = new global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo();
|
|
}
|
|
CampRecordInfo.MergeFrom(other.CampRecordInfo);
|
|
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 24: {
|
|
CEPDPAMDAIB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
SectionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ChapterId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 6586: {
|
|
global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo();
|
|
if (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) {
|
|
subBuilder.MergeFrom(CampRecordInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
CampRecordInfo = 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 24: {
|
|
CEPDPAMDAIB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
SectionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ChapterId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 6586: {
|
|
global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightSectionCampRecordInfo();
|
|
if (nBMNPAPONHPCase_ == NBMNPAPONHPOneofCase.CampRecordInfo) {
|
|
subBuilder.MergeFrom(CampRecordInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
CampRecordInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|