mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
376 lines
14 KiB
C#
376 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PlayerBoardModuleSync.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 PlayerBoardModuleSync.proto</summary>
|
|
public static partial class PlayerBoardModuleSyncReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PlayerBoardModuleSync.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerBoardModuleSyncReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChtQbGF5ZXJCb2FyZE1vZHVsZVN5bmMucHJvdG8aEkhlYWRJY29uRGF0YS5w",
|
|
"cm90bxoTSGVhZEZyYW1lSW5mby5wcm90byKoAQoVUGxheWVyQm9hcmRNb2R1",
|
|
"bGVTeW5jEhMKC1BBR0pLREpJR1BJGA4gASgIEhMKC0FMTU1IS0ZLSExLGA0g",
|
|
"AygNEhEKCXNpZ25hdHVyZRgMIAEoCRIuChd1bmxvY2tlZF9oZWFkX2ljb25f",
|
|
"bGlzdBgEIAMoCzINLkhlYWRJY29uRGF0YRIiCgpoZWFkX2ZyYW1lGAcgASgL",
|
|
"Mg4uSGVhZEZyYW1lSW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
|
"b3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HeadIconDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeadFrameInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerBoardModuleSync), global::EggLink.DanhengServer.Proto.PlayerBoardModuleSync.Parser, new[]{ "PAGJKDJIGPI", "ALMMHKFKHLK", "Signature", "UnlockedHeadIconList", "HeadFrame" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerBoardModuleSync : pb::IMessage<PlayerBoardModuleSync>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerBoardModuleSync> _parser = new pb::MessageParser<PlayerBoardModuleSync>(() => new PlayerBoardModuleSync());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerBoardModuleSync> 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.PlayerBoardModuleSyncReflection.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 PlayerBoardModuleSync() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerBoardModuleSync(PlayerBoardModuleSync other) : this() {
|
|
pAGJKDJIGPI_ = other.pAGJKDJIGPI_;
|
|
aLMMHKFKHLK_ = other.aLMMHKFKHLK_.Clone();
|
|
signature_ = other.signature_;
|
|
unlockedHeadIconList_ = other.unlockedHeadIconList_.Clone();
|
|
headFrame_ = other.headFrame_ != null ? other.headFrame_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerBoardModuleSync Clone() {
|
|
return new PlayerBoardModuleSync(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "PAGJKDJIGPI" field.</summary>
|
|
public const int PAGJKDJIGPIFieldNumber = 14;
|
|
private bool pAGJKDJIGPI_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool PAGJKDJIGPI {
|
|
get { return pAGJKDJIGPI_; }
|
|
set {
|
|
pAGJKDJIGPI_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ALMMHKFKHLK" field.</summary>
|
|
public const int ALMMHKFKHLKFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<uint> _repeated_aLMMHKFKHLK_codec
|
|
= pb::FieldCodec.ForUInt32(106);
|
|
private readonly pbc::RepeatedField<uint> aLMMHKFKHLK_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> ALMMHKFKHLK {
|
|
get { return aLMMHKFKHLK_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "signature" field.</summary>
|
|
public const int SignatureFieldNumber = 12;
|
|
private string signature_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Signature {
|
|
get { return signature_; }
|
|
set {
|
|
signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "unlocked_head_icon_list" field.</summary>
|
|
public const int UnlockedHeadIconListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.HeadIconData> _repeated_unlockedHeadIconList_codec
|
|
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.HeadIconData.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData> unlockedHeadIconList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData> UnlockedHeadIconList {
|
|
get { return unlockedHeadIconList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "head_frame" field.</summary>
|
|
public const int HeadFrameFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.HeadFrameInfo headFrame_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.HeadFrameInfo HeadFrame {
|
|
get { return headFrame_; }
|
|
set {
|
|
headFrame_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerBoardModuleSync);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerBoardModuleSync other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (PAGJKDJIGPI != other.PAGJKDJIGPI) return false;
|
|
if(!aLMMHKFKHLK_.Equals(other.aLMMHKFKHLK_)) return false;
|
|
if (Signature != other.Signature) return false;
|
|
if(!unlockedHeadIconList_.Equals(other.unlockedHeadIconList_)) return false;
|
|
if (!object.Equals(HeadFrame, other.HeadFrame)) 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 (PAGJKDJIGPI != false) hash ^= PAGJKDJIGPI.GetHashCode();
|
|
hash ^= aLMMHKFKHLK_.GetHashCode();
|
|
if (Signature.Length != 0) hash ^= Signature.GetHashCode();
|
|
hash ^= unlockedHeadIconList_.GetHashCode();
|
|
if (headFrame_ != null) hash ^= HeadFrame.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
|
|
unlockedHeadIconList_.WriteTo(output, _repeated_unlockedHeadIconList_codec);
|
|
if (headFrame_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(HeadFrame);
|
|
}
|
|
if (Signature.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Signature);
|
|
}
|
|
aLMMHKFKHLK_.WriteTo(output, _repeated_aLMMHKFKHLK_codec);
|
|
if (PAGJKDJIGPI != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(PAGJKDJIGPI);
|
|
}
|
|
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) {
|
|
unlockedHeadIconList_.WriteTo(ref output, _repeated_unlockedHeadIconList_codec);
|
|
if (headFrame_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(HeadFrame);
|
|
}
|
|
if (Signature.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Signature);
|
|
}
|
|
aLMMHKFKHLK_.WriteTo(ref output, _repeated_aLMMHKFKHLK_codec);
|
|
if (PAGJKDJIGPI != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(PAGJKDJIGPI);
|
|
}
|
|
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 (PAGJKDJIGPI != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += aLMMHKFKHLK_.CalculateSize(_repeated_aLMMHKFKHLK_codec);
|
|
if (Signature.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature);
|
|
}
|
|
size += unlockedHeadIconList_.CalculateSize(_repeated_unlockedHeadIconList_codec);
|
|
if (headFrame_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HeadFrame);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerBoardModuleSync other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.PAGJKDJIGPI != false) {
|
|
PAGJKDJIGPI = other.PAGJKDJIGPI;
|
|
}
|
|
aLMMHKFKHLK_.Add(other.aLMMHKFKHLK_);
|
|
if (other.Signature.Length != 0) {
|
|
Signature = other.Signature;
|
|
}
|
|
unlockedHeadIconList_.Add(other.unlockedHeadIconList_);
|
|
if (other.headFrame_ != null) {
|
|
if (headFrame_ == null) {
|
|
HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
|
|
}
|
|
HeadFrame.MergeFrom(other.HeadFrame);
|
|
}
|
|
_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 34: {
|
|
unlockedHeadIconList_.AddEntriesFrom(input, _repeated_unlockedHeadIconList_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (headFrame_ == null) {
|
|
HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
|
|
}
|
|
input.ReadMessage(HeadFrame);
|
|
break;
|
|
}
|
|
case 98: {
|
|
Signature = input.ReadString();
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
aLMMHKFKHLK_.AddEntriesFrom(input, _repeated_aLMMHKFKHLK_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
PAGJKDJIGPI = input.ReadBool();
|
|
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 34: {
|
|
unlockedHeadIconList_.AddEntriesFrom(ref input, _repeated_unlockedHeadIconList_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (headFrame_ == null) {
|
|
HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
|
|
}
|
|
input.ReadMessage(HeadFrame);
|
|
break;
|
|
}
|
|
case 98: {
|
|
Signature = input.ReadString();
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
aLMMHKFKHLK_.AddEntriesFrom(ref input, _repeated_aLMMHKFKHLK_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
PAGJKDJIGPI = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|