mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
460 lines
16 KiB
C#
460 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueGambleInfo.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 RogueGambleInfo.proto</summary>
|
|
public static partial class RogueGambleInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueGambleInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueGambleInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVSb2d1ZUdhbWJsZUluZm8ucHJvdG8aHlJvZ3VlR2FtYmxlTWF6ZUdyb3Vw",
|
|
"SW5mby5wcm90bxoSSXRlbUNvc3REYXRhLnByb3RvItIBCg9Sb2d1ZUdhbWJs",
|
|
"ZUluZm8SFgoObWF4X2dhbWVfdGltZXMYDyABKA0SMgoPbWF6ZV9ncm91cF9s",
|
|
"aXN0GAUgAygLMhkuUm9ndWVHYW1ibGVNYXplR3JvdXBJbmZvEhMKC0RESkRE",
|
|
"QktOUEZGGAggASgNEhAKCGNhbl9wbGF5GA0gASgIEhEKCWN1cl90aW1lcxgM",
|
|
"IAEoDRITCgtIRkJLQkhKSUVHRBgHIAEoDRIkCg1jdXJfY29zdF9pdGVtGAsg",
|
|
"ASgLMg0uSXRlbUNvc3REYXRhQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
|
|
"UHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueGambleInfo), global::EggLink.DanhengServer.Proto.RogueGambleInfo.Parser, new[]{ "MaxGameTimes", "MazeGroupList", "DDJDDBKNPFF", "CanPlay", "CurTimes", "HFBKBHJIEGD", "CurCostItem" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueGambleInfo : pb::IMessage<RogueGambleInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueGambleInfo> _parser = new pb::MessageParser<RogueGambleInfo>(() => new RogueGambleInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueGambleInfo> 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.RogueGambleInfoReflection.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 RogueGambleInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueGambleInfo(RogueGambleInfo other) : this() {
|
|
maxGameTimes_ = other.maxGameTimes_;
|
|
mazeGroupList_ = other.mazeGroupList_.Clone();
|
|
dDJDDBKNPFF_ = other.dDJDDBKNPFF_;
|
|
canPlay_ = other.canPlay_;
|
|
curTimes_ = other.curTimes_;
|
|
hFBKBHJIEGD_ = other.hFBKBHJIEGD_;
|
|
curCostItem_ = other.curCostItem_ != null ? other.curCostItem_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueGambleInfo Clone() {
|
|
return new RogueGambleInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "max_game_times" field.</summary>
|
|
public const int MaxGameTimesFieldNumber = 15;
|
|
private uint maxGameTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MaxGameTimes {
|
|
get { return maxGameTimes_; }
|
|
set {
|
|
maxGameTimes_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "maze_group_list" field.</summary>
|
|
public const int MazeGroupListFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo> _repeated_mazeGroupList_codec
|
|
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo> mazeGroupList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo> MazeGroupList {
|
|
get { return mazeGroupList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DDJDDBKNPFF" field.</summary>
|
|
public const int DDJDDBKNPFFFieldNumber = 8;
|
|
private uint dDJDDBKNPFF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DDJDDBKNPFF {
|
|
get { return dDJDDBKNPFF_; }
|
|
set {
|
|
dDJDDBKNPFF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "can_play" field.</summary>
|
|
public const int CanPlayFieldNumber = 13;
|
|
private bool canPlay_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool CanPlay {
|
|
get { return canPlay_; }
|
|
set {
|
|
canPlay_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_times" field.</summary>
|
|
public const int CurTimesFieldNumber = 12;
|
|
private uint curTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CurTimes {
|
|
get { return curTimes_; }
|
|
set {
|
|
curTimes_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HFBKBHJIEGD" field.</summary>
|
|
public const int HFBKBHJIEGDFieldNumber = 7;
|
|
private uint hFBKBHJIEGD_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint HFBKBHJIEGD {
|
|
get { return hFBKBHJIEGD_; }
|
|
set {
|
|
hFBKBHJIEGD_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_cost_item" field.</summary>
|
|
public const int CurCostItemFieldNumber = 11;
|
|
private global::EggLink.DanhengServer.Proto.ItemCostData curCostItem_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemCostData CurCostItem {
|
|
get { return curCostItem_; }
|
|
set {
|
|
curCostItem_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RogueGambleInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueGambleInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MaxGameTimes != other.MaxGameTimes) return false;
|
|
if(!mazeGroupList_.Equals(other.mazeGroupList_)) return false;
|
|
if (DDJDDBKNPFF != other.DDJDDBKNPFF) return false;
|
|
if (CanPlay != other.CanPlay) return false;
|
|
if (CurTimes != other.CurTimes) return false;
|
|
if (HFBKBHJIEGD != other.HFBKBHJIEGD) return false;
|
|
if (!object.Equals(CurCostItem, other.CurCostItem)) 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 (MaxGameTimes != 0) hash ^= MaxGameTimes.GetHashCode();
|
|
hash ^= mazeGroupList_.GetHashCode();
|
|
if (DDJDDBKNPFF != 0) hash ^= DDJDDBKNPFF.GetHashCode();
|
|
if (CanPlay != false) hash ^= CanPlay.GetHashCode();
|
|
if (CurTimes != 0) hash ^= CurTimes.GetHashCode();
|
|
if (HFBKBHJIEGD != 0) hash ^= HFBKBHJIEGD.GetHashCode();
|
|
if (curCostItem_ != null) hash ^= CurCostItem.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
|
|
mazeGroupList_.WriteTo(output, _repeated_mazeGroupList_codec);
|
|
if (HFBKBHJIEGD != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(HFBKBHJIEGD);
|
|
}
|
|
if (DDJDDBKNPFF != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(DDJDDBKNPFF);
|
|
}
|
|
if (curCostItem_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(CurCostItem);
|
|
}
|
|
if (CurTimes != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(CurTimes);
|
|
}
|
|
if (CanPlay != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(CanPlay);
|
|
}
|
|
if (MaxGameTimes != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(MaxGameTimes);
|
|
}
|
|
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) {
|
|
mazeGroupList_.WriteTo(ref output, _repeated_mazeGroupList_codec);
|
|
if (HFBKBHJIEGD != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(HFBKBHJIEGD);
|
|
}
|
|
if (DDJDDBKNPFF != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(DDJDDBKNPFF);
|
|
}
|
|
if (curCostItem_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(CurCostItem);
|
|
}
|
|
if (CurTimes != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(CurTimes);
|
|
}
|
|
if (CanPlay != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(CanPlay);
|
|
}
|
|
if (MaxGameTimes != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(MaxGameTimes);
|
|
}
|
|
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 (MaxGameTimes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxGameTimes);
|
|
}
|
|
size += mazeGroupList_.CalculateSize(_repeated_mazeGroupList_codec);
|
|
if (DDJDDBKNPFF != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DDJDDBKNPFF);
|
|
}
|
|
if (CanPlay != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (CurTimes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurTimes);
|
|
}
|
|
if (HFBKBHJIEGD != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HFBKBHJIEGD);
|
|
}
|
|
if (curCostItem_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurCostItem);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RogueGambleInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MaxGameTimes != 0) {
|
|
MaxGameTimes = other.MaxGameTimes;
|
|
}
|
|
mazeGroupList_.Add(other.mazeGroupList_);
|
|
if (other.DDJDDBKNPFF != 0) {
|
|
DDJDDBKNPFF = other.DDJDDBKNPFF;
|
|
}
|
|
if (other.CanPlay != false) {
|
|
CanPlay = other.CanPlay;
|
|
}
|
|
if (other.CurTimes != 0) {
|
|
CurTimes = other.CurTimes;
|
|
}
|
|
if (other.HFBKBHJIEGD != 0) {
|
|
HFBKBHJIEGD = other.HFBKBHJIEGD;
|
|
}
|
|
if (other.curCostItem_ != null) {
|
|
if (curCostItem_ == null) {
|
|
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
CurCostItem.MergeFrom(other.CurCostItem);
|
|
}
|
|
_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 42: {
|
|
mazeGroupList_.AddEntriesFrom(input, _repeated_mazeGroupList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
HFBKBHJIEGD = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
DDJDDBKNPFF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (curCostItem_ == null) {
|
|
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(CurCostItem);
|
|
break;
|
|
}
|
|
case 96: {
|
|
CurTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
CanPlay = input.ReadBool();
|
|
break;
|
|
}
|
|
case 120: {
|
|
MaxGameTimes = 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 42: {
|
|
mazeGroupList_.AddEntriesFrom(ref input, _repeated_mazeGroupList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
HFBKBHJIEGD = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
DDJDDBKNPFF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (curCostItem_ == null) {
|
|
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(CurCostItem);
|
|
break;
|
|
}
|
|
case 96: {
|
|
CurTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
CanPlay = input.ReadBool();
|
|
break;
|
|
}
|
|
case 120: {
|
|
MaxGameTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|