mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
321 lines
13 KiB
C#
321 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessRogueQueryDiceInfo.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 ChessRogueQueryDiceInfo.proto</summary>
|
|
public static partial class ChessRogueQueryDiceInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessRogueQueryDiceInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessRogueQueryDiceInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch1DaGVzc1JvZ3VlUXVlcnlEaWNlSW5mby5wcm90bxoUQ2hlc3NSb2d1ZURp",
|
|
"Y2UucHJvdG8aHUNoZXNzUm9ndWVOb3VzRGljZVBoYXNlLnByb3RvIvgBChdD",
|
|
"aGVzc1JvZ3VlUXVlcnlEaWNlSW5mbxIXCg9zdXJmYWNlX2lkX2xpc3QYByAD",
|
|
"KA0SIgoJZGljZV9saXN0GAsgAygLMg8uQ2hlc3NSb2d1ZURpY2USLAoKZGlj",
|
|
"ZV9waGFzZRgKIAEoDjIYLkNoZXNzUm9ndWVOb3VzRGljZVBoYXNlEj4KC01C",
|
|
"SVBDUENGSUhMGAwgAygLMikuQ2hlc3NSb2d1ZVF1ZXJ5RGljZUluZm8uTUJJ",
|
|
"UENQQ0ZJSExFbnRyeRoyChBNQklQQ1BDRklITEVudHJ5EgsKA2tleRgBIAEo",
|
|
"DRINCgV2YWx1ZRgCIAEoCDoCOAFCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl",
|
|
"ci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueDiceReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhaseReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo), global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo.Parser, new[]{ "SurfaceIdList", "DiceList", "DicePhase", "MBIPCPCFIHL" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessRogueQueryDiceInfo : pb::IMessage<ChessRogueQueryDiceInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessRogueQueryDiceInfo> _parser = new pb::MessageParser<ChessRogueQueryDiceInfo>(() => new ChessRogueQueryDiceInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessRogueQueryDiceInfo> 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.ChessRogueQueryDiceInfoReflection.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 ChessRogueQueryDiceInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueQueryDiceInfo(ChessRogueQueryDiceInfo other) : this() {
|
|
surfaceIdList_ = other.surfaceIdList_.Clone();
|
|
diceList_ = other.diceList_.Clone();
|
|
dicePhase_ = other.dicePhase_;
|
|
mBIPCPCFIHL_ = other.mBIPCPCFIHL_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueQueryDiceInfo Clone() {
|
|
return new ChessRogueQueryDiceInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "surface_id_list" field.</summary>
|
|
public const int SurfaceIdListFieldNumber = 7;
|
|
private static readonly pb::FieldCodec<uint> _repeated_surfaceIdList_codec
|
|
= pb::FieldCodec.ForUInt32(58);
|
|
private readonly pbc::RepeatedField<uint> surfaceIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> SurfaceIdList {
|
|
get { return surfaceIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "dice_list" field.</summary>
|
|
public const int DiceListFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueDice> _repeated_diceList_codec
|
|
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.ChessRogueDice.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueDice> diceList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueDice>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueDice> DiceList {
|
|
get { return diceList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "dice_phase" field.</summary>
|
|
public const int DicePhaseFieldNumber = 10;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase dicePhase_ = global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase DicePhase {
|
|
get { return dicePhase_; }
|
|
set {
|
|
dicePhase_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MBIPCPCFIHL" field.</summary>
|
|
public const int MBIPCPCFIHLFieldNumber = 12;
|
|
private static readonly pbc::MapField<uint, bool>.Codec _map_mBIPCPCFIHL_codec
|
|
= new pbc::MapField<uint, bool>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForBool(16, false), 98);
|
|
private readonly pbc::MapField<uint, bool> mBIPCPCFIHL_ = new pbc::MapField<uint, bool>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::MapField<uint, bool> MBIPCPCFIHL {
|
|
get { return mBIPCPCFIHL_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChessRogueQueryDiceInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessRogueQueryDiceInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!surfaceIdList_.Equals(other.surfaceIdList_)) return false;
|
|
if(!diceList_.Equals(other.diceList_)) return false;
|
|
if (DicePhase != other.DicePhase) return false;
|
|
if (!MBIPCPCFIHL.Equals(other.MBIPCPCFIHL)) 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 ^= surfaceIdList_.GetHashCode();
|
|
hash ^= diceList_.GetHashCode();
|
|
if (DicePhase != global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None) hash ^= DicePhase.GetHashCode();
|
|
hash ^= MBIPCPCFIHL.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
|
|
surfaceIdList_.WriteTo(output, _repeated_surfaceIdList_codec);
|
|
if (DicePhase != global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None) {
|
|
output.WriteRawTag(80);
|
|
output.WriteEnum((int) DicePhase);
|
|
}
|
|
diceList_.WriteTo(output, _repeated_diceList_codec);
|
|
mBIPCPCFIHL_.WriteTo(output, _map_mBIPCPCFIHL_codec);
|
|
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) {
|
|
surfaceIdList_.WriteTo(ref output, _repeated_surfaceIdList_codec);
|
|
if (DicePhase != global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None) {
|
|
output.WriteRawTag(80);
|
|
output.WriteEnum((int) DicePhase);
|
|
}
|
|
diceList_.WriteTo(ref output, _repeated_diceList_codec);
|
|
mBIPCPCFIHL_.WriteTo(ref output, _map_mBIPCPCFIHL_codec);
|
|
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 += surfaceIdList_.CalculateSize(_repeated_surfaceIdList_codec);
|
|
size += diceList_.CalculateSize(_repeated_diceList_codec);
|
|
if (DicePhase != global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DicePhase);
|
|
}
|
|
size += mBIPCPCFIHL_.CalculateSize(_map_mBIPCPCFIHL_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChessRogueQueryDiceInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
surfaceIdList_.Add(other.surfaceIdList_);
|
|
diceList_.Add(other.diceList_);
|
|
if (other.DicePhase != global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase.None) {
|
|
DicePhase = other.DicePhase;
|
|
}
|
|
mBIPCPCFIHL_.MergeFrom(other.mBIPCPCFIHL_);
|
|
_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 58:
|
|
case 56: {
|
|
surfaceIdList_.AddEntriesFrom(input, _repeated_surfaceIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
DicePhase = (global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 90: {
|
|
diceList_.AddEntriesFrom(input, _repeated_diceList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
mBIPCPCFIHL_.AddEntriesFrom(input, _map_mBIPCPCFIHL_codec);
|
|
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 58:
|
|
case 56: {
|
|
surfaceIdList_.AddEntriesFrom(ref input, _repeated_surfaceIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
DicePhase = (global::EggLink.DanhengServer.Proto.ChessRogueNousDicePhase) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 90: {
|
|
diceList_.AddEntriesFrom(ref input, _repeated_diceList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
mBIPCPCFIHL_.AddEntriesFrom(ref input, _map_mBIPCPCFIHL_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|