Files
DanhengServer-OpenSource/Proto/RogueGambleInfo.cs
2024-10-05 22:40:41 +08:00

463 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(
"ChVSb2d1ZUdhbWJsZUluZm8ucHJvdG8aEkl0ZW1Db3N0RGF0YS5wcm90bxoe",
"Um9ndWVHYW1ibGVNYXplR3JvdXBJbmZvLnByb3RvItIBCg9Sb2d1ZUdhbWJs",
"ZUluZm8SEQoJY3VyX3RpbWVzGAIgASgNEhYKDm1heF9nYW1lX3RpbWVzGAEg",
"ASgNEhMKC0lIRUlPSktKSUVIGAggASgNEhMKC01PTUtGRUpNSk1JGAQgASgN",
"EiQKDWN1cl9jb3N0X2l0ZW0YDCABKAsyDS5JdGVtQ29zdERhdGESEAoIY2Fu",
"X3BsYXkYCSABKAgSMgoPbWF6ZV9ncm91cF9saXN0GA4gAygLMhkuUm9ndWVH",
"YW1ibGVNYXplR3JvdXBJbmZvQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfoReflection.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[]{ "CurTimes", "MaxGameTimes", "IHEIOJKJIEH", "MOMKFEJMJMI", "CurCostItem", "CanPlay", "MazeGroupList" }, 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() {
curTimes_ = other.curTimes_;
maxGameTimes_ = other.maxGameTimes_;
iHEIOJKJIEH_ = other.iHEIOJKJIEH_;
mOMKFEJMJMI_ = other.mOMKFEJMJMI_;
curCostItem_ = other.curCostItem_ != null ? other.curCostItem_.Clone() : null;
canPlay_ = other.canPlay_;
mazeGroupList_ = other.mazeGroupList_.Clone();
_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 "cur_times" field.</summary>
public const int CurTimesFieldNumber = 2;
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 "max_game_times" field.</summary>
public const int MaxGameTimesFieldNumber = 1;
private uint maxGameTimes_;
/// <summary>
/// 8, 4
/// </summary>
[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 "IHEIOJKJIEH" field.</summary>
public const int IHEIOJKJIEHFieldNumber = 8;
private uint iHEIOJKJIEH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IHEIOJKJIEH {
get { return iHEIOJKJIEH_; }
set {
iHEIOJKJIEH_ = value;
}
}
/// <summary>Field number for the "MOMKFEJMJMI" field.</summary>
public const int MOMKFEJMJMIFieldNumber = 4;
private uint mOMKFEJMJMI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MOMKFEJMJMI {
get { return mOMKFEJMJMI_; }
set {
mOMKFEJMJMI_ = value;
}
}
/// <summary>Field number for the "cur_cost_item" field.</summary>
public const int CurCostItemFieldNumber = 12;
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;
}
}
/// <summary>Field number for the "can_play" field.</summary>
public const int CanPlayFieldNumber = 9;
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 "maze_group_list" field.</summary>
public const int MazeGroupListFieldNumber = 14;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo> _repeated_mazeGroupList_codec
= pb::FieldCodec.ForMessage(114, 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_; }
}
[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 (CurTimes != other.CurTimes) return false;
if (MaxGameTimes != other.MaxGameTimes) return false;
if (IHEIOJKJIEH != other.IHEIOJKJIEH) return false;
if (MOMKFEJMJMI != other.MOMKFEJMJMI) return false;
if (!object.Equals(CurCostItem, other.CurCostItem)) return false;
if (CanPlay != other.CanPlay) return false;
if(!mazeGroupList_.Equals(other.mazeGroupList_)) 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 (CurTimes != 0) hash ^= CurTimes.GetHashCode();
if (MaxGameTimes != 0) hash ^= MaxGameTimes.GetHashCode();
if (IHEIOJKJIEH != 0) hash ^= IHEIOJKJIEH.GetHashCode();
if (MOMKFEJMJMI != 0) hash ^= MOMKFEJMJMI.GetHashCode();
if (curCostItem_ != null) hash ^= CurCostItem.GetHashCode();
if (CanPlay != false) hash ^= CanPlay.GetHashCode();
hash ^= mazeGroupList_.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 (MaxGameTimes != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MaxGameTimes);
}
if (CurTimes != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CurTimes);
}
if (MOMKFEJMJMI != 0) {
output.WriteRawTag(32);
output.WriteUInt32(MOMKFEJMJMI);
}
if (IHEIOJKJIEH != 0) {
output.WriteRawTag(64);
output.WriteUInt32(IHEIOJKJIEH);
}
if (CanPlay != false) {
output.WriteRawTag(72);
output.WriteBool(CanPlay);
}
if (curCostItem_ != null) {
output.WriteRawTag(98);
output.WriteMessage(CurCostItem);
}
mazeGroupList_.WriteTo(output, _repeated_mazeGroupList_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) {
if (MaxGameTimes != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MaxGameTimes);
}
if (CurTimes != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CurTimes);
}
if (MOMKFEJMJMI != 0) {
output.WriteRawTag(32);
output.WriteUInt32(MOMKFEJMJMI);
}
if (IHEIOJKJIEH != 0) {
output.WriteRawTag(64);
output.WriteUInt32(IHEIOJKJIEH);
}
if (CanPlay != false) {
output.WriteRawTag(72);
output.WriteBool(CanPlay);
}
if (curCostItem_ != null) {
output.WriteRawTag(98);
output.WriteMessage(CurCostItem);
}
mazeGroupList_.WriteTo(ref output, _repeated_mazeGroupList_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;
if (CurTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurTimes);
}
if (MaxGameTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxGameTimes);
}
if (IHEIOJKJIEH != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IHEIOJKJIEH);
}
if (MOMKFEJMJMI != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MOMKFEJMJMI);
}
if (curCostItem_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurCostItem);
}
if (CanPlay != false) {
size += 1 + 1;
}
size += mazeGroupList_.CalculateSize(_repeated_mazeGroupList_codec);
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.CurTimes != 0) {
CurTimes = other.CurTimes;
}
if (other.MaxGameTimes != 0) {
MaxGameTimes = other.MaxGameTimes;
}
if (other.IHEIOJKJIEH != 0) {
IHEIOJKJIEH = other.IHEIOJKJIEH;
}
if (other.MOMKFEJMJMI != 0) {
MOMKFEJMJMI = other.MOMKFEJMJMI;
}
if (other.curCostItem_ != null) {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
CurCostItem.MergeFrom(other.CurCostItem);
}
if (other.CanPlay != false) {
CanPlay = other.CanPlay;
}
mazeGroupList_.Add(other.mazeGroupList_);
_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: {
MaxGameTimes = input.ReadUInt32();
break;
}
case 16: {
CurTimes = input.ReadUInt32();
break;
}
case 32: {
MOMKFEJMJMI = input.ReadUInt32();
break;
}
case 64: {
IHEIOJKJIEH = input.ReadUInt32();
break;
}
case 72: {
CanPlay = input.ReadBool();
break;
}
case 98: {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
input.ReadMessage(CurCostItem);
break;
}
case 114: {
mazeGroupList_.AddEntriesFrom(input, _repeated_mazeGroupList_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 8: {
MaxGameTimes = input.ReadUInt32();
break;
}
case 16: {
CurTimes = input.ReadUInt32();
break;
}
case 32: {
MOMKFEJMJMI = input.ReadUInt32();
break;
}
case 64: {
IHEIOJKJIEH = input.ReadUInt32();
break;
}
case 72: {
CanPlay = input.ReadBool();
break;
}
case 98: {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
input.ReadMessage(CurCostItem);
break;
}
case 114: {
mazeGroupList_.AddEntriesFrom(ref input, _repeated_mazeGroupList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code