// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RaidInfoNotify.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 RaidInfoNotify.proto public static partial class RaidInfoNotifyReflection { #region Descriptor /// File descriptor for RaidInfoNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RaidInfoNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChRSYWlkSW5mb05vdGlmeS5wcm90bxoQUmFpZFN0YXR1cy5wcm90bxoOSXRl", "bUxpc3QucHJvdG8aFFJhaWRUYXJnZXRJbmZvLnByb3RvIrYBCg5SYWlkSW5m", "b05vdGlmeRIbCgZzdGF0dXMYCyABKA4yCy5SYWlkU3RhdHVzEikKEHJhaWRf", "dGFyZ2V0X2luZm8YCSADKAsyDy5SYWlkVGFyZ2V0SW5mbxIPCgdyYWlkX2lk", "GAMgASgNEhMKC3dvcmxkX2xldmVsGAEgASgNEhgKEHJhaWRfZmluaXNoX3Rp", "bWUYCCABKAQSHAoJaXRlbV9saXN0GAYgASgLMgkuSXRlbUxpc3RCHqoCG0Vn", "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RaidStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.RaidTargetInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RaidInfoNotify), global::EggLink.DanhengServer.Proto.RaidInfoNotify.Parser, new[]{ "Status", "RaidTargetInfo", "RaidId", "WorldLevel", "RaidFinishTime", "ItemList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RaidInfoNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RaidInfoNotify()); 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.RaidInfoNotifyReflection.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 RaidInfoNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RaidInfoNotify(RaidInfoNotify other) : this() { status_ = other.status_; raidTargetInfo_ = other.raidTargetInfo_.Clone(); raidId_ = other.raidId_; worldLevel_ = other.worldLevel_; raidFinishTime_ = other.raidFinishTime_; itemList_ = other.itemList_ != null ? other.itemList_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RaidInfoNotify Clone() { return new RaidInfoNotify(this); } /// Field number for the "status" field. public const int StatusFieldNumber = 11; private global::EggLink.DanhengServer.Proto.RaidStatus status_ = global::EggLink.DanhengServer.Proto.RaidStatus.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RaidStatus Status { get { return status_; } set { status_ = value; } } /// Field number for the "raid_target_info" field. public const int RaidTargetInfoFieldNumber = 9; private static readonly pb::FieldCodec _repeated_raidTargetInfo_codec = pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.RaidTargetInfo.Parser); private readonly pbc::RepeatedField raidTargetInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RaidTargetInfo { get { return raidTargetInfo_; } } /// Field number for the "raid_id" field. public const int RaidIdFieldNumber = 3; private uint raidId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RaidId { get { return raidId_; } set { raidId_ = value; } } /// Field number for the "world_level" field. public const int WorldLevelFieldNumber = 1; private uint worldLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint WorldLevel { get { return worldLevel_; } set { worldLevel_ = value; } } /// Field number for the "raid_finish_time" field. public const int RaidFinishTimeFieldNumber = 8; private ulong raidFinishTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong RaidFinishTime { get { return raidFinishTime_; } set { raidFinishTime_ = value; } } /// Field number for the "item_list" field. public const int ItemListFieldNumber = 6; private global::EggLink.DanhengServer.Proto.ItemList itemList_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ItemList ItemList { get { return itemList_; } set { itemList_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RaidInfoNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RaidInfoNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Status != other.Status) return false; if(!raidTargetInfo_.Equals(other.raidTargetInfo_)) return false; if (RaidId != other.RaidId) return false; if (WorldLevel != other.WorldLevel) return false; if (RaidFinishTime != other.RaidFinishTime) return false; if (!object.Equals(ItemList, other.ItemList)) 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 (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) hash ^= Status.GetHashCode(); hash ^= raidTargetInfo_.GetHashCode(); if (RaidId != 0) hash ^= RaidId.GetHashCode(); if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode(); if (RaidFinishTime != 0UL) hash ^= RaidFinishTime.GetHashCode(); if (itemList_ != null) hash ^= ItemList.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 (WorldLevel != 0) { output.WriteRawTag(8); output.WriteUInt32(WorldLevel); } if (RaidId != 0) { output.WriteRawTag(24); output.WriteUInt32(RaidId); } if (itemList_ != null) { output.WriteRawTag(50); output.WriteMessage(ItemList); } if (RaidFinishTime != 0UL) { output.WriteRawTag(64); output.WriteUInt64(RaidFinishTime); } raidTargetInfo_.WriteTo(output, _repeated_raidTargetInfo_codec); if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) { output.WriteRawTag(88); output.WriteEnum((int) Status); } 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 (WorldLevel != 0) { output.WriteRawTag(8); output.WriteUInt32(WorldLevel); } if (RaidId != 0) { output.WriteRawTag(24); output.WriteUInt32(RaidId); } if (itemList_ != null) { output.WriteRawTag(50); output.WriteMessage(ItemList); } if (RaidFinishTime != 0UL) { output.WriteRawTag(64); output.WriteUInt64(RaidFinishTime); } raidTargetInfo_.WriteTo(ref output, _repeated_raidTargetInfo_codec); if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) { output.WriteRawTag(88); output.WriteEnum((int) Status); } 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 (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); } size += raidTargetInfo_.CalculateSize(_repeated_raidTargetInfo_codec); if (RaidId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId); } if (WorldLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel); } if (RaidFinishTime != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RaidFinishTime); } if (itemList_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemList); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RaidInfoNotify other) { if (other == null) { return; } if (other.Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) { Status = other.Status; } raidTargetInfo_.Add(other.raidTargetInfo_); if (other.RaidId != 0) { RaidId = other.RaidId; } if (other.WorldLevel != 0) { WorldLevel = other.WorldLevel; } if (other.RaidFinishTime != 0UL) { RaidFinishTime = other.RaidFinishTime; } if (other.itemList_ != null) { if (itemList_ == null) { ItemList = new global::EggLink.DanhengServer.Proto.ItemList(); } ItemList.MergeFrom(other.ItemList); } _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: { WorldLevel = input.ReadUInt32(); break; } case 24: { RaidId = input.ReadUInt32(); break; } case 50: { if (itemList_ == null) { ItemList = new global::EggLink.DanhengServer.Proto.ItemList(); } input.ReadMessage(ItemList); break; } case 64: { RaidFinishTime = input.ReadUInt64(); break; } case 74: { raidTargetInfo_.AddEntriesFrom(input, _repeated_raidTargetInfo_codec); break; } case 88: { Status = (global::EggLink.DanhengServer.Proto.RaidStatus) input.ReadEnum(); 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: { WorldLevel = input.ReadUInt32(); break; } case 24: { RaidId = input.ReadUInt32(); break; } case 50: { if (itemList_ == null) { ItemList = new global::EggLink.DanhengServer.Proto.ItemList(); } input.ReadMessage(ItemList); break; } case 64: { RaidFinishTime = input.ReadUInt64(); break; } case 74: { raidTargetInfo_.AddEntriesFrom(ref input, _repeated_raidTargetInfo_codec); break; } case 88: { Status = (global::EggLink.DanhengServer.Proto.RaidStatus) input.ReadEnum(); break; } } } } #endif } #endregion } #endregion Designer generated code