Files
DanhengServer-OpenSource/Proto/RogueGambleMazeGroupInfo.cs

300 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueGambleMazeGroupInfo.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 RogueGambleMazeGroupInfo.proto</summary>
public static partial class RogueGambleMazeGroupInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueGambleMazeGroupInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueGambleMazeGroupInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5Sb2d1ZUdhbWJsZU1hemVHcm91cEluZm8ucHJvdG8aGVJvZ3VlR2FtYmxl",
"TWF6ZUluZm8ucHJvdG8iawoYUm9ndWVHYW1ibGVNYXplR3JvdXBJbmZvEicK",
"CW1hemVfbGlzdBgFIAMoCzIULlJvZ3VlR2FtYmxlTWF6ZUluZm8SFAoMZ3Jv",
"dXBfZW5hYmxlGAYgASgIEhAKCGdyb3VwX2lkGAkgASgNQh6qAhtFZ2dMaW5r",
"LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueGambleMazeInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo), global::EggLink.DanhengServer.Proto.RogueGambleMazeGroupInfo.Parser, new[]{ "MazeList", "GroupEnable", "GroupId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueGambleMazeGroupInfo : pb::IMessage<RogueGambleMazeGroupInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueGambleMazeGroupInfo> _parser = new pb::MessageParser<RogueGambleMazeGroupInfo>(() => new RogueGambleMazeGroupInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueGambleMazeGroupInfo> 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.RogueGambleMazeGroupInfoReflection.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 RogueGambleMazeGroupInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueGambleMazeGroupInfo(RogueGambleMazeGroupInfo other) : this() {
mazeList_ = other.mazeList_.Clone();
groupEnable_ = other.groupEnable_;
groupId_ = other.groupId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueGambleMazeGroupInfo Clone() {
return new RogueGambleMazeGroupInfo(this);
}
/// <summary>Field number for the "maze_list" field.</summary>
public const int MazeListFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueGambleMazeInfo> _repeated_mazeList_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.RogueGambleMazeInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeInfo> mazeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueGambleMazeInfo> MazeList {
get { return mazeList_; }
}
/// <summary>Field number for the "group_enable" field.</summary>
public const int GroupEnableFieldNumber = 6;
private bool groupEnable_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool GroupEnable {
get { return groupEnable_; }
set {
groupEnable_ = value;
}
}
/// <summary>Field number for the "group_id" field.</summary>
public const int GroupIdFieldNumber = 9;
private uint groupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GroupId {
get { return groupId_; }
set {
groupId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueGambleMazeGroupInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueGambleMazeGroupInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!mazeList_.Equals(other.mazeList_)) return false;
if (GroupEnable != other.GroupEnable) return false;
if (GroupId != other.GroupId) 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 ^= mazeList_.GetHashCode();
if (GroupEnable != false) hash ^= GroupEnable.GetHashCode();
if (GroupId != 0) hash ^= GroupId.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
mazeList_.WriteTo(output, _repeated_mazeList_codec);
if (GroupEnable != false) {
output.WriteRawTag(48);
output.WriteBool(GroupEnable);
}
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
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) {
mazeList_.WriteTo(ref output, _repeated_mazeList_codec);
if (GroupEnable != false) {
output.WriteRawTag(48);
output.WriteBool(GroupEnable);
}
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
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 += mazeList_.CalculateSize(_repeated_mazeList_codec);
if (GroupEnable != false) {
size += 1 + 1;
}
if (GroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueGambleMazeGroupInfo other) {
if (other == null) {
return;
}
mazeList_.Add(other.mazeList_);
if (other.GroupEnable != false) {
GroupEnable = other.GroupEnable;
}
if (other.GroupId != 0) {
GroupId = other.GroupId;
}
_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: {
mazeList_.AddEntriesFrom(input, _repeated_mazeList_codec);
break;
}
case 48: {
GroupEnable = input.ReadBool();
break;
}
case 72: {
GroupId = 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: {
mazeList_.AddEntriesFrom(ref input, _repeated_mazeList_codec);
break;
}
case 48: {
GroupEnable = input.ReadBool();
break;
}
case 72: {
GroupId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code