// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SyncRogueCommonDialogueOptionFinishScNotify.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 SyncRogueCommonDialogueOptionFinishScNotify.proto public static partial class SyncRogueCommonDialogueOptionFinishScNotifyReflection { #region Descriptor /// File descriptor for SyncRogueCommonDialogueOptionFinishScNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SyncRogueCommonDialogueOptionFinishScNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjFTeW5jUm9ndWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5", "LnByb3RvGiFSb2d1ZUNvbW1vbkRpYWxvZ3VlRGF0YUluZm8ucHJvdG8aI1Jv", "Z3VlQ29tbW9uRGlhbG9ndWVPcHRpb25JbmZvLnByb3RvIsoBCitTeW5jUm9n", "dWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5EhcKD2V2ZW50", "X3VuaXF1ZV9pZBgGIAEoDRIRCglvcHRpb25faWQYCSABKA0SOgoScmVzdWx0", "X29wdGlvbl9pbmZvGAUgASgLMh4uUm9ndWVDb21tb25EaWFsb2d1ZU9wdGlv", "bkluZm8SMwoNZGlhbG9ndWVfZGF0YRgCIAEoCzIcLlJvZ3VlQ29tbW9uRGlh", "bG9ndWVEYXRhSW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv", "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify), global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify.Parser, new[]{ "EventUniqueId", "OptionId", "ResultOptionInfo", "DialogueData" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SyncRogueCommonDialogueOptionFinishScNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SyncRogueCommonDialogueOptionFinishScNotify()); 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.SyncRogueCommonDialogueOptionFinishScNotifyReflection.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 SyncRogueCommonDialogueOptionFinishScNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SyncRogueCommonDialogueOptionFinishScNotify(SyncRogueCommonDialogueOptionFinishScNotify other) : this() { eventUniqueId_ = other.eventUniqueId_; optionId_ = other.optionId_; resultOptionInfo_ = other.resultOptionInfo_ != null ? other.resultOptionInfo_.Clone() : null; dialogueData_ = other.dialogueData_ != null ? other.dialogueData_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SyncRogueCommonDialogueOptionFinishScNotify Clone() { return new SyncRogueCommonDialogueOptionFinishScNotify(this); } /// Field number for the "event_unique_id" field. public const int EventUniqueIdFieldNumber = 6; private uint eventUniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EventUniqueId { get { return eventUniqueId_; } set { eventUniqueId_ = value; } } /// Field number for the "option_id" field. public const int OptionIdFieldNumber = 9; private uint optionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint OptionId { get { return optionId_; } set { optionId_ = value; } } /// Field number for the "result_option_info" field. public const int ResultOptionInfoFieldNumber = 5; private global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo resultOptionInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo ResultOptionInfo { get { return resultOptionInfo_; } set { resultOptionInfo_ = value; } } /// Field number for the "dialogue_data" field. public const int DialogueDataFieldNumber = 2; private global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo dialogueData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo DialogueData { get { return dialogueData_; } set { dialogueData_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SyncRogueCommonDialogueOptionFinishScNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SyncRogueCommonDialogueOptionFinishScNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (EventUniqueId != other.EventUniqueId) return false; if (OptionId != other.OptionId) return false; if (!object.Equals(ResultOptionInfo, other.ResultOptionInfo)) return false; if (!object.Equals(DialogueData, other.DialogueData)) 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 (EventUniqueId != 0) hash ^= EventUniqueId.GetHashCode(); if (OptionId != 0) hash ^= OptionId.GetHashCode(); if (resultOptionInfo_ != null) hash ^= ResultOptionInfo.GetHashCode(); if (dialogueData_ != null) hash ^= DialogueData.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 (dialogueData_ != null) { output.WriteRawTag(18); output.WriteMessage(DialogueData); } if (resultOptionInfo_ != null) { output.WriteRawTag(42); output.WriteMessage(ResultOptionInfo); } if (EventUniqueId != 0) { output.WriteRawTag(48); output.WriteUInt32(EventUniqueId); } if (OptionId != 0) { output.WriteRawTag(72); output.WriteUInt32(OptionId); } 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 (dialogueData_ != null) { output.WriteRawTag(18); output.WriteMessage(DialogueData); } if (resultOptionInfo_ != null) { output.WriteRawTag(42); output.WriteMessage(ResultOptionInfo); } if (EventUniqueId != 0) { output.WriteRawTag(48); output.WriteUInt32(EventUniqueId); } if (OptionId != 0) { output.WriteRawTag(72); output.WriteUInt32(OptionId); } 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 (EventUniqueId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId); } if (OptionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId); } if (resultOptionInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResultOptionInfo); } if (dialogueData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueData); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SyncRogueCommonDialogueOptionFinishScNotify other) { if (other == null) { return; } if (other.EventUniqueId != 0) { EventUniqueId = other.EventUniqueId; } if (other.OptionId != 0) { OptionId = other.OptionId; } if (other.resultOptionInfo_ != null) { if (resultOptionInfo_ == null) { ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo(); } ResultOptionInfo.MergeFrom(other.ResultOptionInfo); } if (other.dialogueData_ != null) { if (dialogueData_ == null) { DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo(); } DialogueData.MergeFrom(other.DialogueData); } _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 18: { if (dialogueData_ == null) { DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo(); } input.ReadMessage(DialogueData); break; } case 42: { if (resultOptionInfo_ == null) { ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo(); } input.ReadMessage(ResultOptionInfo); break; } case 48: { EventUniqueId = input.ReadUInt32(); break; } case 72: { OptionId = input.ReadUInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 18: { if (dialogueData_ == null) { DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo(); } input.ReadMessage(DialogueData); break; } case 42: { if (resultOptionInfo_ == null) { ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo(); } input.ReadMessage(ResultOptionInfo); break; } case 48: { EventUniqueId = input.ReadUInt32(); break; } case 72: { OptionId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code