// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueCommonDialogueOptionInfo.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 RogueCommonDialogueOptionInfo.proto public static partial class RogueCommonDialogueOptionInfoReflection { #region Descriptor /// File descriptor for RogueCommonDialogueOptionInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueCommonDialogueOptionInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNSb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uSW5mby5wcm90bxoqUm9ndWVD", "b21tb25EaWFsb2d1ZU9wdGlvbkRpc3BsYXlJbmZvLnByb3RvGilSb2d1ZUNv", "bW1vbkRpYWxvZ3VlT3B0aW9uUmVzdWx0SW5mby5wcm90byLlAQodUm9ndWVD", "b21tb25EaWFsb2d1ZU9wdGlvbkluZm8SDgoGYXJnX2lkGAUgASgNEhEKCW9w", "dGlvbl9pZBgCIAEoDRIPCgdjb25maXJtGAwgASgIEkAKEm9wdGlvbl9yZXN1", "bHRfaW5mbxgIIAMoCzIkLlJvZ3VlQ29tbW9uRGlhbG9ndWVPcHRpb25SZXN1", "bHRJbmZvEjwKDWRpc3BsYXlfdmFsdWUYDiABKAsyJS5Sb2d1ZUNvbW1vbkRp", "YWxvZ3VlT3B0aW9uRGlzcGxheUluZm8SEAoIaXNfdmFsaWQYBiABKAhCHqoC", "G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo), global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo.Parser, new[]{ "ArgId", "OptionId", "Confirm", "OptionResultInfo", "DisplayValue", "IsValid" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueCommonDialogueOptionInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueCommonDialogueOptionInfo()); 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.RogueCommonDialogueOptionInfoReflection.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 RogueCommonDialogueOptionInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueCommonDialogueOptionInfo(RogueCommonDialogueOptionInfo other) : this() { argId_ = other.argId_; optionId_ = other.optionId_; confirm_ = other.confirm_; optionResultInfo_ = other.optionResultInfo_.Clone(); displayValue_ = other.displayValue_ != null ? other.displayValue_.Clone() : null; isValid_ = other.isValid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueCommonDialogueOptionInfo Clone() { return new RogueCommonDialogueOptionInfo(this); } /// Field number for the "arg_id" field. public const int ArgIdFieldNumber = 5; private uint argId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ArgId { get { return argId_; } set { argId_ = value; } } /// Field number for the "option_id" field. public const int OptionIdFieldNumber = 2; 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 "confirm" field. public const int ConfirmFieldNumber = 12; private bool confirm_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Confirm { get { return confirm_; } set { confirm_ = value; } } /// Field number for the "option_result_info" field. public const int OptionResultInfoFieldNumber = 8; private static readonly pb::FieldCodec _repeated_optionResultInfo_codec = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo.Parser); private readonly pbc::RepeatedField optionResultInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField OptionResultInfo { get { return optionResultInfo_; } } /// Field number for the "display_value" field. public const int DisplayValueFieldNumber = 14; private global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo displayValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo DisplayValue { get { return displayValue_; } set { displayValue_ = value; } } /// Field number for the "is_valid" field. public const int IsValidFieldNumber = 6; private bool isValid_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsValid { get { return isValid_; } set { isValid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueCommonDialogueOptionInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueCommonDialogueOptionInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ArgId != other.ArgId) return false; if (OptionId != other.OptionId) return false; if (Confirm != other.Confirm) return false; if(!optionResultInfo_.Equals(other.optionResultInfo_)) return false; if (!object.Equals(DisplayValue, other.DisplayValue)) return false; if (IsValid != other.IsValid) 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 (ArgId != 0) hash ^= ArgId.GetHashCode(); if (OptionId != 0) hash ^= OptionId.GetHashCode(); if (Confirm != false) hash ^= Confirm.GetHashCode(); hash ^= optionResultInfo_.GetHashCode(); if (displayValue_ != null) hash ^= DisplayValue.GetHashCode(); if (IsValid != false) hash ^= IsValid.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 (OptionId != 0) { output.WriteRawTag(16); output.WriteUInt32(OptionId); } if (ArgId != 0) { output.WriteRawTag(40); output.WriteUInt32(ArgId); } if (IsValid != false) { output.WriteRawTag(48); output.WriteBool(IsValid); } optionResultInfo_.WriteTo(output, _repeated_optionResultInfo_codec); if (Confirm != false) { output.WriteRawTag(96); output.WriteBool(Confirm); } if (displayValue_ != null) { output.WriteRawTag(114); output.WriteMessage(DisplayValue); } 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 (OptionId != 0) { output.WriteRawTag(16); output.WriteUInt32(OptionId); } if (ArgId != 0) { output.WriteRawTag(40); output.WriteUInt32(ArgId); } if (IsValid != false) { output.WriteRawTag(48); output.WriteBool(IsValid); } optionResultInfo_.WriteTo(ref output, _repeated_optionResultInfo_codec); if (Confirm != false) { output.WriteRawTag(96); output.WriteBool(Confirm); } if (displayValue_ != null) { output.WriteRawTag(114); output.WriteMessage(DisplayValue); } 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 (ArgId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ArgId); } if (OptionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId); } if (Confirm != false) { size += 1 + 1; } size += optionResultInfo_.CalculateSize(_repeated_optionResultInfo_codec); if (displayValue_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayValue); } if (IsValid != 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(RogueCommonDialogueOptionInfo other) { if (other == null) { return; } if (other.ArgId != 0) { ArgId = other.ArgId; } if (other.OptionId != 0) { OptionId = other.OptionId; } if (other.Confirm != false) { Confirm = other.Confirm; } optionResultInfo_.Add(other.optionResultInfo_); if (other.displayValue_ != null) { if (displayValue_ == null) { DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo(); } DisplayValue.MergeFrom(other.DisplayValue); } if (other.IsValid != false) { IsValid = other.IsValid; } _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 16: { OptionId = input.ReadUInt32(); break; } case 40: { ArgId = input.ReadUInt32(); break; } case 48: { IsValid = input.ReadBool(); break; } case 66: { optionResultInfo_.AddEntriesFrom(input, _repeated_optionResultInfo_codec); break; } case 96: { Confirm = input.ReadBool(); break; } case 114: { if (displayValue_ == null) { DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo(); } input.ReadMessage(DisplayValue); 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 16: { OptionId = input.ReadUInt32(); break; } case 40: { ArgId = input.ReadUInt32(); break; } case 48: { IsValid = input.ReadBool(); break; } case 66: { optionResultInfo_.AddEntriesFrom(ref input, _repeated_optionResultInfo_codec); break; } case 96: { Confirm = input.ReadBool(); break; } case 114: { if (displayValue_ == null) { DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo(); } input.ReadMessage(DisplayValue); break; } } } } #endif } #endregion } #endregion Designer generated code