// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GridFightRoleDamageStt.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 GridFightRoleDamageStt.proto public static partial class GridFightRoleDamageSttReflection { #region Descriptor /// File descriptor for GridFightRoleDamageStt.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GridFightRoleDamageSttReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxHcmlkRmlnaHRSb2xlRGFtYWdlU3R0LnByb3RvIqMBChZHcmlkRmlnaHRS", "b2xlRGFtYWdlU3R0EiEKGWdyaWRfZmlnaHRfZXF1aXBtZW50X2xpc3QYASAD", "KA0SEgoKaXNfdXBncmFkZRgMIAEoCBIVCg1yb2xlX2Jhc2ljX2lkGA0gASgN", "EhQKDHRvdGFsX2RhbWFnZRgJIAEoARIXCg9pc190cmlhbF9hdmF0YXIYCiAB", "KAgSDAoEdGllchgDIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy", "b3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightRoleDamageStt), global::EggLink.DanhengServer.Proto.GridFightRoleDamageStt.Parser, new[]{ "GridFightEquipmentList", "IsUpgrade", "RoleBasicId", "TotalDamage", "IsTrialAvatar", "Tier" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightRoleDamageStt : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightRoleDamageStt()); 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.GridFightRoleDamageSttReflection.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 GridFightRoleDamageStt() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightRoleDamageStt(GridFightRoleDamageStt other) : this() { gridFightEquipmentList_ = other.gridFightEquipmentList_.Clone(); isUpgrade_ = other.isUpgrade_; roleBasicId_ = other.roleBasicId_; totalDamage_ = other.totalDamage_; isTrialAvatar_ = other.isTrialAvatar_; tier_ = other.tier_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightRoleDamageStt Clone() { return new GridFightRoleDamageStt(this); } /// Field number for the "grid_fight_equipment_list" field. public const int GridFightEquipmentListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_gridFightEquipmentList_codec = pb::FieldCodec.ForUInt32(10); private readonly pbc::RepeatedField gridFightEquipmentList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GridFightEquipmentList { get { return gridFightEquipmentList_; } } /// Field number for the "is_upgrade" field. public const int IsUpgradeFieldNumber = 12; private bool isUpgrade_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsUpgrade { get { return isUpgrade_; } set { isUpgrade_ = value; } } /// Field number for the "role_basic_id" field. public const int RoleBasicIdFieldNumber = 13; 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 "total_damage" field. public const int TotalDamageFieldNumber = 9; private double totalDamage_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double TotalDamage { get { return totalDamage_; } set { totalDamage_ = value; } } /// Field number for the "is_trial_avatar" field. public const int IsTrialAvatarFieldNumber = 10; private bool isTrialAvatar_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsTrialAvatar { get { return isTrialAvatar_; } set { isTrialAvatar_ = value; } } /// Field number for the "tier" field. public const int TierFieldNumber = 3; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightRoleDamageStt); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightRoleDamageStt other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!gridFightEquipmentList_.Equals(other.gridFightEquipmentList_)) return false; if (IsUpgrade != other.IsUpgrade) return false; if (RoleBasicId != other.RoleBasicId) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TotalDamage, other.TotalDamage)) return false; if (IsTrialAvatar != other.IsTrialAvatar) return false; if (Tier != other.Tier) 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 ^= gridFightEquipmentList_.GetHashCode(); if (IsUpgrade != false) hash ^= IsUpgrade.GetHashCode(); if (RoleBasicId != 0) hash ^= RoleBasicId.GetHashCode(); if (TotalDamage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TotalDamage); if (IsTrialAvatar != false) hash ^= IsTrialAvatar.GetHashCode(); if (Tier != 0) hash ^= Tier.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 gridFightEquipmentList_.WriteTo(output, _repeated_gridFightEquipmentList_codec); if (Tier != 0) { output.WriteRawTag(24); output.WriteUInt32(Tier); } if (TotalDamage != 0D) { output.WriteRawTag(73); output.WriteDouble(TotalDamage); } if (IsTrialAvatar != false) { output.WriteRawTag(80); output.WriteBool(IsTrialAvatar); } if (IsUpgrade != false) { output.WriteRawTag(96); output.WriteBool(IsUpgrade); } if (RoleBasicId != 0) { output.WriteRawTag(104); output.WriteUInt32(RoleBasicId); } 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) { gridFightEquipmentList_.WriteTo(ref output, _repeated_gridFightEquipmentList_codec); if (Tier != 0) { output.WriteRawTag(24); output.WriteUInt32(Tier); } if (TotalDamage != 0D) { output.WriteRawTag(73); output.WriteDouble(TotalDamage); } if (IsTrialAvatar != false) { output.WriteRawTag(80); output.WriteBool(IsTrialAvatar); } if (IsUpgrade != false) { output.WriteRawTag(96); output.WriteBool(IsUpgrade); } if (RoleBasicId != 0) { output.WriteRawTag(104); output.WriteUInt32(RoleBasicId); } 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 += gridFightEquipmentList_.CalculateSize(_repeated_gridFightEquipmentList_codec); if (IsUpgrade != false) { size += 1 + 1; } if (RoleBasicId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleBasicId); } if (TotalDamage != 0D) { size += 1 + 8; } if (IsTrialAvatar != false) { size += 1 + 1; } if (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightRoleDamageStt other) { if (other == null) { return; } gridFightEquipmentList_.Add(other.gridFightEquipmentList_); if (other.IsUpgrade != false) { IsUpgrade = other.IsUpgrade; } if (other.RoleBasicId != 0) { RoleBasicId = other.RoleBasicId; } if (other.TotalDamage != 0D) { TotalDamage = other.TotalDamage; } if (other.IsTrialAvatar != false) { IsTrialAvatar = other.IsTrialAvatar; } if (other.Tier != 0) { Tier = other.Tier; } _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: case 8: { gridFightEquipmentList_.AddEntriesFrom(input, _repeated_gridFightEquipmentList_codec); break; } case 24: { Tier = input.ReadUInt32(); break; } case 73: { TotalDamage = input.ReadDouble(); break; } case 80: { IsTrialAvatar = input.ReadBool(); break; } case 96: { IsUpgrade = input.ReadBool(); break; } case 104: { RoleBasicId = 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 10: case 8: { gridFightEquipmentList_.AddEntriesFrom(ref input, _repeated_gridFightEquipmentList_codec); break; } case 24: { Tier = input.ReadUInt32(); break; } case 73: { TotalDamage = input.ReadDouble(); break; } case 80: { IsTrialAvatar = input.ReadBool(); break; } case 96: { IsUpgrade = input.ReadBool(); break; } case 104: { RoleBasicId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code