mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
338 lines
12 KiB
C#
338 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: LobbyMarbleInfo.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 LobbyMarbleInfo.proto</summary>
|
|
public static partial class LobbyMarbleInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for LobbyMarbleInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static LobbyMarbleInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVMb2JieU1hcmJsZUluZm8ucHJvdG8iXwoPTG9iYnlNYXJibGVJbmZvEhMK",
|
|
"C01LRkRQQ0NLRk5GGAEgASgNEgwKBHJhbmsYAiABKA0SFwoPbG9iYnlfc2Vh",
|
|
"bF9saXN0GAMgAygNEhAKCHNjb3JlX2lkGAQgASgNQh6qAhtFZ2dMaW5rLkRh",
|
|
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LobbyMarbleInfo), global::EggLink.DanhengServer.Proto.LobbyMarbleInfo.Parser, new[]{ "MKFDPCCKFNF", "Rank", "LobbySealList", "ScoreId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class LobbyMarbleInfo : pb::IMessage<LobbyMarbleInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<LobbyMarbleInfo> _parser = new pb::MessageParser<LobbyMarbleInfo>(() => new LobbyMarbleInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<LobbyMarbleInfo> 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.LobbyMarbleInfoReflection.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 LobbyMarbleInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LobbyMarbleInfo(LobbyMarbleInfo other) : this() {
|
|
mKFDPCCKFNF_ = other.mKFDPCCKFNF_;
|
|
rank_ = other.rank_;
|
|
lobbySealList_ = other.lobbySealList_.Clone();
|
|
scoreId_ = other.scoreId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LobbyMarbleInfo Clone() {
|
|
return new LobbyMarbleInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "MKFDPCCKFNF" field.</summary>
|
|
public const int MKFDPCCKFNFFieldNumber = 1;
|
|
private uint mKFDPCCKFNF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MKFDPCCKFNF {
|
|
get { return mKFDPCCKFNF_; }
|
|
set {
|
|
mKFDPCCKFNF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rank" field.</summary>
|
|
public const int RankFieldNumber = 2;
|
|
private uint rank_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Rank {
|
|
get { return rank_; }
|
|
set {
|
|
rank_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "lobby_seal_list" field.</summary>
|
|
public const int LobbySealListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<uint> _repeated_lobbySealList_codec
|
|
= pb::FieldCodec.ForUInt32(26);
|
|
private readonly pbc::RepeatedField<uint> lobbySealList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> LobbySealList {
|
|
get { return lobbySealList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "score_id" field.</summary>
|
|
public const int ScoreIdFieldNumber = 4;
|
|
private uint scoreId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ScoreId {
|
|
get { return scoreId_; }
|
|
set {
|
|
scoreId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as LobbyMarbleInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(LobbyMarbleInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MKFDPCCKFNF != other.MKFDPCCKFNF) return false;
|
|
if (Rank != other.Rank) return false;
|
|
if(!lobbySealList_.Equals(other.lobbySealList_)) return false;
|
|
if (ScoreId != other.ScoreId) 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 (MKFDPCCKFNF != 0) hash ^= MKFDPCCKFNF.GetHashCode();
|
|
if (Rank != 0) hash ^= Rank.GetHashCode();
|
|
hash ^= lobbySealList_.GetHashCode();
|
|
if (ScoreId != 0) hash ^= ScoreId.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 (MKFDPCCKFNF != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MKFDPCCKFNF);
|
|
}
|
|
if (Rank != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
lobbySealList_.WriteTo(output, _repeated_lobbySealList_codec);
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
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 (MKFDPCCKFNF != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MKFDPCCKFNF);
|
|
}
|
|
if (Rank != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Rank);
|
|
}
|
|
lobbySealList_.WriteTo(ref output, _repeated_lobbySealList_codec);
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
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 (MKFDPCCKFNF != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MKFDPCCKFNF);
|
|
}
|
|
if (Rank != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
|
|
}
|
|
size += lobbySealList_.CalculateSize(_repeated_lobbySealList_codec);
|
|
if (ScoreId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(LobbyMarbleInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MKFDPCCKFNF != 0) {
|
|
MKFDPCCKFNF = other.MKFDPCCKFNF;
|
|
}
|
|
if (other.Rank != 0) {
|
|
Rank = other.Rank;
|
|
}
|
|
lobbySealList_.Add(other.lobbySealList_);
|
|
if (other.ScoreId != 0) {
|
|
ScoreId = other.ScoreId;
|
|
}
|
|
_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: {
|
|
MKFDPCCKFNF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
lobbySealList_.AddEntriesFrom(input, _repeated_lobbySealList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
ScoreId = 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 8: {
|
|
MKFDPCCKFNF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Rank = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
lobbySealList_.AddEntriesFrom(ref input, _repeated_lobbySealList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
ScoreId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|