// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: stat.proto // #pragma warning disable 1591, 0612, 3021 #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 PbClient { /// Holder for reflection information generated from stat.proto public static partial class StatReflection { #region Descriptor /// File descriptor for stat.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StatReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgpzdGF0LnByb3RvEghwYkNsaWVudCJACgtTdGF0UHZQS2lsbBILCgN1aWQY", "ASABKAMSEQoJdGFyZ2V0VWlkGAIgASgDEhEKCWlzR2VuZXJhbBgDIAEoCCIu", "ChFTdGF0UHZQRmlyc3RCbG9vZBILCgN1aWQYASABKAMSDAoEdHlwZRgCIAEo", "BSLyAQoNU3RhdFB2UFJlcG9ydBIPCgd3aW5DYW1wGAEgASgFEhIKCmdlbmVy", "YWxVaWQYAiABKAMSLgoId2luSXRlbXMYAyADKAsyHC5wYkNsaWVudC5TdGF0", "UHZQUmVwb3J0Lkl0ZW0SLwoJbG9zdEl0ZW1zGAQgAygLMhwucGJDbGllbnQu", "U3RhdFB2UFJlcG9ydC5JdGVtGlsKBEl0ZW0SCwoDdWlkGAEgASgDEg4KBmRh", "bWFnZRgCIAEoAxIQCghkZURhbWFnZRgDIAEoAxIQCghraWxsVW5pdBgEIAEo", "AxISCgpkZUtpbGxVbml0GAUgASgDQglaBy9wYlN0YXRiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPKill), global::PbClient.StatPvPKill.Parser, new[]{ "Uid", "TargetUid", "IsGeneral" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPFirstBlood), global::PbClient.StatPvPFirstBlood.Parser, new[]{ "Uid", "Type" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPReport), global::PbClient.StatPvPReport.Parser, new[]{ "WinCamp", "GeneralUid", "WinItems", "LostItems" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPReport.Types.Item), global::PbClient.StatPvPReport.Types.Item.Parser, new[]{ "Uid", "Damage", "DeDamage", "KillUnit", "DeKillUnit" }, null, null, null, null)}) })); } #endregion } #region Messages /// /// 通知-PvP杀兵营(人) statistics.pvp.kill /// public sealed partial class StatPvPKill : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatPvPKill()); 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::PbClient.StatReflection.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 StatPvPKill() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPKill(StatPvPKill other) : this() { uid_ = other.uid_; targetUid_ = other.targetUid_; isGeneral_ = other.isGeneral_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPKill Clone() { return new StatPvPKill(this); } /// Field number for the "uid" field. public const int UidFieldNumber = 1; private long uid_; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Uid { get { return uid_; } set { uid_ = value; } } /// Field number for the "targetUid" field. public const int TargetUidFieldNumber = 2; private long targetUid_; /// /// 目标用户 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TargetUid { get { return targetUid_; } set { targetUid_ = value; } } /// Field number for the "isGeneral" field. public const int IsGeneralFieldNumber = 3; private bool isGeneral_; /// /// targetUid是否名将 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsGeneral { get { return isGeneral_; } set { isGeneral_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatPvPKill); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatPvPKill other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Uid != other.Uid) return false; if (TargetUid != other.TargetUid) return false; if (IsGeneral != other.IsGeneral) 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 (Uid != 0L) hash ^= Uid.GetHashCode(); if (TargetUid != 0L) hash ^= TargetUid.GetHashCode(); if (IsGeneral != false) hash ^= IsGeneral.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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (TargetUid != 0L) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (IsGeneral != false) { output.WriteRawTag(24); output.WriteBool(IsGeneral); } 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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (TargetUid != 0L) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (IsGeneral != false) { output.WriteRawTag(24); output.WriteBool(IsGeneral); } 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 (Uid != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Uid); } if (TargetUid != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TargetUid); } if (IsGeneral != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatPvPKill other) { if (other == null) { return; } if (other.Uid != 0L) { Uid = other.Uid; } if (other.TargetUid != 0L) { TargetUid = other.TargetUid; } if (other.IsGeneral != false) { IsGeneral = other.IsGeneral; } _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: { Uid = input.ReadInt64(); break; } case 16: { TargetUid = input.ReadInt64(); break; } case 24: { IsGeneral = 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 8: { Uid = input.ReadInt64(); break; } case 16: { TargetUid = input.ReadInt64(); break; } case 24: { IsGeneral = input.ReadBool(); break; } } } } #endif } /// /// 通知-PvP一血 statistics.pvp.first /// public sealed partial class StatPvPFirstBlood : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatPvPFirstBlood()); 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::PbClient.StatReflection.Descriptor.MessageTypes[1]; } } [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 StatPvPFirstBlood() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPFirstBlood(StatPvPFirstBlood other) : this() { uid_ = other.uid_; type_ = other.type_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPFirstBlood Clone() { return new StatPvPFirstBlood(this); } /// Field number for the "uid" field. public const int UidFieldNumber = 1; private long uid_; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Uid { get { return uid_; } set { uid_ = value; } } /// Field number for the "type" field. public const int TypeFieldNumber = 2; private int type_; /// /// 1-拿到一血 2-被破一血 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Type { get { return type_; } set { type_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatPvPFirstBlood); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatPvPFirstBlood other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Uid != other.Uid) return false; if (Type != other.Type) 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 (Uid != 0L) hash ^= Uid.GetHashCode(); if (Type != 0) hash ^= Type.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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (Type != 0) { output.WriteRawTag(16); output.WriteInt32(Type); } 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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (Type != 0) { output.WriteRawTag(16); output.WriteInt32(Type); } 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 (Uid != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Uid); } if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatPvPFirstBlood other) { if (other == null) { return; } if (other.Uid != 0L) { Uid = other.Uid; } if (other.Type != 0) { Type = other.Type; } _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: { Uid = input.ReadInt64(); break; } case 16: { Type = input.ReadInt32(); 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: { Uid = input.ReadInt64(); break; } case 16: { Type = input.ReadInt32(); break; } } } } #endif } /// /// 通知-PvP战报 statistics.pvp.report /// public sealed partial class StatPvPReport : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatPvPReport()); 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::PbClient.StatReflection.Descriptor.MessageTypes[2]; } } [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 StatPvPReport() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPReport(StatPvPReport other) : this() { winCamp_ = other.winCamp_; generalUid_ = other.generalUid_; winItems_ = other.winItems_.Clone(); lostItems_ = other.lostItems_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPReport Clone() { return new StatPvPReport(this); } /// Field number for the "winCamp" field. public const int WinCampFieldNumber = 1; private int winCamp_; /// /// 获胜阵营 1-蓝 2-红 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int WinCamp { get { return winCamp_; } set { winCamp_ = value; } } /// Field number for the "generalUid" field. public const int GeneralUidFieldNumber = 2; private long generalUid_; /// /// 名将UID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long GeneralUid { get { return generalUid_; } set { generalUid_ = value; } } /// Field number for the "winItems" field. public const int WinItemsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_winItems_codec = pb::FieldCodec.ForMessage(26, global::PbClient.StatPvPReport.Types.Item.Parser); private readonly pbc::RepeatedField winItems_ = new pbc::RepeatedField(); /// /// 获胜方数据 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField WinItems { get { return winItems_; } } /// Field number for the "lostItems" field. public const int LostItemsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_lostItems_codec = pb::FieldCodec.ForMessage(34, global::PbClient.StatPvPReport.Types.Item.Parser); private readonly pbc::RepeatedField lostItems_ = new pbc::RepeatedField(); /// /// 战败方数据 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LostItems { get { return lostItems_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatPvPReport); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatPvPReport other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (WinCamp != other.WinCamp) return false; if (GeneralUid != other.GeneralUid) return false; if(!winItems_.Equals(other.winItems_)) return false; if(!lostItems_.Equals(other.lostItems_)) 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 (WinCamp != 0) hash ^= WinCamp.GetHashCode(); if (GeneralUid != 0L) hash ^= GeneralUid.GetHashCode(); hash ^= winItems_.GetHashCode(); hash ^= lostItems_.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 (WinCamp != 0) { output.WriteRawTag(8); output.WriteInt32(WinCamp); } if (GeneralUid != 0L) { output.WriteRawTag(16); output.WriteInt64(GeneralUid); } winItems_.WriteTo(output, _repeated_winItems_codec); lostItems_.WriteTo(output, _repeated_lostItems_codec); 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 (WinCamp != 0) { output.WriteRawTag(8); output.WriteInt32(WinCamp); } if (GeneralUid != 0L) { output.WriteRawTag(16); output.WriteInt64(GeneralUid); } winItems_.WriteTo(ref output, _repeated_winItems_codec); lostItems_.WriteTo(ref output, _repeated_lostItems_codec); 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 (WinCamp != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinCamp); } if (GeneralUid != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(GeneralUid); } size += winItems_.CalculateSize(_repeated_winItems_codec); size += lostItems_.CalculateSize(_repeated_lostItems_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatPvPReport other) { if (other == null) { return; } if (other.WinCamp != 0) { WinCamp = other.WinCamp; } if (other.GeneralUid != 0L) { GeneralUid = other.GeneralUid; } winItems_.Add(other.winItems_); lostItems_.Add(other.lostItems_); _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: { WinCamp = input.ReadInt32(); break; } case 16: { GeneralUid = input.ReadInt64(); break; } case 26: { winItems_.AddEntriesFrom(input, _repeated_winItems_codec); break; } case 34: { lostItems_.AddEntriesFrom(input, _repeated_lostItems_codec); 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: { WinCamp = input.ReadInt32(); break; } case 16: { GeneralUid = input.ReadInt64(); break; } case 26: { winItems_.AddEntriesFrom(ref input, _repeated_winItems_codec); break; } case 34: { lostItems_.AddEntriesFrom(ref input, _repeated_lostItems_codec); break; } } } } #endif #region Nested types /// Container for nested types declared in the StatPvPReport message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { public sealed partial class Item : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Item()); 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::PbClient.StatPvPReport.Descriptor.NestedTypes[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 Item() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Item(Item other) : this() { uid_ = other.uid_; damage_ = other.damage_; deDamage_ = other.deDamage_; killUnit_ = other.killUnit_; deKillUnit_ = other.deKillUnit_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Item Clone() { return new Item(this); } /// Field number for the "uid" field. public const int UidFieldNumber = 1; private long uid_; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Uid { get { return uid_; } set { uid_ = value; } } /// Field number for the "damage" field. public const int DamageFieldNumber = 2; private long damage_; /// /// 伤害量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Damage { get { return damage_; } set { damage_ = value; } } /// Field number for the "deDamage" field. public const int DeDamageFieldNumber = 3; private long deDamage_; /// /// 承受伤害 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long DeDamage { get { return deDamage_; } set { deDamage_ = value; } } /// Field number for the "killUnit" field. public const int KillUnitFieldNumber = 4; private long killUnit_; /// /// 击杀单位数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long KillUnit { get { return killUnit_; } set { killUnit_ = value; } } /// Field number for the "deKillUnit" field. public const int DeKillUnitFieldNumber = 5; private long deKillUnit_; /// /// 被杀单位数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long DeKillUnit { get { return deKillUnit_; } set { deKillUnit_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Item); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Item other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Uid != other.Uid) return false; if (Damage != other.Damage) return false; if (DeDamage != other.DeDamage) return false; if (KillUnit != other.KillUnit) return false; if (DeKillUnit != other.DeKillUnit) 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 (Uid != 0L) hash ^= Uid.GetHashCode(); if (Damage != 0L) hash ^= Damage.GetHashCode(); if (DeDamage != 0L) hash ^= DeDamage.GetHashCode(); if (KillUnit != 0L) hash ^= KillUnit.GetHashCode(); if (DeKillUnit != 0L) hash ^= DeKillUnit.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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (Damage != 0L) { output.WriteRawTag(16); output.WriteInt64(Damage); } if (DeDamage != 0L) { output.WriteRawTag(24); output.WriteInt64(DeDamage); } if (KillUnit != 0L) { output.WriteRawTag(32); output.WriteInt64(KillUnit); } if (DeKillUnit != 0L) { output.WriteRawTag(40); output.WriteInt64(DeKillUnit); } 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 (Uid != 0L) { output.WriteRawTag(8); output.WriteInt64(Uid); } if (Damage != 0L) { output.WriteRawTag(16); output.WriteInt64(Damage); } if (DeDamage != 0L) { output.WriteRawTag(24); output.WriteInt64(DeDamage); } if (KillUnit != 0L) { output.WriteRawTag(32); output.WriteInt64(KillUnit); } if (DeKillUnit != 0L) { output.WriteRawTag(40); output.WriteInt64(DeKillUnit); } 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 (Uid != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Uid); } if (Damage != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Damage); } if (DeDamage != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(DeDamage); } if (KillUnit != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(KillUnit); } if (DeKillUnit != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(DeKillUnit); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Item other) { if (other == null) { return; } if (other.Uid != 0L) { Uid = other.Uid; } if (other.Damage != 0L) { Damage = other.Damage; } if (other.DeDamage != 0L) { DeDamage = other.DeDamage; } if (other.KillUnit != 0L) { KillUnit = other.KillUnit; } if (other.DeKillUnit != 0L) { DeKillUnit = other.DeKillUnit; } _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: { Uid = input.ReadInt64(); break; } case 16: { Damage = input.ReadInt64(); break; } case 24: { DeDamage = input.ReadInt64(); break; } case 32: { KillUnit = input.ReadInt64(); break; } case 40: { DeKillUnit = input.ReadInt64(); 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: { Uid = input.ReadInt64(); break; } case 16: { Damage = input.ReadInt64(); break; } case 24: { DeDamage = input.ReadInt64(); break; } case 32: { KillUnit = input.ReadInt64(); break; } case 40: { DeKillUnit = input.ReadInt64(); break; } } } } #endif } } #endregion } #endregion } #endregion Designer generated code