mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
375 lines
13 KiB
C#
375 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessBoardLayout.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 ChessBoardLayout.proto</summary>
|
|
public static partial class ChessBoardLayoutReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessBoardLayout.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessBoardLayoutReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZDaGVzc0JvYXJkTGF5b3V0LnByb3RvGhRCZWZvcmVDZWxsRGF0YS5wcm90",
|
|
"byKKAQoQQ2hlc3NCb2FyZExheW91dBIiCgljZWxsX2RhdGEYBSADKAsyDy5C",
|
|
"ZWZvcmVDZWxsRGF0YRITCgtETE5BRElHSkpQRxgBIAEoDRITCgtCS0tJSU5N",
|
|
"S0VJQRgCIAEoDRITCgtFSk5QR0FHSEtKSxgPIAEoDRITCgtNRlBPTkJQTEhE",
|
|
"RBgGIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
|
|
"bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BeforeCellDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessBoardLayout), global::EggLink.DanhengServer.Proto.ChessBoardLayout.Parser, new[]{ "CellData", "DLNADIGJJPG", "BKKIINMKEIA", "EJNPGAGHKJK", "MFPONBPLHDD" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessBoardLayout : pb::IMessage<ChessBoardLayout>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessBoardLayout> _parser = new pb::MessageParser<ChessBoardLayout>(() => new ChessBoardLayout());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessBoardLayout> 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.ChessBoardLayoutReflection.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 ChessBoardLayout() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessBoardLayout(ChessBoardLayout other) : this() {
|
|
cellData_ = other.cellData_.Clone();
|
|
dLNADIGJJPG_ = other.dLNADIGJJPG_;
|
|
bKKIINMKEIA_ = other.bKKIINMKEIA_;
|
|
eJNPGAGHKJK_ = other.eJNPGAGHKJK_;
|
|
mFPONBPLHDD_ = other.mFPONBPLHDD_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessBoardLayout Clone() {
|
|
return new ChessBoardLayout(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "cell_data" field.</summary>
|
|
public const int CellDataFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BeforeCellData> _repeated_cellData_codec
|
|
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.BeforeCellData.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BeforeCellData> cellData_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BeforeCellData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BeforeCellData> CellData {
|
|
get { return cellData_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DLNADIGJJPG" field.</summary>
|
|
public const int DLNADIGJJPGFieldNumber = 1;
|
|
private uint dLNADIGJJPG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DLNADIGJJPG {
|
|
get { return dLNADIGJJPG_; }
|
|
set {
|
|
dLNADIGJJPG_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BKKIINMKEIA" field.</summary>
|
|
public const int BKKIINMKEIAFieldNumber = 2;
|
|
private uint bKKIINMKEIA_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BKKIINMKEIA {
|
|
get { return bKKIINMKEIA_; }
|
|
set {
|
|
bKKIINMKEIA_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "EJNPGAGHKJK" field.</summary>
|
|
public const int EJNPGAGHKJKFieldNumber = 15;
|
|
private uint eJNPGAGHKJK_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EJNPGAGHKJK {
|
|
get { return eJNPGAGHKJK_; }
|
|
set {
|
|
eJNPGAGHKJK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MFPONBPLHDD" field.</summary>
|
|
public const int MFPONBPLHDDFieldNumber = 6;
|
|
private uint mFPONBPLHDD_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MFPONBPLHDD {
|
|
get { return mFPONBPLHDD_; }
|
|
set {
|
|
mFPONBPLHDD_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChessBoardLayout);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessBoardLayout other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!cellData_.Equals(other.cellData_)) return false;
|
|
if (DLNADIGJJPG != other.DLNADIGJJPG) return false;
|
|
if (BKKIINMKEIA != other.BKKIINMKEIA) return false;
|
|
if (EJNPGAGHKJK != other.EJNPGAGHKJK) return false;
|
|
if (MFPONBPLHDD != other.MFPONBPLHDD) 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;
|
|
hash ^= cellData_.GetHashCode();
|
|
if (DLNADIGJJPG != 0) hash ^= DLNADIGJJPG.GetHashCode();
|
|
if (BKKIINMKEIA != 0) hash ^= BKKIINMKEIA.GetHashCode();
|
|
if (EJNPGAGHKJK != 0) hash ^= EJNPGAGHKJK.GetHashCode();
|
|
if (MFPONBPLHDD != 0) hash ^= MFPONBPLHDD.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 (DLNADIGJJPG != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(DLNADIGJJPG);
|
|
}
|
|
if (BKKIINMKEIA != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(BKKIINMKEIA);
|
|
}
|
|
cellData_.WriteTo(output, _repeated_cellData_codec);
|
|
if (MFPONBPLHDD != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(MFPONBPLHDD);
|
|
}
|
|
if (EJNPGAGHKJK != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(EJNPGAGHKJK);
|
|
}
|
|
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 (DLNADIGJJPG != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(DLNADIGJJPG);
|
|
}
|
|
if (BKKIINMKEIA != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(BKKIINMKEIA);
|
|
}
|
|
cellData_.WriteTo(ref output, _repeated_cellData_codec);
|
|
if (MFPONBPLHDD != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(MFPONBPLHDD);
|
|
}
|
|
if (EJNPGAGHKJK != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(EJNPGAGHKJK);
|
|
}
|
|
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;
|
|
size += cellData_.CalculateSize(_repeated_cellData_codec);
|
|
if (DLNADIGJJPG != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DLNADIGJJPG);
|
|
}
|
|
if (BKKIINMKEIA != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BKKIINMKEIA);
|
|
}
|
|
if (EJNPGAGHKJK != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EJNPGAGHKJK);
|
|
}
|
|
if (MFPONBPLHDD != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MFPONBPLHDD);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChessBoardLayout other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
cellData_.Add(other.cellData_);
|
|
if (other.DLNADIGJJPG != 0) {
|
|
DLNADIGJJPG = other.DLNADIGJJPG;
|
|
}
|
|
if (other.BKKIINMKEIA != 0) {
|
|
BKKIINMKEIA = other.BKKIINMKEIA;
|
|
}
|
|
if (other.EJNPGAGHKJK != 0) {
|
|
EJNPGAGHKJK = other.EJNPGAGHKJK;
|
|
}
|
|
if (other.MFPONBPLHDD != 0) {
|
|
MFPONBPLHDD = other.MFPONBPLHDD;
|
|
}
|
|
_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: {
|
|
DLNADIGJJPG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BKKIINMKEIA = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
cellData_.AddEntriesFrom(input, _repeated_cellData_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
MFPONBPLHDD = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
EJNPGAGHKJK = 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: {
|
|
DLNADIGJJPG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
BKKIINMKEIA = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
cellData_.AddEntriesFrom(ref input, _repeated_cellData_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
MFPONBPLHDD = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
EJNPGAGHKJK = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|