Files
DanhengServer-OpenSource/Common/Proto/PlayerSyncScNotify.cs
2024-02-24 22:42:19 +08:00

505 lines
22 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlayerSyncScNotify.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 PlayerSyncScNotify.proto</summary>
public static partial class PlayerSyncScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for PlayerSyncScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PlayerSyncScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhQbGF5ZXJTeW5jU2NOb3RpZnkucHJvdG8aC1JlbGljLnByb3RvGg9FcXVp",
"cG1lbnQucHJvdG8aFVBsYXllckJhc2ljSW5mby5wcm90bxoTQm9hcmREYXRh",
"U3luYy5wcm90bxoOTWF0ZXJpYWwucHJvdG8aEEF2YXRhclN5bmMucHJvdG8a",
"F0hlcm9CYXNpY1R5cGVJbmZvLnByb3RvIs4CChJQbGF5ZXJTeW5jU2NOb3Rp",
"ZnkSIAoNbWF0ZXJpYWxfbGlzdBgPIAMoCzIJLk1hdGVyaWFsEiIKDmVxdWlw",
"bWVudF9saXN0GAYgAygLMgouRXF1aXBtZW50EigKD2JvYXJkX2RhdGFfc3lu",
"YxjbDCABKAsyDi5Cb2FyZERhdGFTeW5jEiAKC2F2YXRhcl9zeW5jGAMgASgL",
"MgsuQXZhdGFyU3luYxIkCgpiYXNpY19pbmZvGAQgASgLMhAuUGxheWVyQmFz",
"aWNJbmZvEhoKCnJlbGljX2xpc3QYASADKAsyBi5SZWxpYxIwChRiYXNpY190",
"eXBlX2luZm9fbGlzdBgLIAMoCzISLkhlcm9CYXNpY1R5cGVJbmZvEhYKDmRl",
"bF9yZWxpY19saXN0GAggAygNEhoKEmRlbF9lcXVpcG1lbnRfbGlzdBgNIAMo",
"DUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicReflection.Descriptor, global::EggLink.DanhengServer.Proto.EquipmentReflection.Descriptor, global::EggLink.DanhengServer.Proto.PlayerBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.BoardDataSyncReflection.Descriptor, global::EggLink.DanhengServer.Proto.MaterialReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarSyncReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeroBasicTypeInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerSyncScNotify), global::EggLink.DanhengServer.Proto.PlayerSyncScNotify.Parser, new[]{ "MaterialList", "EquipmentList", "BoardDataSync", "AvatarSync", "BasicInfo", "RelicList", "BasicTypeInfoList", "DelRelicList", "DelEquipmentList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerSyncScNotify : pb::IMessage<PlayerSyncScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerSyncScNotify> _parser = new pb::MessageParser<PlayerSyncScNotify>(() => new PlayerSyncScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerSyncScNotify> 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.PlayerSyncScNotifyReflection.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 PlayerSyncScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerSyncScNotify(PlayerSyncScNotify other) : this() {
materialList_ = other.materialList_.Clone();
equipmentList_ = other.equipmentList_.Clone();
boardDataSync_ = other.boardDataSync_ != null ? other.boardDataSync_.Clone() : null;
avatarSync_ = other.avatarSync_ != null ? other.avatarSync_.Clone() : null;
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
relicList_ = other.relicList_.Clone();
basicTypeInfoList_ = other.basicTypeInfoList_.Clone();
delRelicList_ = other.delRelicList_.Clone();
delEquipmentList_ = other.delEquipmentList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerSyncScNotify Clone() {
return new PlayerSyncScNotify(this);
}
/// <summary>Field number for the "material_list" field.</summary>
public const int MaterialListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Material> _repeated_materialList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.Material.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Material> materialList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Material>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Material> MaterialList {
get { return materialList_; }
}
/// <summary>Field number for the "equipment_list" field.</summary>
public const int EquipmentListFieldNumber = 6;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Equipment> _repeated_equipmentList_codec
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.Equipment.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Equipment> equipmentList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Equipment>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Equipment> EquipmentList {
get { return equipmentList_; }
}
/// <summary>Field number for the "board_data_sync" field.</summary>
public const int BoardDataSyncFieldNumber = 1627;
private global::EggLink.DanhengServer.Proto.BoardDataSync boardDataSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.BoardDataSync BoardDataSync {
get { return boardDataSync_; }
set {
boardDataSync_ = value;
}
}
/// <summary>Field number for the "avatar_sync" field.</summary>
public const int AvatarSyncFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.AvatarSync avatarSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.AvatarSync AvatarSync {
get { return avatarSync_; }
set {
avatarSync_ = value;
}
}
/// <summary>Field number for the "basic_info" field.</summary>
public const int BasicInfoFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.PlayerBasicInfo basicInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.PlayerBasicInfo BasicInfo {
get { return basicInfo_; }
set {
basicInfo_ = value;
}
}
/// <summary>Field number for the "relic_list" field.</summary>
public const int RelicListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Relic> _repeated_relicList_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.Relic.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Relic> relicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Relic>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Relic> RelicList {
get { return relicList_; }
}
/// <summary>Field number for the "basic_type_info_list" field.</summary>
public const int BasicTypeInfoListFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.HeroBasicTypeInfo> _repeated_basicTypeInfoList_codec
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.HeroBasicTypeInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeroBasicTypeInfo> basicTypeInfoList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeroBasicTypeInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeroBasicTypeInfo> BasicTypeInfoList {
get { return basicTypeInfoList_; }
}
/// <summary>Field number for the "del_relic_list" field.</summary>
public const int DelRelicListFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_delRelicList_codec
= pb::FieldCodec.ForUInt32(66);
private readonly pbc::RepeatedField<uint> delRelicList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DelRelicList {
get { return delRelicList_; }
}
/// <summary>Field number for the "del_equipment_list" field.</summary>
public const int DelEquipmentListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_delEquipmentList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> delEquipmentList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DelEquipmentList {
get { return delEquipmentList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerSyncScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerSyncScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!materialList_.Equals(other.materialList_)) return false;
if(!equipmentList_.Equals(other.equipmentList_)) return false;
if (!object.Equals(BoardDataSync, other.BoardDataSync)) return false;
if (!object.Equals(AvatarSync, other.AvatarSync)) return false;
if (!object.Equals(BasicInfo, other.BasicInfo)) return false;
if(!relicList_.Equals(other.relicList_)) return false;
if(!basicTypeInfoList_.Equals(other.basicTypeInfoList_)) return false;
if(!delRelicList_.Equals(other.delRelicList_)) return false;
if(!delEquipmentList_.Equals(other.delEquipmentList_)) 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 ^= materialList_.GetHashCode();
hash ^= equipmentList_.GetHashCode();
if (boardDataSync_ != null) hash ^= BoardDataSync.GetHashCode();
if (avatarSync_ != null) hash ^= AvatarSync.GetHashCode();
if (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
hash ^= relicList_.GetHashCode();
hash ^= basicTypeInfoList_.GetHashCode();
hash ^= delRelicList_.GetHashCode();
hash ^= delEquipmentList_.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
relicList_.WriteTo(output, _repeated_relicList_codec);
if (avatarSync_ != null) {
output.WriteRawTag(26);
output.WriteMessage(AvatarSync);
}
if (basicInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(BasicInfo);
}
equipmentList_.WriteTo(output, _repeated_equipmentList_codec);
delRelicList_.WriteTo(output, _repeated_delRelicList_codec);
basicTypeInfoList_.WriteTo(output, _repeated_basicTypeInfoList_codec);
delEquipmentList_.WriteTo(output, _repeated_delEquipmentList_codec);
materialList_.WriteTo(output, _repeated_materialList_codec);
if (boardDataSync_ != null) {
output.WriteRawTag(218, 101);
output.WriteMessage(BoardDataSync);
}
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) {
relicList_.WriteTo(ref output, _repeated_relicList_codec);
if (avatarSync_ != null) {
output.WriteRawTag(26);
output.WriteMessage(AvatarSync);
}
if (basicInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(BasicInfo);
}
equipmentList_.WriteTo(ref output, _repeated_equipmentList_codec);
delRelicList_.WriteTo(ref output, _repeated_delRelicList_codec);
basicTypeInfoList_.WriteTo(ref output, _repeated_basicTypeInfoList_codec);
delEquipmentList_.WriteTo(ref output, _repeated_delEquipmentList_codec);
materialList_.WriteTo(ref output, _repeated_materialList_codec);
if (boardDataSync_ != null) {
output.WriteRawTag(218, 101);
output.WriteMessage(BoardDataSync);
}
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 += materialList_.CalculateSize(_repeated_materialList_codec);
size += equipmentList_.CalculateSize(_repeated_equipmentList_codec);
if (boardDataSync_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(BoardDataSync);
}
if (avatarSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarSync);
}
if (basicInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
}
size += relicList_.CalculateSize(_repeated_relicList_codec);
size += basicTypeInfoList_.CalculateSize(_repeated_basicTypeInfoList_codec);
size += delRelicList_.CalculateSize(_repeated_delRelicList_codec);
size += delEquipmentList_.CalculateSize(_repeated_delEquipmentList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerSyncScNotify other) {
if (other == null) {
return;
}
materialList_.Add(other.materialList_);
equipmentList_.Add(other.equipmentList_);
if (other.boardDataSync_ != null) {
if (boardDataSync_ == null) {
BoardDataSync = new global::EggLink.DanhengServer.Proto.BoardDataSync();
}
BoardDataSync.MergeFrom(other.BoardDataSync);
}
if (other.avatarSync_ != null) {
if (avatarSync_ == null) {
AvatarSync = new global::EggLink.DanhengServer.Proto.AvatarSync();
}
AvatarSync.MergeFrom(other.AvatarSync);
}
if (other.basicInfo_ != null) {
if (basicInfo_ == null) {
BasicInfo = new global::EggLink.DanhengServer.Proto.PlayerBasicInfo();
}
BasicInfo.MergeFrom(other.BasicInfo);
}
relicList_.Add(other.relicList_);
basicTypeInfoList_.Add(other.basicTypeInfoList_);
delRelicList_.Add(other.delRelicList_);
delEquipmentList_.Add(other.delEquipmentList_);
_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: {
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
break;
}
case 26: {
if (avatarSync_ == null) {
AvatarSync = new global::EggLink.DanhengServer.Proto.AvatarSync();
}
input.ReadMessage(AvatarSync);
break;
}
case 34: {
if (basicInfo_ == null) {
BasicInfo = new global::EggLink.DanhengServer.Proto.PlayerBasicInfo();
}
input.ReadMessage(BasicInfo);
break;
}
case 50: {
equipmentList_.AddEntriesFrom(input, _repeated_equipmentList_codec);
break;
}
case 66:
case 64: {
delRelicList_.AddEntriesFrom(input, _repeated_delRelicList_codec);
break;
}
case 90: {
basicTypeInfoList_.AddEntriesFrom(input, _repeated_basicTypeInfoList_codec);
break;
}
case 106:
case 104: {
delEquipmentList_.AddEntriesFrom(input, _repeated_delEquipmentList_codec);
break;
}
case 122: {
materialList_.AddEntriesFrom(input, _repeated_materialList_codec);
break;
}
case 13018: {
if (boardDataSync_ == null) {
BoardDataSync = new global::EggLink.DanhengServer.Proto.BoardDataSync();
}
input.ReadMessage(BoardDataSync);
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: {
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
break;
}
case 26: {
if (avatarSync_ == null) {
AvatarSync = new global::EggLink.DanhengServer.Proto.AvatarSync();
}
input.ReadMessage(AvatarSync);
break;
}
case 34: {
if (basicInfo_ == null) {
BasicInfo = new global::EggLink.DanhengServer.Proto.PlayerBasicInfo();
}
input.ReadMessage(BasicInfo);
break;
}
case 50: {
equipmentList_.AddEntriesFrom(ref input, _repeated_equipmentList_codec);
break;
}
case 66:
case 64: {
delRelicList_.AddEntriesFrom(ref input, _repeated_delRelicList_codec);
break;
}
case 90: {
basicTypeInfoList_.AddEntriesFrom(ref input, _repeated_basicTypeInfoList_codec);
break;
}
case 106:
case 104: {
delEquipmentList_.AddEntriesFrom(ref input, _repeated_delEquipmentList_codec);
break;
}
case 122: {
materialList_.AddEntriesFrom(ref input, _repeated_materialList_codec);
break;
}
case 13018: {
if (boardDataSync_ == null) {
BoardDataSync = new global::EggLink.DanhengServer.Proto.BoardDataSync();
}
input.ReadMessage(BoardDataSync);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code