// // 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( "CgpzdGF0LnByb3RvEghwYkNsaWVudCJSCg1TdGF0UHZQRGFtYWdlEgsKA3Vp", "ZBgBIAEoAxIWCgl0YXJnZXRVaWQYAiABKANIAIgBARIOCgZkYW1hZ2UYAyAB", "KAJCDAoKX3RhcmdldFVpZCJmCg9TdGF0UHZQS2lsbFVuaXQSCwoDdWlkGAEg", "ASgDEhYKCXRhcmdldFVpZBgCIAEoA0gAiAEBEhAKCGF0dGFja2VyGAMgASgJ", "Eg4KBnZpY3RpbRgEIAEoCUIMCgpfdGFyZ2V0VWlkIkAKC1N0YXRQdlBLaWxs", "EgsKA3VpZBgBIAEoAxIRCgl0YXJnZXRVaWQYAiABKAMSEQoJaXNHZW5lcmFs", "GAMgASgIIi4KEVN0YXRQdlBGaXJzdEJsb29kEgsKA3VpZBgBIAEoAxIMCgR0", "eXBlGAIgASgFIlcKDVN0YXRQdlBSZXBvcnQSDwoHd2luQ2FtcBgBIAEoBRIS", "CgpnZW5lcmFsVWlkGAIgASgDEg8KB3dpblVpZHMYAyADKAMSEAoIbG9zdFVp", "ZHMYBCADKANCCVoHL3BiU3RhdGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPDamage), global::PbClient.StatPvPDamage.Parser, new[]{ "Uid", "TargetUid", "Damage" }, new[]{ "TargetUid" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::PbClient.StatPvPKillUnit), global::PbClient.StatPvPKillUnit.Parser, new[]{ "Uid", "TargetUid", "Attacker", "Victim" }, new[]{ "TargetUid" }, null, null, null), 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", "WinUids", "LostUids" }, null, null, null, null) })); } #endregion } #region Messages /// /// 通知-PvP伤害 statistics.pvp.damage /// public sealed partial class StatPvPDamage : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatPvPDamage()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [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 StatPvPDamage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPDamage(StatPvPDamage other) : this() { _hasBits0 = other._hasBits0; uid_ = other.uid_; targetUid_ = other.targetUid_; damage_ = other.damage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPDamage Clone() { return new StatPvPDamage(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_; /// /// 目标用户ID(可能是基地,不一定有) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TargetUid { get { if ((_hasBits0 & 1) != 0) { return targetUid_; } else { return 0L; } } set { _hasBits0 |= 1; targetUid_ = value; } } /// Gets whether the "targetUid" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasTargetUid { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "targetUid" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearTargetUid() { _hasBits0 &= ~1; } /// Field number for the "damage" field. public const int DamageFieldNumber = 3; private float damage_; /// /// 伤害量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Damage { get { return damage_; } set { damage_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatPvPDamage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatPvPDamage 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 (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Damage, other.Damage)) 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 (HasTargetUid) hash ^= TargetUid.GetHashCode(); if (Damage != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Damage); 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 (HasTargetUid) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (Damage != 0F) { output.WriteRawTag(29); output.WriteFloat(Damage); } 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 (HasTargetUid) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (Damage != 0F) { output.WriteRawTag(29); output.WriteFloat(Damage); } 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 (HasTargetUid) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TargetUid); } if (Damage != 0F) { size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatPvPDamage other) { if (other == null) { return; } if (other.Uid != 0L) { Uid = other.Uid; } if (other.HasTargetUid) { TargetUid = other.TargetUid; } if (other.Damage != 0F) { Damage = other.Damage; } _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 29: { Damage = input.ReadFloat(); 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 29: { Damage = input.ReadFloat(); break; } } } } #endif } /// /// 通知-PvP击杀单位 statistics.pvp.killunit /// public sealed partial class StatPvPKillUnit : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatPvPKillUnit()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [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 StatPvPKillUnit() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPKillUnit(StatPvPKillUnit other) : this() { _hasBits0 = other._hasBits0; uid_ = other.uid_; targetUid_ = other.targetUid_; attacker_ = other.attacker_; victim_ = other.victim_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StatPvPKillUnit Clone() { return new StatPvPKillUnit(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 { if ((_hasBits0 & 1) != 0) { return targetUid_; } else { return 0L; } } set { _hasBits0 |= 1; targetUid_ = value; } } /// Gets whether the "targetUid" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasTargetUid { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "targetUid" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearTargetUid() { _hasBits0 &= ~1; } /// Field number for the "attacker" field. public const int AttackerFieldNumber = 3; private string attacker_ = ""; /// /// 造成击杀东西(building:兵营 U0001:xxx兵 S0001: 技能) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Attacker { get { return attacker_; } set { attacker_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "victim" field. public const int VictimFieldNumber = 4; private string victim_ = ""; /// /// 被击杀的东西(U0001:xxx兵) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Victim { get { return victim_; } set { victim_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StatPvPKillUnit); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StatPvPKillUnit 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 (Attacker != other.Attacker) return false; if (Victim != other.Victim) 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 (HasTargetUid) hash ^= TargetUid.GetHashCode(); if (Attacker.Length != 0) hash ^= Attacker.GetHashCode(); if (Victim.Length != 0) hash ^= Victim.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 (HasTargetUid) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (Attacker.Length != 0) { output.WriteRawTag(26); output.WriteString(Attacker); } if (Victim.Length != 0) { output.WriteRawTag(34); output.WriteString(Victim); } 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 (HasTargetUid) { output.WriteRawTag(16); output.WriteInt64(TargetUid); } if (Attacker.Length != 0) { output.WriteRawTag(26); output.WriteString(Attacker); } if (Victim.Length != 0) { output.WriteRawTag(34); output.WriteString(Victim); } 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 (HasTargetUid) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TargetUid); } if (Attacker.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Attacker); } if (Victim.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Victim); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StatPvPKillUnit other) { if (other == null) { return; } if (other.Uid != 0L) { Uid = other.Uid; } if (other.HasTargetUid) { TargetUid = other.TargetUid; } if (other.Attacker.Length != 0) { Attacker = other.Attacker; } if (other.Victim.Length != 0) { Victim = other.Victim; } _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 26: { Attacker = input.ReadString(); break; } case 34: { Victim = input.ReadString(); 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 26: { Attacker = input.ReadString(); break; } case 34: { Victim = input.ReadString(); break; } } } } #endif } /// /// 通知-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[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 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[3]; } } [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[4]; } } [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_; winUids_ = other.winUids_.Clone(); lostUids_ = other.lostUids_.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 "winUids" field. public const int WinUidsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_winUids_codec = pb::FieldCodec.ForInt64(26); private readonly pbc::RepeatedField winUids_ = new pbc::RepeatedField(); /// /// 战胜方玩家列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField WinUids { get { return winUids_; } } /// Field number for the "lostUids" field. public const int LostUidsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_lostUids_codec = pb::FieldCodec.ForInt64(34); private readonly pbc::RepeatedField lostUids_ = new pbc::RepeatedField(); /// /// 战败方玩家列表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LostUids { get { return lostUids_; } } [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(!winUids_.Equals(other.winUids_)) return false; if(!lostUids_.Equals(other.lostUids_)) 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 ^= winUids_.GetHashCode(); hash ^= lostUids_.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); } winUids_.WriteTo(output, _repeated_winUids_codec); lostUids_.WriteTo(output, _repeated_lostUids_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); } winUids_.WriteTo(ref output, _repeated_winUids_codec); lostUids_.WriteTo(ref output, _repeated_lostUids_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 += winUids_.CalculateSize(_repeated_winUids_codec); size += lostUids_.CalculateSize(_repeated_lostUids_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; } winUids_.Add(other.winUids_); lostUids_.Add(other.lostUids_); _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: case 24: { winUids_.AddEntriesFrom(input, _repeated_winUids_codec); break; } case 34: case 32: { lostUids_.AddEntriesFrom(input, _repeated_lostUids_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: case 24: { winUids_.AddEntriesFrom(ref input, _repeated_winUids_codec); break; } case 34: case 32: { lostUids_.AddEntriesFrom(ref input, _repeated_lostUids_codec); break; } } } } #endif } #endregion } #endregion Designer generated code