// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SyncRogueCommonActionResultScNotify.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 SyncRogueCommonActionResultScNotify.proto public static partial class SyncRogueCommonActionResultScNotifyReflection { #region Descriptor /// File descriptor for SyncRogueCommonActionResultScNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SyncRogueCommonActionResultScNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CilTeW5jUm9ndWVDb21tb25BY3Rpb25SZXN1bHRTY05vdGlmeS5wcm90bxoo", "Um9ndWVDb21tb25BY3Rpb25SZXN1bHREaXNwbGF5VHlwZS5wcm90bxodUm9n", "dWVDb21tb25BY3Rpb25SZXN1bHQucHJvdG8irgEKI1N5bmNSb2d1ZUNvbW1v", "bkFjdGlvblJlc3VsdFNjTm90aWZ5EhYKDnJvZ3VlX3N1Yl9tb2RlGAQgASgN", "EjkKDGRpc3BsYXlfdHlwZRgMIAEoDjIjLlJvZ3VlQ29tbW9uQWN0aW9uUmVz", "dWx0RGlzcGxheVR5cGUSNAoSYWN0aW9uX3Jlc3VsdF9saXN0GAMgAygLMhgu", "Um9ndWVDb21tb25BY3Rpb25SZXN1bHRCHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl", "cnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonActionResultReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncRogueCommonActionResultScNotify), global::EggLink.DanhengServer.Proto.SyncRogueCommonActionResultScNotify.Parser, new[]{ "RogueSubMode", "DisplayType", "ActionResultList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SyncRogueCommonActionResultScNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SyncRogueCommonActionResultScNotify()); 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.SyncRogueCommonActionResultScNotifyReflection.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 SyncRogueCommonActionResultScNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SyncRogueCommonActionResultScNotify(SyncRogueCommonActionResultScNotify other) : this() { rogueSubMode_ = other.rogueSubMode_; displayType_ = other.displayType_; actionResultList_ = other.actionResultList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SyncRogueCommonActionResultScNotify Clone() { return new SyncRogueCommonActionResultScNotify(this); } /// Field number for the "rogue_sub_mode" field. public const int RogueSubModeFieldNumber = 4; private uint rogueSubMode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RogueSubMode { get { return rogueSubMode_; } set { rogueSubMode_ = value; } } /// Field number for the "display_type" field. public const int DisplayTypeFieldNumber = 12; private global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType displayType_ = global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType DisplayType { get { return displayType_; } set { displayType_ = value; } } /// Field number for the "action_result_list" field. public const int ActionResultListFieldNumber = 3; private static readonly pb::FieldCodec _repeated_actionResultList_codec = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.RogueCommonActionResult.Parser); private readonly pbc::RepeatedField actionResultList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ActionResultList { get { return actionResultList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SyncRogueCommonActionResultScNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SyncRogueCommonActionResultScNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RogueSubMode != other.RogueSubMode) return false; if (DisplayType != other.DisplayType) return false; if(!actionResultList_.Equals(other.actionResultList_)) 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 (RogueSubMode != 0) hash ^= RogueSubMode.GetHashCode(); if (DisplayType != global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None) hash ^= DisplayType.GetHashCode(); hash ^= actionResultList_.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 actionResultList_.WriteTo(output, _repeated_actionResultList_codec); if (RogueSubMode != 0) { output.WriteRawTag(32); output.WriteUInt32(RogueSubMode); } if (DisplayType != global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None) { output.WriteRawTag(96); output.WriteEnum((int) DisplayType); } 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) { actionResultList_.WriteTo(ref output, _repeated_actionResultList_codec); if (RogueSubMode != 0) { output.WriteRawTag(32); output.WriteUInt32(RogueSubMode); } if (DisplayType != global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None) { output.WriteRawTag(96); output.WriteEnum((int) DisplayType); } 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 (RogueSubMode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RogueSubMode); } if (DisplayType != global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DisplayType); } size += actionResultList_.CalculateSize(_repeated_actionResultList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SyncRogueCommonActionResultScNotify other) { if (other == null) { return; } if (other.RogueSubMode != 0) { RogueSubMode = other.RogueSubMode; } if (other.DisplayType != global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType.None) { DisplayType = other.DisplayType; } actionResultList_.Add(other.actionResultList_); _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 26: { actionResultList_.AddEntriesFrom(input, _repeated_actionResultList_codec); break; } case 32: { RogueSubMode = input.ReadUInt32(); break; } case 96: { DisplayType = (global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType) 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 26: { actionResultList_.AddEntriesFrom(ref input, _repeated_actionResultList_codec); break; } case 32: { RogueSubMode = input.ReadUInt32(); break; } case 96: { DisplayType = (global::EggLink.DanhengServer.Proto.RogueCommonActionResultDisplayType) input.ReadEnum(); break; } } } } #endif } #endregion } #endregion Designer generated code