Files
DanhengServer-OpenSource/Proto/RogueGambleInfo.cs
StopWuyu bba56d0483 Proto
2024-11-03 11:27:32 +08:00

463 lines
17 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",
"Um9ndWVHYW1ibGVNYXplR3JvdXBJbmZvLnByb3RvItUBCg9Sb2d1ZUdhbWJs",
"ZUluZm8SEQoJY3VyX3RpbWVzGAcgASgNEiQKDWN1cl9jb3N0X2l0ZW0YDyAB",
"KAsyDS5JdGVtQ29zdERhdGESEwoLTU9PSkpHQUVCR0MYBiABKAgSMgoPbWF6",
"ZV9ncm91cF9saXN0GAEgAygLMhkuUm9ndWVHYW1ibGVNYXplR3JvdXBJbmZv",
"EhYKDm1heF9nYW1lX3RpbWVzGAggASgNEhMKC0RHTlBCTUhBT0dGGA4gASgN",
"EhMKC0tCREZMS0NCRktBGAwgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2",
"ZXIuUHJvdG9iBnByb3RvMw=="));
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", "CurCostItem", "MOOJJGAEBGC", "MazeGroupList", "MaxGameTimes", "DGNPBMHAOGF", "KBDFLKCBFKA" }, 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_;
curCostItem_ = other.curCostItem_ != null ? other.curCostItem_.Clone() : null;
mOOJJGAEBGC_ = other.mOOJJGAEBGC_;
mazeGroupList_ = other.mazeGroupList_.Clone();
maxGameTimes_ = other.maxGameTimes_;
dGNPBMHAOGF_ = other.dGNPBMHAOGF_;
kBDFLKCBFKA_ = other.kBDFLKCBFKA_;
_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 = 7;
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 "cur_cost_item" field.</summary>
public const int CurCostItemFieldNumber = 15;
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 "MOOJJGAEBGC" field.</summary>
public const int MOOJJGAEBGCFieldNumber = 6;
private bool mOOJJGAEBGC_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool MOOJJGAEBGC {
get { return mOOJJGAEBGC_; }
set {
mOOJJGAEBGC_ = value;
}
}
/// <summary>Field number for the "maze_group_list" field.</summary>
public const int MazeGroupListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo> _repeated_mazeGroupList_codec
= pb::FieldCodec.ForMessage(10, 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 "max_game_times" field.</summary>
public const int MaxGameTimesFieldNumber = 8;
private uint maxGameTimes_;
/// <summary>
/// 14, 12
/// </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 "DGNPBMHAOGF" field.</summary>
public const int DGNPBMHAOGFFieldNumber = 14;
private uint dGNPBMHAOGF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DGNPBMHAOGF {
get { return dGNPBMHAOGF_; }
set {
dGNPBMHAOGF_ = value;
}
}
/// <summary>Field number for the "KBDFLKCBFKA" field.</summary>
public const int KBDFLKCBFKAFieldNumber = 12;
private uint kBDFLKCBFKA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint KBDFLKCBFKA {
get { return kBDFLKCBFKA_; }
set {
kBDFLKCBFKA_ = 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 (CurTimes != other.CurTimes) return false;
if (!object.Equals(CurCostItem, other.CurCostItem)) return false;
if (MOOJJGAEBGC != other.MOOJJGAEBGC) return false;
if(!mazeGroupList_.Equals(other.mazeGroupList_)) return false;
if (MaxGameTimes != other.MaxGameTimes) return false;
if (DGNPBMHAOGF != other.DGNPBMHAOGF) return false;
if (KBDFLKCBFKA != other.KBDFLKCBFKA) 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 (curCostItem_ != null) hash ^= CurCostItem.GetHashCode();
if (MOOJJGAEBGC != false) hash ^= MOOJJGAEBGC.GetHashCode();
hash ^= mazeGroupList_.GetHashCode();
if (MaxGameTimes != 0) hash ^= MaxGameTimes.GetHashCode();
if (DGNPBMHAOGF != 0) hash ^= DGNPBMHAOGF.GetHashCode();
if (KBDFLKCBFKA != 0) hash ^= KBDFLKCBFKA.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 (MOOJJGAEBGC != false) {
output.WriteRawTag(48);
output.WriteBool(MOOJJGAEBGC);
}
if (CurTimes != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurTimes);
}
if (MaxGameTimes != 0) {
output.WriteRawTag(64);
output.WriteUInt32(MaxGameTimes);
}
if (KBDFLKCBFKA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(KBDFLKCBFKA);
}
if (DGNPBMHAOGF != 0) {
output.WriteRawTag(112);
output.WriteUInt32(DGNPBMHAOGF);
}
if (curCostItem_ != null) {
output.WriteRawTag(122);
output.WriteMessage(CurCostItem);
}
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 (MOOJJGAEBGC != false) {
output.WriteRawTag(48);
output.WriteBool(MOOJJGAEBGC);
}
if (CurTimes != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurTimes);
}
if (MaxGameTimes != 0) {
output.WriteRawTag(64);
output.WriteUInt32(MaxGameTimes);
}
if (KBDFLKCBFKA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(KBDFLKCBFKA);
}
if (DGNPBMHAOGF != 0) {
output.WriteRawTag(112);
output.WriteUInt32(DGNPBMHAOGF);
}
if (curCostItem_ != null) {
output.WriteRawTag(122);
output.WriteMessage(CurCostItem);
}
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 (curCostItem_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurCostItem);
}
if (MOOJJGAEBGC != false) {
size += 1 + 1;
}
size += mazeGroupList_.CalculateSize(_repeated_mazeGroupList_codec);
if (MaxGameTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxGameTimes);
}
if (DGNPBMHAOGF != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DGNPBMHAOGF);
}
if (KBDFLKCBFKA != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KBDFLKCBFKA);
}
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.curCostItem_ != null) {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
CurCostItem.MergeFrom(other.CurCostItem);
}
if (other.MOOJJGAEBGC != false) {
MOOJJGAEBGC = other.MOOJJGAEBGC;
}
mazeGroupList_.Add(other.mazeGroupList_);
if (other.MaxGameTimes != 0) {
MaxGameTimes = other.MaxGameTimes;
}
if (other.DGNPBMHAOGF != 0) {
DGNPBMHAOGF = other.DGNPBMHAOGF;
}
if (other.KBDFLKCBFKA != 0) {
KBDFLKCBFKA = other.KBDFLKCBFKA;
}
_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 10: {
mazeGroupList_.AddEntriesFrom(input, _repeated_mazeGroupList_codec);
break;
}
case 48: {
MOOJJGAEBGC = input.ReadBool();
break;
}
case 56: {
CurTimes = input.ReadUInt32();
break;
}
case 64: {
MaxGameTimes = input.ReadUInt32();
break;
}
case 96: {
KBDFLKCBFKA = input.ReadUInt32();
break;
}
case 112: {
DGNPBMHAOGF = input.ReadUInt32();
break;
}
case 122: {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
input.ReadMessage(CurCostItem);
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 10: {
mazeGroupList_.AddEntriesFrom(ref input, _repeated_mazeGroupList_codec);
break;
}
case 48: {
MOOJJGAEBGC = input.ReadBool();
break;
}
case 56: {
CurTimes = input.ReadUInt32();
break;
}
case 64: {
MaxGameTimes = input.ReadUInt32();
break;
}
case 96: {
KBDFLKCBFKA = input.ReadUInt32();
break;
}
case 112: {
DGNPBMHAOGF = input.ReadUInt32();
break;
}
case 122: {
if (curCostItem_ == null) {
CurCostItem = new global::EggLink.DanhengServer.Proto.ItemCostData();
}
input.ReadMessage(CurCostItem);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code