KafkaSR/RPG.Network.Proto/CsQuest.cs
2024-01-30 02:49:21 +03:00

1720 lines
64 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.quest.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.quest.proto</summary>
public static partial class CsQuestReflection {
#region Descriptor
/// <summary>File descriptor for cs.quest.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsQuestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5jcy5xdWVzdC5wcm90bxIFcHJvdG8aD2NzLmNvbW1vbi5wcm90byITChFH",
"ZXRRdWVzdERhdGFDc1JlcSKAAQoFUXVlc3QSDgoCaWQYASABKA1SAmlkEioK",
"BnN0YXR1cxgCIAEoDjISLnByb3RvLlF1ZXN0U3RhdHVzUgZzdGF0dXMSGgoI",
"cHJvZ3Jlc3MYAyABKA1SCHByb2dyZXNzEh8KC2ZpbmlzaF90aW1lGAQgASgN",
"UgpmaW5pc2hUaW1lIs8BChFHZXRRdWVzdERhdGFTY1JzcBIYCgdyZXRjb2Rl",
"GAEgASgNUgdyZXRjb2RlEisKCnF1ZXN0X2xpc3QYAiADKAsyDC5wcm90by5R",
"dWVzdFIJcXVlc3RMaXN0EjIKFXRvdGFsX2FjaGlldmVtZW50X2V4cBgDIAEo",
"DVITdG90YWxBY2hpZXZlbWVudEV4cBI/Chx0YWtlbl9hY2hpZXZlbWVudF9s",
"ZXZlbF9saXN0GAQgAygNUhl0YWtlbkFjaGlldmVtZW50TGV2ZWxMaXN0IjoK",
"FFRha2VRdWVzdFJld2FyZENzUmVxEiIKDXF1ZXN0X2lkX2xpc3QYASADKA1S",
"C3F1ZXN0SWRMaXN0IoYBChRUYWtlUXVlc3RSZXdhcmRTY1JzcBIYCgdyZXRj",
"b2RlGAEgASgNUgdyZXRjb2RlEicKBnJld2FyZBgCIAEoCzIPLnByb3RvLkl0",
"ZW1MaXN0UgZyZXdhcmQSKwoSc3VjY19xdWVzdF9pZF9saXN0GAMgAygNUg9z",
"dWNjUXVlc3RJZExpc3QiVwofVGFrZUFjaGlldmVtZW50TGV2ZWxSZXdhcmRD",
"c1JlcRI0ChZhY2hpZXZlbWVudF9sZXZlbF9saXN0GAEgAygNUhRhY2hpZXZl",
"bWVudExldmVsTGlzdCKjAQofVGFrZUFjaGlldmVtZW50TGV2ZWxSZXdhcmRT",
"Y1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEicKBnJld2FyZBgCIAEo",
"CzIPLnByb3RvLkl0ZW1MaXN0UgZyZXdhcmQSPQobc3VjY19hY2hpZXZlbWVu",
"dF9sZXZlbF9saXN0GAMgAygNUhhzdWNjQWNoaWV2ZW1lbnRMZXZlbExpc3Qq",
"6AEKDENtZFF1ZXN0VHlwZRIUChBDbWRRdWVzdFR5cGVOb25lEAASGQoUQ21k",
"R2V0UXVlc3REYXRhQ3NSZXEQhQcSGQoUQ21kR2V0UXVlc3REYXRhU2NSc3AQ",
"hgcSHAoXQ21kVGFrZVF1ZXN0UmV3YXJkQ3NSZXEQhwcSHAoXQ21kVGFrZVF1",
"ZXN0UmV3YXJkU2NSc3AQiAcSJwoiQ21kVGFrZUFjaGlldmVtZW50TGV2ZWxS",
"ZXdhcmRDc1JlcRCJBxInCiJDbWRUYWtlQWNoaWV2ZW1lbnRMZXZlbFJld2Fy",
"ZFNjUnNwEIoHKmMKC1F1ZXN0U3RhdHVzEg4KClFVRVNUX05PTkUQABIPCgtR",
"VUVTVF9ET0lORxABEhAKDFFVRVNUX0ZJTklTSBACEg8KC1FVRVNUX0NMT1NF",
"EAMSEAoMUVVFU1RfREVMRVRFEARiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdQuestType), typeof(global::RPG.Network.Proto.QuestStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetQuestDataCsReq), global::RPG.Network.Proto.GetQuestDataCsReq.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Quest), global::RPG.Network.Proto.Quest.Parser, new[]{ "Id", "Status", "Progress", "FinishTime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetQuestDataScRsp), global::RPG.Network.Proto.GetQuestDataScRsp.Parser, new[]{ "Retcode", "QuestList", "TotalAchievementExp", "TakenAchievementLevelList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeQuestRewardCsReq), global::RPG.Network.Proto.TakeQuestRewardCsReq.Parser, new[]{ "QuestIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeQuestRewardScRsp), global::RPG.Network.Proto.TakeQuestRewardScRsp.Parser, new[]{ "Retcode", "Reward", "SuccQuestIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeAchievementLevelRewardCsReq), global::RPG.Network.Proto.TakeAchievementLevelRewardCsReq.Parser, new[]{ "AchievementLevelList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeAchievementLevelRewardScRsp), global::RPG.Network.Proto.TakeAchievementLevelRewardScRsp.Parser, new[]{ "Retcode", "Reward", "SuccAchievementLevelList" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdQuestType {
[pbr::OriginalName("CmdQuestTypeNone")] None = 0,
[pbr::OriginalName("CmdGetQuestDataCsReq")] CmdGetQuestDataCsReq = 901,
[pbr::OriginalName("CmdGetQuestDataScRsp")] CmdGetQuestDataScRsp = 902,
[pbr::OriginalName("CmdTakeQuestRewardCsReq")] CmdTakeQuestRewardCsReq = 903,
[pbr::OriginalName("CmdTakeQuestRewardScRsp")] CmdTakeQuestRewardScRsp = 904,
[pbr::OriginalName("CmdTakeAchievementLevelRewardCsReq")] CmdTakeAchievementLevelRewardCsReq = 905,
[pbr::OriginalName("CmdTakeAchievementLevelRewardScRsp")] CmdTakeAchievementLevelRewardScRsp = 906,
}
public enum QuestStatus {
[pbr::OriginalName("QUEST_NONE")] QuestNone = 0,
[pbr::OriginalName("QUEST_DOING")] QuestDoing = 1,
[pbr::OriginalName("QUEST_FINISH")] QuestFinish = 2,
[pbr::OriginalName("QUEST_CLOSE")] QuestClose = 3,
[pbr::OriginalName("QUEST_DELETE")] QuestDelete = 4,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetQuestDataCsReq : pb::IMessage<GetQuestDataCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetQuestDataCsReq> _parser = new pb::MessageParser<GetQuestDataCsReq>(() => new GetQuestDataCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetQuestDataCsReq> 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.CsQuestReflection.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 GetQuestDataCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetQuestDataCsReq(GetQuestDataCsReq other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetQuestDataCsReq Clone() {
return new GetQuestDataCsReq(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetQuestDataCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetQuestDataCsReq 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(GetQuestDataCsReq 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 Quest : pb::IMessage<Quest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Quest> _parser = new pb::MessageParser<Quest>(() => new Quest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Quest> 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.CsQuestReflection.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 Quest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Quest(Quest other) : this() {
id_ = other.id_;
status_ = other.status_;
progress_ = other.progress_;
finishTime_ = other.finishTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Quest Clone() {
return new Quest(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 2;
private global::RPG.Network.Proto.QuestStatus status_ = global::RPG.Network.Proto.QuestStatus.QuestNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.QuestStatus Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "progress" field.</summary>
public const int ProgressFieldNumber = 3;
private uint progress_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Progress {
get { return progress_; }
set {
progress_ = value;
}
}
/// <summary>Field number for the "finish_time" field.</summary>
public const int FinishTimeFieldNumber = 4;
private uint finishTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint FinishTime {
get { return finishTime_; }
set {
finishTime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Quest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Quest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Status != other.Status) return false;
if (Progress != other.Progress) return false;
if (FinishTime != other.FinishTime) 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 (Id != 0) hash ^= Id.GetHashCode();
if (Status != global::RPG.Network.Proto.QuestStatus.QuestNone) hash ^= Status.GetHashCode();
if (Progress != 0) hash ^= Progress.GetHashCode();
if (FinishTime != 0) hash ^= FinishTime.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Status != global::RPG.Network.Proto.QuestStatus.QuestNone) {
output.WriteRawTag(16);
output.WriteEnum((int) Status);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Progress);
}
if (FinishTime != 0) {
output.WriteRawTag(32);
output.WriteUInt32(FinishTime);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Status != global::RPG.Network.Proto.QuestStatus.QuestNone) {
output.WriteRawTag(16);
output.WriteEnum((int) Status);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Progress);
}
if (FinishTime != 0) {
output.WriteRawTag(32);
output.WriteUInt32(FinishTime);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (Status != global::RPG.Network.Proto.QuestStatus.QuestNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Progress);
}
if (FinishTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinishTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Quest other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Status != global::RPG.Network.Proto.QuestStatus.QuestNone) {
Status = other.Status;
}
if (other.Progress != 0) {
Progress = other.Progress;
}
if (other.FinishTime != 0) {
FinishTime = other.FinishTime;
}
_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: {
Id = input.ReadUInt32();
break;
}
case 16: {
Status = (global::RPG.Network.Proto.QuestStatus) input.ReadEnum();
break;
}
case 24: {
Progress = input.ReadUInt32();
break;
}
case 32: {
FinishTime = 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: {
Id = input.ReadUInt32();
break;
}
case 16: {
Status = (global::RPG.Network.Proto.QuestStatus) input.ReadEnum();
break;
}
case 24: {
Progress = input.ReadUInt32();
break;
}
case 32: {
FinishTime = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetQuestDataScRsp : pb::IMessage<GetQuestDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetQuestDataScRsp> _parser = new pb::MessageParser<GetQuestDataScRsp>(() => new GetQuestDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetQuestDataScRsp> 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.CsQuestReflection.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 GetQuestDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetQuestDataScRsp(GetQuestDataScRsp other) : this() {
retcode_ = other.retcode_;
questList_ = other.questList_.Clone();
totalAchievementExp_ = other.totalAchievementExp_;
takenAchievementLevelList_ = other.takenAchievementLevelList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetQuestDataScRsp Clone() {
return new GetQuestDataScRsp(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 "quest_list" field.</summary>
public const int QuestListFieldNumber = 2;
private static readonly pb::FieldCodec<global::RPG.Network.Proto.Quest> _repeated_questList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.Quest.Parser);
private readonly pbc::RepeatedField<global::RPG.Network.Proto.Quest> questList_ = new pbc::RepeatedField<global::RPG.Network.Proto.Quest>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RPG.Network.Proto.Quest> QuestList {
get { return questList_; }
}
/// <summary>Field number for the "total_achievement_exp" field.</summary>
public const int TotalAchievementExpFieldNumber = 3;
private uint totalAchievementExp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TotalAchievementExp {
get { return totalAchievementExp_; }
set {
totalAchievementExp_ = value;
}
}
/// <summary>Field number for the "taken_achievement_level_list" field.</summary>
public const int TakenAchievementLevelListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_takenAchievementLevelList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> takenAchievementLevelList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenAchievementLevelList {
get { return takenAchievementLevelList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetQuestDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetQuestDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!questList_.Equals(other.questList_)) return false;
if (TotalAchievementExp != other.TotalAchievementExp) return false;
if(!takenAchievementLevelList_.Equals(other.takenAchievementLevelList_)) 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 ^= questList_.GetHashCode();
if (TotalAchievementExp != 0) hash ^= TotalAchievementExp.GetHashCode();
hash ^= takenAchievementLevelList_.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);
}
questList_.WriteTo(output, _repeated_questList_codec);
if (TotalAchievementExp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(TotalAchievementExp);
}
takenAchievementLevelList_.WriteTo(output, _repeated_takenAchievementLevelList_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);
}
questList_.WriteTo(ref output, _repeated_questList_codec);
if (TotalAchievementExp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(TotalAchievementExp);
}
takenAchievementLevelList_.WriteTo(ref output, _repeated_takenAchievementLevelList_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 += questList_.CalculateSize(_repeated_questList_codec);
if (TotalAchievementExp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalAchievementExp);
}
size += takenAchievementLevelList_.CalculateSize(_repeated_takenAchievementLevelList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetQuestDataScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
questList_.Add(other.questList_);
if (other.TotalAchievementExp != 0) {
TotalAchievementExp = other.TotalAchievementExp;
}
takenAchievementLevelList_.Add(other.takenAchievementLevelList_);
_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: {
questList_.AddEntriesFrom(input, _repeated_questList_codec);
break;
}
case 24: {
TotalAchievementExp = input.ReadUInt32();
break;
}
case 34:
case 32: {
takenAchievementLevelList_.AddEntriesFrom(input, _repeated_takenAchievementLevelList_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: {
questList_.AddEntriesFrom(ref input, _repeated_questList_codec);
break;
}
case 24: {
TotalAchievementExp = input.ReadUInt32();
break;
}
case 34:
case 32: {
takenAchievementLevelList_.AddEntriesFrom(ref input, _repeated_takenAchievementLevelList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeQuestRewardCsReq : pb::IMessage<TakeQuestRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeQuestRewardCsReq> _parser = new pb::MessageParser<TakeQuestRewardCsReq>(() => new TakeQuestRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeQuestRewardCsReq> 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.CsQuestReflection.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 TakeQuestRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeQuestRewardCsReq(TakeQuestRewardCsReq other) : this() {
questIdList_ = other.questIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeQuestRewardCsReq Clone() {
return new TakeQuestRewardCsReq(this);
}
/// <summary>Field number for the "quest_id_list" field.</summary>
public const int QuestIdListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_questIdList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> questIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> QuestIdList {
get { return questIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeQuestRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeQuestRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!questIdList_.Equals(other.questIdList_)) 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 ^= questIdList_.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
questIdList_.WriteTo(output, _repeated_questIdList_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) {
questIdList_.WriteTo(ref output, _repeated_questIdList_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 += questIdList_.CalculateSize(_repeated_questIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeQuestRewardCsReq other) {
if (other == null) {
return;
}
questIdList_.Add(other.questIdList_);
_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:
case 8: {
questIdList_.AddEntriesFrom(input, _repeated_questIdList_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:
case 8: {
questIdList_.AddEntriesFrom(ref input, _repeated_questIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeQuestRewardScRsp : pb::IMessage<TakeQuestRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeQuestRewardScRsp> _parser = new pb::MessageParser<TakeQuestRewardScRsp>(() => new TakeQuestRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeQuestRewardScRsp> 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.CsQuestReflection.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 TakeQuestRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeQuestRewardScRsp(TakeQuestRewardScRsp other) : this() {
retcode_ = other.retcode_;
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
succQuestIdList_ = other.succQuestIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeQuestRewardScRsp Clone() {
return new TakeQuestRewardScRsp(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 "reward" field.</summary>
public const int RewardFieldNumber = 2;
private global::RPG.Network.Proto.ItemList reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList Reward {
get { return reward_; }
set {
reward_ = value;
}
}
/// <summary>Field number for the "succ_quest_id_list" field.</summary>
public const int SuccQuestIdListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_succQuestIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> succQuestIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> SuccQuestIdList {
get { return succQuestIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeQuestRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeQuestRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (!object.Equals(Reward, other.Reward)) return false;
if(!succQuestIdList_.Equals(other.succQuestIdList_)) 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 (reward_ != null) hash ^= Reward.GetHashCode();
hash ^= succQuestIdList_.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 (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
succQuestIdList_.WriteTo(output, _repeated_succQuestIdList_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);
}
if (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
succQuestIdList_.WriteTo(ref output, _repeated_succQuestIdList_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);
}
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
size += succQuestIdList_.CalculateSize(_repeated_succQuestIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeQuestRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
Reward.MergeFrom(other.Reward);
}
succQuestIdList_.Add(other.succQuestIdList_);
_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: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 26:
case 24: {
succQuestIdList_.AddEntriesFrom(input, _repeated_succQuestIdList_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: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 26:
case 24: {
succQuestIdList_.AddEntriesFrom(ref input, _repeated_succQuestIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeAchievementLevelRewardCsReq : pb::IMessage<TakeAchievementLevelRewardCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeAchievementLevelRewardCsReq> _parser = new pb::MessageParser<TakeAchievementLevelRewardCsReq>(() => new TakeAchievementLevelRewardCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeAchievementLevelRewardCsReq> 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.CsQuestReflection.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 TakeAchievementLevelRewardCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeAchievementLevelRewardCsReq(TakeAchievementLevelRewardCsReq other) : this() {
achievementLevelList_ = other.achievementLevelList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeAchievementLevelRewardCsReq Clone() {
return new TakeAchievementLevelRewardCsReq(this);
}
/// <summary>Field number for the "achievement_level_list" field.</summary>
public const int AchievementLevelListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_achievementLevelList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> achievementLevelList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AchievementLevelList {
get { return achievementLevelList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeAchievementLevelRewardCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeAchievementLevelRewardCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!achievementLevelList_.Equals(other.achievementLevelList_)) 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 ^= achievementLevelList_.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
achievementLevelList_.WriteTo(output, _repeated_achievementLevelList_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) {
achievementLevelList_.WriteTo(ref output, _repeated_achievementLevelList_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 += achievementLevelList_.CalculateSize(_repeated_achievementLevelList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeAchievementLevelRewardCsReq other) {
if (other == null) {
return;
}
achievementLevelList_.Add(other.achievementLevelList_);
_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:
case 8: {
achievementLevelList_.AddEntriesFrom(input, _repeated_achievementLevelList_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:
case 8: {
achievementLevelList_.AddEntriesFrom(ref input, _repeated_achievementLevelList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeAchievementLevelRewardScRsp : pb::IMessage<TakeAchievementLevelRewardScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeAchievementLevelRewardScRsp> _parser = new pb::MessageParser<TakeAchievementLevelRewardScRsp>(() => new TakeAchievementLevelRewardScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeAchievementLevelRewardScRsp> 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.CsQuestReflection.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 TakeAchievementLevelRewardScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeAchievementLevelRewardScRsp(TakeAchievementLevelRewardScRsp other) : this() {
retcode_ = other.retcode_;
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
succAchievementLevelList_ = other.succAchievementLevelList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeAchievementLevelRewardScRsp Clone() {
return new TakeAchievementLevelRewardScRsp(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 "reward" field.</summary>
public const int RewardFieldNumber = 2;
private global::RPG.Network.Proto.ItemList reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList Reward {
get { return reward_; }
set {
reward_ = value;
}
}
/// <summary>Field number for the "succ_achievement_level_list" field.</summary>
public const int SuccAchievementLevelListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_succAchievementLevelList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> succAchievementLevelList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> SuccAchievementLevelList {
get { return succAchievementLevelList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeAchievementLevelRewardScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeAchievementLevelRewardScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (!object.Equals(Reward, other.Reward)) return false;
if(!succAchievementLevelList_.Equals(other.succAchievementLevelList_)) 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 (reward_ != null) hash ^= Reward.GetHashCode();
hash ^= succAchievementLevelList_.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 (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
succAchievementLevelList_.WriteTo(output, _repeated_succAchievementLevelList_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);
}
if (reward_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Reward);
}
succAchievementLevelList_.WriteTo(ref output, _repeated_succAchievementLevelList_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);
}
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
size += succAchievementLevelList_.CalculateSize(_repeated_succAchievementLevelList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeAchievementLevelRewardScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
Reward.MergeFrom(other.Reward);
}
succAchievementLevelList_.Add(other.succAchievementLevelList_);
_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: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 26:
case 24: {
succAchievementLevelList_.AddEntriesFrom(input, _repeated_succAchievementLevelList_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: {
if (reward_ == null) {
Reward = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 26:
case 24: {
succAchievementLevelList_.AddEntriesFrom(ref input, _repeated_succAchievementLevelList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code