// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: BattleGridFightRoleInfo.proto // #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 { /// Holder for reflection information generated from BattleGridFightRoleInfo.proto public static partial class BattleGridFightRoleInfoReflection { #region Descriptor /// File descriptor for BattleGridFightRoleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static BattleGridFightRoleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1CYXR0bGVHcmlkRmlnaHRSb2xlSW5mby5wcm90bxoiQmF0dGxlR3JpZEZp", "Z2h0RXF1aXBtZW50SW5mby5wcm90byKqAwoXQmF0dGxlR3JpZEZpZ2h0Um9s", "ZUluZm8SFQoNcm9sZV9iYXNpY19pZBgBIAEoDRIMCgR0aWVyGAIgASgNEgsK", "A3BvcxgDIAEoDRI6ChNyb2xlX2VxdWlwbWVudF9saXN0GAcgAygLMh0uQmF0", "dGxlR3JpZEZpZ2h0RXF1aXBtZW50SW5mbxIRCglhdmF0YXJfaWQYCCABKA0S", "TQoUZ2FtZV9zYXZlZF92YWx1ZV9tYXAYCSADKAsyLy5CYXR0bGVHcmlkRmln", "aHRSb2xlSW5mby5HYW1lU2F2ZWRWYWx1ZU1hcEVudHJ5Ej4KC0lNTU5OR01N", "REFJGAogAygLMikuQmF0dGxlR3JpZEZpZ2h0Um9sZUluZm8uSU1NTk5HTU1E", "QUlFbnRyeRIRCgl1bmlxdWVfaWQYCyABKA0aOAoWR2FtZVNhdmVkVmFsdWVN", "YXBFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKA06AjgBGjIKEElN", "TU5OR01NREFJRW50cnkSCwoDa2V5GAEgASgNEg0KBXZhbHVlGAIgASgNOgI4", "AUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleGridFightEquipmentInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleGridFightRoleInfo), global::EggLink.DanhengServer.Proto.BattleGridFightRoleInfo.Parser, new[]{ "RoleBasicId", "Tier", "Pos", "RoleEquipmentList", "AvatarId", "GameSavedValueMap", "IMMNNGMMDAI", "UniqueId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BattleGridFightRoleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattleGridFightRoleInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.BattleGridFightRoleInfoReflection.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 BattleGridFightRoleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleGridFightRoleInfo(BattleGridFightRoleInfo other) : this() { roleBasicId_ = other.roleBasicId_; tier_ = other.tier_; pos_ = other.pos_; roleEquipmentList_ = other.roleEquipmentList_.Clone(); avatarId_ = other.avatarId_; gameSavedValueMap_ = other.gameSavedValueMap_.Clone(); iMMNNGMMDAI_ = other.iMMNNGMMDAI_.Clone(); uniqueId_ = other.uniqueId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleGridFightRoleInfo Clone() { return new BattleGridFightRoleInfo(this); } /// Field number for the "role_basic_id" field. public const int RoleBasicIdFieldNumber = 1; private uint roleBasicId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoleBasicId { get { return roleBasicId_; } set { roleBasicId_ = value; } } /// Field number for the "tier" field. public const int TierFieldNumber = 2; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } /// Field number for the "pos" field. public const int PosFieldNumber = 3; private uint pos_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Pos { get { return pos_; } set { pos_ = value; } } /// Field number for the "role_equipment_list" field. public const int RoleEquipmentListFieldNumber = 7; private static readonly pb::FieldCodec _repeated_roleEquipmentList_codec = pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.BattleGridFightEquipmentInfo.Parser); private readonly pbc::RepeatedField roleEquipmentList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RoleEquipmentList { get { return roleEquipmentList_; } } /// Field number for the "avatar_id" field. public const int AvatarIdFieldNumber = 8; private uint avatarId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AvatarId { get { return avatarId_; } set { avatarId_ = value; } } /// Field number for the "game_saved_value_map" field. public const int GameSavedValueMapFieldNumber = 9; private static readonly pbc::MapField.Codec _map_gameSavedValueMap_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 74); private readonly pbc::MapField gameSavedValueMap_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField GameSavedValueMap { get { return gameSavedValueMap_; } } /// Field number for the "IMMNNGMMDAI" field. public const int IMMNNGMMDAIFieldNumber = 10; private static readonly pbc::MapField.Codec _map_iMMNNGMMDAI_codec = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 82); private readonly pbc::MapField iMMNNGMMDAI_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField IMMNNGMMDAI { get { return iMMNNGMMDAI_; } } /// Field number for the "unique_id" field. public const int UniqueIdFieldNumber = 11; private uint uniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint UniqueId { get { return uniqueId_; } set { uniqueId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BattleGridFightRoleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BattleGridFightRoleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoleBasicId != other.RoleBasicId) return false; if (Tier != other.Tier) return false; if (Pos != other.Pos) return false; if(!roleEquipmentList_.Equals(other.roleEquipmentList_)) return false; if (AvatarId != other.AvatarId) return false; if (!GameSavedValueMap.Equals(other.GameSavedValueMap)) return false; if (!IMMNNGMMDAI.Equals(other.IMMNNGMMDAI)) return false; if (UniqueId != other.UniqueId) 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 (RoleBasicId != 0) hash ^= RoleBasicId.GetHashCode(); if (Tier != 0) hash ^= Tier.GetHashCode(); if (Pos != 0) hash ^= Pos.GetHashCode(); hash ^= roleEquipmentList_.GetHashCode(); if (AvatarId != 0) hash ^= AvatarId.GetHashCode(); hash ^= GameSavedValueMap.GetHashCode(); hash ^= IMMNNGMMDAI.GetHashCode(); if (UniqueId != 0) hash ^= UniqueId.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 (RoleBasicId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleBasicId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } if (Pos != 0) { output.WriteRawTag(24); output.WriteUInt32(Pos); } roleEquipmentList_.WriteTo(output, _repeated_roleEquipmentList_codec); if (AvatarId != 0) { output.WriteRawTag(64); output.WriteUInt32(AvatarId); } gameSavedValueMap_.WriteTo(output, _map_gameSavedValueMap_codec); iMMNNGMMDAI_.WriteTo(output, _map_iMMNNGMMDAI_codec); if (UniqueId != 0) { output.WriteRawTag(88); output.WriteUInt32(UniqueId); } 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 (RoleBasicId != 0) { output.WriteRawTag(8); output.WriteUInt32(RoleBasicId); } if (Tier != 0) { output.WriteRawTag(16); output.WriteUInt32(Tier); } if (Pos != 0) { output.WriteRawTag(24); output.WriteUInt32(Pos); } roleEquipmentList_.WriteTo(ref output, _repeated_roleEquipmentList_codec); if (AvatarId != 0) { output.WriteRawTag(64); output.WriteUInt32(AvatarId); } gameSavedValueMap_.WriteTo(ref output, _map_gameSavedValueMap_codec); iMMNNGMMDAI_.WriteTo(ref output, _map_iMMNNGMMDAI_codec); if (UniqueId != 0) { output.WriteRawTag(88); output.WriteUInt32(UniqueId); } 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 (RoleBasicId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleBasicId); } if (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (Pos != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos); } size += roleEquipmentList_.CalculateSize(_repeated_roleEquipmentList_codec); if (AvatarId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId); } size += gameSavedValueMap_.CalculateSize(_map_gameSavedValueMap_codec); size += iMMNNGMMDAI_.CalculateSize(_map_iMMNNGMMDAI_codec); if (UniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BattleGridFightRoleInfo other) { if (other == null) { return; } if (other.RoleBasicId != 0) { RoleBasicId = other.RoleBasicId; } if (other.Tier != 0) { Tier = other.Tier; } if (other.Pos != 0) { Pos = other.Pos; } roleEquipmentList_.Add(other.roleEquipmentList_); if (other.AvatarId != 0) { AvatarId = other.AvatarId; } gameSavedValueMap_.MergeFrom(other.gameSavedValueMap_); iMMNNGMMDAI_.MergeFrom(other.iMMNNGMMDAI_); if (other.UniqueId != 0) { UniqueId = other.UniqueId; } _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: { RoleBasicId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } case 24: { Pos = input.ReadUInt32(); break; } case 58: { roleEquipmentList_.AddEntriesFrom(input, _repeated_roleEquipmentList_codec); break; } case 64: { AvatarId = input.ReadUInt32(); break; } case 74: { gameSavedValueMap_.AddEntriesFrom(input, _map_gameSavedValueMap_codec); break; } case 82: { iMMNNGMMDAI_.AddEntriesFrom(input, _map_iMMNNGMMDAI_codec); break; } case 88: { UniqueId = 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: { RoleBasicId = input.ReadUInt32(); break; } case 16: { Tier = input.ReadUInt32(); break; } case 24: { Pos = input.ReadUInt32(); break; } case 58: { roleEquipmentList_.AddEntriesFrom(ref input, _repeated_roleEquipmentList_codec); break; } case 64: { AvatarId = input.ReadUInt32(); break; } case 74: { gameSavedValueMap_.AddEntriesFrom(ref input, _map_gameSavedValueMap_codec); break; } case 82: { iMMNNGMMDAI_.AddEntriesFrom(ref input, _map_iMMNNGMMDAI_codec); break; } case 88: { UniqueId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code