KafkaSR/RPG.Network.Proto/CsDialogue.cs

1675 lines
63 KiB
C#
Raw Normal View History

2024-01-29 23:49:21 +00:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.dialogue.proto
// </auto-generated>
#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 RPG.Network.Proto {
/// <summary>Holder for reflection information generated from cs.dialogue.proto</summary>
public static partial class CsDialogueReflection {
#region Descriptor
/// <summary>File descriptor for cs.dialogue.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsDialogueReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFjcy5kaWFsb2d1ZS5wcm90bxIFcHJvdG8aD2NzLmNvbW1vbi5wcm90bxoO",
"Y3Mucm9ndWUucHJvdG8icAoNRGlhbG9ndWVFdmVudBIqChFkaWFsb2d1ZV9n",
"cm91cF9pZBgBIAEoDVIPZGlhbG9ndWVHcm91cElkEjMKFmRpYWxvZ3VlX2V2",
"ZW50X2lkX2xpc3QYAiADKA1SE2RpYWxvZ3VlRXZlbnRJZExpc3QilgEKEkRp",
"YWxvZ3VlUmVzdWx0SW5mbxIyCgtpdGVtX3Jlc3VsdBgBIAEoCzIPLnByb3Rv",
"Lkl0ZW1MaXN0SABSCml0ZW1SZXN1bHQSQgoRcm9ndWVfYnVmZl9yZXN1bHQY",
"AiABKAsyFC5wcm90by5Sb2d1ZUJ1ZmZMaXN0SABSD3JvZ3VlQnVmZlJlc3Vs",
"dEIICgZyZXN1bHQiGwoZR2V0RGlhbG9ndWVFdmVudERhdGFDc1JlcSJ7ChlH",
"ZXREaWFsb2d1ZUV2ZW50RGF0YVNjUnNwEhgKB3JldGNvZGUYASABKA1SB3Jl",
"dGNvZGUSRAoTZGlhbG9ndWVfZXZlbnRfbGlzdBgCIAMoCzIULnByb3RvLkRp",
"YWxvZ3VlRXZlbnRSEWRpYWxvZ3VlRXZlbnRMaXN0InIKGFNlbGVjdERpYWxv",
"Z3VlRXZlbnRDc1JlcRIqChFkaWFsb2d1ZV9ncm91cF9pZBgBIAEoDVIPZGlh",
"bG9ndWVHcm91cElkEioKEWRpYWxvZ3VlX2V2ZW50X2lkGAIgASgNUg9kaWFs",
"b2d1ZUV2ZW50SWQiyAEKGFNlbGVjdERpYWxvZ3VlRXZlbnRTY1JzcBIYCgdy",
"ZXRjb2RlGAEgASgNUgdyZXRjb2RlEioKEWRpYWxvZ3VlX2dyb3VwX2lkGAIg",
"ASgNUg9kaWFsb2d1ZUdyb3VwSWQSKgoRZGlhbG9ndWVfZXZlbnRfaWQYAyAB",
"KA1SD2RpYWxvZ3VlRXZlbnRJZBI6CgtyZXN1bHRfaW5mbxgEIAEoCzIZLnBy",
"b3RvLkRpYWxvZ3VlUmVzdWx0SW5mb1IKcmVzdWx0SW5mbyJlCh1TeW5jRGlh",
"bG9ndWVFdmVudERhdGFTY05vdGlmeRJEChNkaWFsb2d1ZV9ldmVudF9saXN0",
"GAEgAygLMhQucHJvdG8uRGlhbG9ndWVFdmVudFIRZGlhbG9ndWVFdmVudExp",
"c3Qq2wEKD0NtZERpYWxvZ3VlVHlwZRIXChNDbWREaWFsb2d1ZVR5cGVOb25l",
"EAASIQocQ21kR2V0RGlhbG9ndWVFdmVudERhdGFDc1JlcRDhEhIhChxDbWRH",
"ZXREaWFsb2d1ZUV2ZW50RGF0YVNjUnNwEOISEiAKG0NtZFNlbGVjdERpYWxv",
"Z3VlRXZlbnRDc1JlcRDjEhIgChtDbWRTZWxlY3REaWFsb2d1ZUV2ZW50U2NS",
"c3AQ5BISJQogQ21kU3luY0RpYWxvZ3VlRXZlbnREYXRhU2NOb3RpZnkQ5RJi",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, global::RPG.Network.Proto.CsRogueReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdDialogueType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DialogueEvent), global::RPG.Network.Proto.DialogueEvent.Parser, new[]{ "DialogueGroupId", "DialogueEventIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DialogueResultInfo), global::RPG.Network.Proto.DialogueResultInfo.Parser, new[]{ "ItemResult", "RogueBuffResult" }, new[]{ "Result" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetDialogueEventDataCsReq), global::RPG.Network.Proto.GetDialogueEventDataCsReq.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetDialogueEventDataScRsp), global::RPG.Network.Proto.GetDialogueEventDataScRsp.Parser, new[]{ "Retcode", "DialogueEventList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SelectDialogueEventCsReq), global::RPG.Network.Proto.SelectDialogueEventCsReq.Parser, new[]{ "DialogueGroupId", "DialogueEventId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SelectDialogueEventScRsp), global::RPG.Network.Proto.SelectDialogueEventScRsp.Parser, new[]{ "Retcode", "DialogueGroupId", "DialogueEventId", "ResultInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.SyncDialogueEventDataScNotify), global::RPG.Network.Proto.SyncDialogueEventDataScNotify.Parser, new[]{ "DialogueEventList" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdDialogueType {
[pbr::OriginalName("CmdDialogueTypeNone")] None = 0,
[pbr::OriginalName("CmdGetDialogueEventDataCsReq")] CmdGetDialogueEventDataCsReq = 2401,
[pbr::OriginalName("CmdGetDialogueEventDataScRsp")] CmdGetDialogueEventDataScRsp = 2402,
[pbr::OriginalName("CmdSelectDialogueEventCsReq")] CmdSelectDialogueEventCsReq = 2403,
[pbr::OriginalName("CmdSelectDialogueEventScRsp")] CmdSelectDialogueEventScRsp = 2404,
[pbr::OriginalName("CmdSyncDialogueEventDataScNotify")] CmdSyncDialogueEventDataScNotify = 2405,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DialogueEvent : pb::IMessage<DialogueEvent>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DialogueEvent> _parser = new pb::MessageParser<DialogueEvent>(() => new DialogueEvent());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DialogueEvent> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.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 DialogueEvent() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DialogueEvent(DialogueEvent other) : this() {
dialogueGroupId_ = other.dialogueGroupId_;
dialogueEventIdList_ = other.dialogueEventIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DialogueEvent Clone() {
return new DialogueEvent(this);
}
/// <summary>Field number for the "dialogue_group_id" field.</summary>
public const int DialogueGroupIdFieldNumber = 1;
private uint dialogueGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DialogueGroupId {
get { return dialogueGroupId_; }
set {
dialogueGroupId_ = value;
}
}
/// <summary>Field number for the "dialogue_event_id_list" field.</summary>
public const int DialogueEventIdListFieldNumber = 2;
private static readonly pb::FieldCodec<uint> _repeated_dialogueEventIdList_codec
= pb::FieldCodec.ForUInt32(18);
private readonly pbc::RepeatedField<uint> dialogueEventIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DialogueEventIdList {
get { return dialogueEventIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DialogueEvent);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DialogueEvent other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DialogueGroupId != other.DialogueGroupId) return false;
if(!dialogueEventIdList_.Equals(other.dialogueEventIdList_)) 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 (DialogueGroupId != 0) hash ^= DialogueGroupId.GetHashCode();
hash ^= dialogueEventIdList_.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 (DialogueGroupId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(DialogueGroupId);
}
dialogueEventIdList_.WriteTo(output, _repeated_dialogueEventIdList_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 (DialogueGroupId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(DialogueGroupId);
}
dialogueEventIdList_.WriteTo(ref output, _repeated_dialogueEventIdList_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 (DialogueGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DialogueGroupId);
}
size += dialogueEventIdList_.CalculateSize(_repeated_dialogueEventIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DialogueEvent other) {
if (other == null) {
return;
}
if (other.DialogueGroupId != 0) {
DialogueGroupId = other.DialogueGroupId;
}
dialogueEventIdList_.Add(other.dialogueEventIdList_);
_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: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 18:
case 16: {
dialogueEventIdList_.AddEntriesFrom(input, _repeated_dialogueEventIdList_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: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 18:
case 16: {
dialogueEventIdList_.AddEntriesFrom(ref input, _repeated_dialogueEventIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DialogueResultInfo : pb::IMessage<DialogueResultInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DialogueResultInfo> _parser = new pb::MessageParser<DialogueResultInfo>(() => new DialogueResultInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DialogueResultInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.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 DialogueResultInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DialogueResultInfo(DialogueResultInfo other) : this() {
switch (other.ResultCase) {
case ResultOneofCase.ItemResult:
ItemResult = other.ItemResult.Clone();
break;
case ResultOneofCase.RogueBuffResult:
RogueBuffResult = other.RogueBuffResult.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DialogueResultInfo Clone() {
return new DialogueResultInfo(this);
}
/// <summary>Field number for the "item_result" field.</summary>
public const int ItemResultFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList ItemResult {
get { return resultCase_ == ResultOneofCase.ItemResult ? (global::RPG.Network.Proto.ItemList) result_ : null; }
set {
result_ = value;
resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.ItemResult;
}
}
/// <summary>Field number for the "rogue_buff_result" field.</summary>
public const int RogueBuffResultFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.RogueBuffList RogueBuffResult {
get { return resultCase_ == ResultOneofCase.RogueBuffResult ? (global::RPG.Network.Proto.RogueBuffList) result_ : null; }
set {
result_ = value;
resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.RogueBuffResult;
}
}
private object result_;
/// <summary>Enum of possible cases for the "result" oneof.</summary>
public enum ResultOneofCase {
None = 0,
ItemResult = 1,
RogueBuffResult = 2,
}
private ResultOneofCase resultCase_ = ResultOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ResultOneofCase ResultCase {
get { return resultCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearResult() {
resultCase_ = ResultOneofCase.None;
result_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DialogueResultInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DialogueResultInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(ItemResult, other.ItemResult)) return false;
if (!object.Equals(RogueBuffResult, other.RogueBuffResult)) return false;
if (ResultCase != other.ResultCase) 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 (resultCase_ == ResultOneofCase.ItemResult) hash ^= ItemResult.GetHashCode();
if (resultCase_ == ResultOneofCase.RogueBuffResult) hash ^= RogueBuffResult.GetHashCode();
hash ^= (int) resultCase_;
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 (resultCase_ == ResultOneofCase.ItemResult) {
output.WriteRawTag(10);
output.WriteMessage(ItemResult);
}
if (resultCase_ == ResultOneofCase.RogueBuffResult) {
output.WriteRawTag(18);
output.WriteMessage(RogueBuffResult);
}
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 (resultCase_ == ResultOneofCase.ItemResult) {
output.WriteRawTag(10);
output.WriteMessage(ItemResult);
}
if (resultCase_ == ResultOneofCase.RogueBuffResult) {
output.WriteRawTag(18);
output.WriteMessage(RogueBuffResult);
}
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 (resultCase_ == ResultOneofCase.ItemResult) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemResult);
}
if (resultCase_ == ResultOneofCase.RogueBuffResult) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueBuffResult);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DialogueResultInfo other) {
if (other == null) {
return;
}
switch (other.ResultCase) {
case ResultOneofCase.ItemResult:
if (ItemResult == null) {
ItemResult = new global::RPG.Network.Proto.ItemList();
}
ItemResult.MergeFrom(other.ItemResult);
break;
case ResultOneofCase.RogueBuffResult:
if (RogueBuffResult == null) {
RogueBuffResult = new global::RPG.Network.Proto.RogueBuffList();
}
RogueBuffResult.MergeFrom(other.RogueBuffResult);
break;
}
_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 10: {
global::RPG.Network.Proto.ItemList subBuilder = new global::RPG.Network.Proto.ItemList();
if (resultCase_ == ResultOneofCase.ItemResult) {
subBuilder.MergeFrom(ItemResult);
}
input.ReadMessage(subBuilder);
ItemResult = subBuilder;
break;
}
case 18: {
global::RPG.Network.Proto.RogueBuffList subBuilder = new global::RPG.Network.Proto.RogueBuffList();
if (resultCase_ == ResultOneofCase.RogueBuffResult) {
subBuilder.MergeFrom(RogueBuffResult);
}
input.ReadMessage(subBuilder);
RogueBuffResult = subBuilder;
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 10: {
global::RPG.Network.Proto.ItemList subBuilder = new global::RPG.Network.Proto.ItemList();
if (resultCase_ == ResultOneofCase.ItemResult) {
subBuilder.MergeFrom(ItemResult);
}
input.ReadMessage(subBuilder);
ItemResult = subBuilder;
break;
}
case 18: {
global::RPG.Network.Proto.RogueBuffList subBuilder = new global::RPG.Network.Proto.RogueBuffList();
if (resultCase_ == ResultOneofCase.RogueBuffResult) {
subBuilder.MergeFrom(RogueBuffResult);
}
input.ReadMessage(subBuilder);
RogueBuffResult = subBuilder;
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetDialogueEventDataCsReq : pb::IMessage<GetDialogueEventDataCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetDialogueEventDataCsReq> _parser = new pb::MessageParser<GetDialogueEventDataCsReq>(() => new GetDialogueEventDataCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetDialogueEventDataCsReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.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 GetDialogueEventDataCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetDialogueEventDataCsReq(GetDialogueEventDataCsReq other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetDialogueEventDataCsReq Clone() {
return new GetDialogueEventDataCsReq(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetDialogueEventDataCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetDialogueEventDataCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetDialogueEventDataCsReq other) {
if (other == null) {
return;
}
_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;
}
}
#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;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetDialogueEventDataScRsp : pb::IMessage<GetDialogueEventDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetDialogueEventDataScRsp> _parser = new pb::MessageParser<GetDialogueEventDataScRsp>(() => new GetDialogueEventDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetDialogueEventDataScRsp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.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 GetDialogueEventDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetDialogueEventDataScRsp(GetDialogueEventDataScRsp other) : this() {
retcode_ = other.retcode_;
dialogueEventList_ = other.dialogueEventList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetDialogueEventDataScRsp Clone() {
return new GetDialogueEventDataScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 1;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "dialogue_event_list" field.</summary>
public const int DialogueEventListFieldNumber = 2;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.DialogueEvent> _repeated_dialogueEventList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.DialogueEvent.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent> dialogueEventList_ = new pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent> DialogueEventList {
get { return dialogueEventList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetDialogueEventDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetDialogueEventDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!dialogueEventList_.Equals(other.dialogueEventList_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= dialogueEventList_.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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
dialogueEventList_.WriteTo(output, _repeated_dialogueEventList_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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
dialogueEventList_.WriteTo(ref output, _repeated_dialogueEventList_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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += dialogueEventList_.CalculateSize(_repeated_dialogueEventList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetDialogueEventDataScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
dialogueEventList_.Add(other.dialogueEventList_);
_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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
dialogueEventList_.AddEntriesFrom(input, _repeated_dialogueEventList_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: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
dialogueEventList_.AddEntriesFrom(ref input, _repeated_dialogueEventList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectDialogueEventCsReq : pb::IMessage<SelectDialogueEventCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectDialogueEventCsReq> _parser = new pb::MessageParser<SelectDialogueEventCsReq>(() => new SelectDialogueEventCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectDialogueEventCsReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.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 SelectDialogueEventCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectDialogueEventCsReq(SelectDialogueEventCsReq other) : this() {
dialogueGroupId_ = other.dialogueGroupId_;
dialogueEventId_ = other.dialogueEventId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectDialogueEventCsReq Clone() {
return new SelectDialogueEventCsReq(this);
}
/// <summary>Field number for the "dialogue_group_id" field.</summary>
public const int DialogueGroupIdFieldNumber = 1;
private uint dialogueGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DialogueGroupId {
get { return dialogueGroupId_; }
set {
dialogueGroupId_ = value;
}
}
/// <summary>Field number for the "dialogue_event_id" field.</summary>
public const int DialogueEventIdFieldNumber = 2;
private uint dialogueEventId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DialogueEventId {
get { return dialogueEventId_; }
set {
dialogueEventId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectDialogueEventCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectDialogueEventCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DialogueGroupId != other.DialogueGroupId) return false;
if (DialogueEventId != other.DialogueEventId) 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 (DialogueGroupId != 0) hash ^= DialogueGroupId.GetHashCode();
if (DialogueEventId != 0) hash ^= DialogueEventId.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 (DialogueGroupId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(DialogueGroupId);
}
if (DialogueEventId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DialogueEventId);
}
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 (DialogueGroupId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(DialogueGroupId);
}
if (DialogueEventId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DialogueEventId);
}
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 (DialogueGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DialogueGroupId);
}
if (DialogueEventId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DialogueEventId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectDialogueEventCsReq other) {
if (other == null) {
return;
}
if (other.DialogueGroupId != 0) {
DialogueGroupId = other.DialogueGroupId;
}
if (other.DialogueEventId != 0) {
DialogueEventId = other.DialogueEventId;
}
_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: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 16: {
DialogueEventId = 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 8: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 16: {
DialogueEventId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectDialogueEventScRsp : pb::IMessage<SelectDialogueEventScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectDialogueEventScRsp> _parser = new pb::MessageParser<SelectDialogueEventScRsp>(() => new SelectDialogueEventScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectDialogueEventScRsp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.Descriptor.MessageTypes[5]; }
}
[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 SelectDialogueEventScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectDialogueEventScRsp(SelectDialogueEventScRsp other) : this() {
retcode_ = other.retcode_;
dialogueGroupId_ = other.dialogueGroupId_;
dialogueEventId_ = other.dialogueEventId_;
resultInfo_ = other.resultInfo_ != null ? other.resultInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectDialogueEventScRsp Clone() {
return new SelectDialogueEventScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 1;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "dialogue_group_id" field.</summary>
public const int DialogueGroupIdFieldNumber = 2;
private uint dialogueGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DialogueGroupId {
get { return dialogueGroupId_; }
set {
dialogueGroupId_ = value;
}
}
/// <summary>Field number for the "dialogue_event_id" field.</summary>
public const int DialogueEventIdFieldNumber = 3;
private uint dialogueEventId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DialogueEventId {
get { return dialogueEventId_; }
set {
dialogueEventId_ = value;
}
}
/// <summary>Field number for the "result_info" field.</summary>
public const int ResultInfoFieldNumber = 4;
private global::RPG.Network.Proto.DialogueResultInfo resultInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.DialogueResultInfo ResultInfo {
get { return resultInfo_; }
set {
resultInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectDialogueEventScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectDialogueEventScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (DialogueGroupId != other.DialogueGroupId) return false;
if (DialogueEventId != other.DialogueEventId) return false;
if (!object.Equals(ResultInfo, other.ResultInfo)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (DialogueGroupId != 0) hash ^= DialogueGroupId.GetHashCode();
if (DialogueEventId != 0) hash ^= DialogueEventId.GetHashCode();
if (resultInfo_ != null) hash ^= ResultInfo.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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
if (DialogueGroupId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DialogueGroupId);
}
if (DialogueEventId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DialogueEventId);
}
if (resultInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ResultInfo);
}
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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
if (DialogueGroupId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DialogueGroupId);
}
if (DialogueEventId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DialogueEventId);
}
if (resultInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ResultInfo);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (DialogueGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DialogueGroupId);
}
if (DialogueEventId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DialogueEventId);
}
if (resultInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResultInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectDialogueEventScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.DialogueGroupId != 0) {
DialogueGroupId = other.DialogueGroupId;
}
if (other.DialogueEventId != 0) {
DialogueEventId = other.DialogueEventId;
}
if (other.resultInfo_ != null) {
if (resultInfo_ == null) {
ResultInfo = new global::RPG.Network.Proto.DialogueResultInfo();
}
ResultInfo.MergeFrom(other.ResultInfo);
}
_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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 24: {
DialogueEventId = input.ReadUInt32();
break;
}
case 34: {
if (resultInfo_ == null) {
ResultInfo = new global::RPG.Network.Proto.DialogueResultInfo();
}
input.ReadMessage(ResultInfo);
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: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
DialogueGroupId = input.ReadUInt32();
break;
}
case 24: {
DialogueEventId = input.ReadUInt32();
break;
}
case 34: {
if (resultInfo_ == null) {
ResultInfo = new global::RPG.Network.Proto.DialogueResultInfo();
}
input.ReadMessage(ResultInfo);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SyncDialogueEventDataScNotify : pb::IMessage<SyncDialogueEventDataScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SyncDialogueEventDataScNotify> _parser = new pb::MessageParser<SyncDialogueEventDataScNotify>(() => new SyncDialogueEventDataScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SyncDialogueEventDataScNotify> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsDialogueReflection.Descriptor.MessageTypes[6]; }
}
[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 SyncDialogueEventDataScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SyncDialogueEventDataScNotify(SyncDialogueEventDataScNotify other) : this() {
dialogueEventList_ = other.dialogueEventList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SyncDialogueEventDataScNotify Clone() {
return new SyncDialogueEventDataScNotify(this);
}
/// <summary>Field number for the "dialogue_event_list" field.</summary>
public const int DialogueEventListFieldNumber = 1;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.DialogueEvent> _repeated_dialogueEventList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.DialogueEvent.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent> dialogueEventList_ = new pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.DialogueEvent> DialogueEventList {
get { return dialogueEventList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SyncDialogueEventDataScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SyncDialogueEventDataScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!dialogueEventList_.Equals(other.dialogueEventList_)) 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;
hash ^= dialogueEventList_.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
dialogueEventList_.WriteTo(output, _repeated_dialogueEventList_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) {
dialogueEventList_.WriteTo(ref output, _repeated_dialogueEventList_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;
size += dialogueEventList_.CalculateSize(_repeated_dialogueEventList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SyncDialogueEventDataScNotify other) {
if (other == null) {
return;
}
dialogueEventList_.Add(other.dialogueEventList_);
_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 10: {
dialogueEventList_.AddEntriesFrom(input, _repeated_dialogueEventList_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 10: {
dialogueEventList_.AddEntriesFrom(ref input, _repeated_dialogueEventList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code