mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-13 15:04:36 +01:00
749 lines
25 KiB
C#
749 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DailyQuest.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 Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from DailyQuest.proto</summary>
|
|
public static partial class DailyQuestReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DailyQuest.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DailyQuestReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChBEYWlseVF1ZXN0LnByb3RvIsUCCgpEYWlseVF1ZXN0EgoKAmlkGAEgASgF",
|
|
"Eg0KBXRpdGxlGAIgASgJEgwKBGRlc2MYAyABKAkSDwoHanVtcF90bxgEIAEo",
|
|
"BRINCgVvcmRlchgFIAEoBRIOCgZhY3RpdmUYBiABKAUSDQoFYXBlYXIYByAB",
|
|
"KAgSFgoOYWNjZXB0X3BhcmFtczIYCCABKAkSFQoNY29tcGxldGVfY29uZBgJ",
|
|
"IAEoBRIcChRjb21wbGV0ZV9jb25kX3BhcmFtcxgKIAEoCRIcChRjb21wbGV0",
|
|
"ZV9jb25kX2NsaWVudBgLIAEoBRIfChdjbGllbnRfY29tcGxldGVfcGFyYW1z",
|
|
"MRgMIAMoBRIfChdjbGllbnRfY29tcGxldGVfcGFyYW1zMhgNIAMoBRIQCghp",
|
|
"dGVtX3RpZBgOIAEoBRIQCghpdGVtX3F0eRgPIAEoBUIOqgILTm92YS5DbGll",
|
|
"bnRiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuest), global::Nova.Client.DailyQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "Active", "Apear", "AcceptParams2", "CompleteCond", "CompleteCondParams", "CompleteCondClient", "ClientCompleteParams1", "ClientCompleteParams2", "ItemTid", "ItemQty" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DailyQuest : pb::IMessage<DailyQuest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DailyQuest> _parser = new pb::MessageParser<DailyQuest>(() => new DailyQuest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DailyQuest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.DailyQuestReflection.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 DailyQuest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DailyQuest(DailyQuest other) : this() {
|
|
id_ = other.id_;
|
|
title_ = other.title_;
|
|
desc_ = other.desc_;
|
|
jumpTo_ = other.jumpTo_;
|
|
order_ = other.order_;
|
|
active_ = other.active_;
|
|
apear_ = other.apear_;
|
|
acceptParams2_ = other.acceptParams2_;
|
|
completeCond_ = other.completeCond_;
|
|
completeCondParams_ = other.completeCondParams_;
|
|
completeCondClient_ = other.completeCondClient_;
|
|
clientCompleteParams1_ = other.clientCompleteParams1_.Clone();
|
|
clientCompleteParams2_ = other.clientCompleteParams2_.Clone();
|
|
itemTid_ = other.itemTid_;
|
|
itemQty_ = other.itemQty_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DailyQuest Clone() {
|
|
return new DailyQuest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "title" field.</summary>
|
|
public const int TitleFieldNumber = 2;
|
|
private string title_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Title {
|
|
get { return title_; }
|
|
set {
|
|
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "desc" field.</summary>
|
|
public const int DescFieldNumber = 3;
|
|
private string desc_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc {
|
|
get { return desc_; }
|
|
set {
|
|
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "jump_to" field.</summary>
|
|
public const int JumpToFieldNumber = 4;
|
|
private int jumpTo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int JumpTo {
|
|
get { return jumpTo_; }
|
|
set {
|
|
jumpTo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "order" field.</summary>
|
|
public const int OrderFieldNumber = 5;
|
|
private int order_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Order {
|
|
get { return order_; }
|
|
set {
|
|
order_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "active" field.</summary>
|
|
public const int ActiveFieldNumber = 6;
|
|
private int active_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Active {
|
|
get { return active_; }
|
|
set {
|
|
active_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "apear" field.</summary>
|
|
public const int ApearFieldNumber = 7;
|
|
private bool apear_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Apear {
|
|
get { return apear_; }
|
|
set {
|
|
apear_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "accept_params2" field.</summary>
|
|
public const int AcceptParams2FieldNumber = 8;
|
|
private string acceptParams2_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AcceptParams2 {
|
|
get { return acceptParams2_; }
|
|
set {
|
|
acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "complete_cond" field.</summary>
|
|
public const int CompleteCondFieldNumber = 9;
|
|
private int completeCond_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CompleteCond {
|
|
get { return completeCond_; }
|
|
set {
|
|
completeCond_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "complete_cond_params" field.</summary>
|
|
public const int CompleteCondParamsFieldNumber = 10;
|
|
private string completeCondParams_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string CompleteCondParams {
|
|
get { return completeCondParams_; }
|
|
set {
|
|
completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "complete_cond_client" field.</summary>
|
|
public const int CompleteCondClientFieldNumber = 11;
|
|
private int completeCondClient_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CompleteCondClient {
|
|
get { return completeCondClient_; }
|
|
set {
|
|
completeCondClient_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "client_complete_params1" field.</summary>
|
|
public const int ClientCompleteParams1FieldNumber = 12;
|
|
private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams1_codec
|
|
= pb::FieldCodec.ForInt32(98);
|
|
private readonly pbc::RepeatedField<int> clientCompleteParams1_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> ClientCompleteParams1 {
|
|
get { return clientCompleteParams1_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "client_complete_params2" field.</summary>
|
|
public const int ClientCompleteParams2FieldNumber = 13;
|
|
private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams2_codec
|
|
= pb::FieldCodec.ForInt32(106);
|
|
private readonly pbc::RepeatedField<int> clientCompleteParams2_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> ClientCompleteParams2 {
|
|
get { return clientCompleteParams2_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "item_tid" field.</summary>
|
|
public const int ItemTidFieldNumber = 14;
|
|
private int itemTid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemTid {
|
|
get { return itemTid_; }
|
|
set {
|
|
itemTid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_qty" field.</summary>
|
|
public const int ItemQtyFieldNumber = 15;
|
|
private int itemQty_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ItemQty {
|
|
get { return itemQty_; }
|
|
set {
|
|
itemQty_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DailyQuest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DailyQuest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Title != other.Title) return false;
|
|
if (Desc != other.Desc) return false;
|
|
if (JumpTo != other.JumpTo) return false;
|
|
if (Order != other.Order) return false;
|
|
if (Active != other.Active) return false;
|
|
if (Apear != other.Apear) return false;
|
|
if (AcceptParams2 != other.AcceptParams2) return false;
|
|
if (CompleteCond != other.CompleteCond) return false;
|
|
if (CompleteCondParams != other.CompleteCondParams) return false;
|
|
if (CompleteCondClient != other.CompleteCondClient) return false;
|
|
if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false;
|
|
if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false;
|
|
if (ItemTid != other.ItemTid) return false;
|
|
if (ItemQty != other.ItemQty) 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 (Title.Length != 0) hash ^= Title.GetHashCode();
|
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
|
if (JumpTo != 0) hash ^= JumpTo.GetHashCode();
|
|
if (Order != 0) hash ^= Order.GetHashCode();
|
|
if (Active != 0) hash ^= Active.GetHashCode();
|
|
if (Apear != false) hash ^= Apear.GetHashCode();
|
|
if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode();
|
|
if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode();
|
|
if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode();
|
|
if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode();
|
|
hash ^= clientCompleteParams1_.GetHashCode();
|
|
hash ^= clientCompleteParams2_.GetHashCode();
|
|
if (ItemTid != 0) hash ^= ItemTid.GetHashCode();
|
|
if (ItemQty != 0) hash ^= ItemQty.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.WriteInt32(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (JumpTo != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(JumpTo);
|
|
}
|
|
if (Order != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Order);
|
|
}
|
|
if (Active != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(Active);
|
|
}
|
|
if (Apear != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(Apear);
|
|
}
|
|
if (AcceptParams2.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(AcceptParams2);
|
|
}
|
|
if (CompleteCond != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(CompleteCond);
|
|
}
|
|
if (CompleteCondParams.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(CompleteCondParams);
|
|
}
|
|
if (CompleteCondClient != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(CompleteCondClient);
|
|
}
|
|
clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec);
|
|
clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec);
|
|
if (ItemTid != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(ItemTid);
|
|
}
|
|
if (ItemQty != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(ItemQty);
|
|
}
|
|
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.WriteInt32(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (JumpTo != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(JumpTo);
|
|
}
|
|
if (Order != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Order);
|
|
}
|
|
if (Active != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(Active);
|
|
}
|
|
if (Apear != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(Apear);
|
|
}
|
|
if (AcceptParams2.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(AcceptParams2);
|
|
}
|
|
if (CompleteCond != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(CompleteCond);
|
|
}
|
|
if (CompleteCondParams.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(CompleteCondParams);
|
|
}
|
|
if (CompleteCondClient != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(CompleteCondClient);
|
|
}
|
|
clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec);
|
|
clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec);
|
|
if (ItemTid != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(ItemTid);
|
|
}
|
|
if (ItemQty != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(ItemQty);
|
|
}
|
|
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.ComputeInt32Size(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
|
}
|
|
if (JumpTo != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo);
|
|
}
|
|
if (Order != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order);
|
|
}
|
|
if (Active != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active);
|
|
}
|
|
if (Apear != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (AcceptParams2.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2);
|
|
}
|
|
if (CompleteCond != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond);
|
|
}
|
|
if (CompleteCondParams.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams);
|
|
}
|
|
if (CompleteCondClient != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient);
|
|
}
|
|
size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec);
|
|
size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec);
|
|
if (ItemTid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid);
|
|
}
|
|
if (ItemQty != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DailyQuest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Title.Length != 0) {
|
|
Title = other.Title;
|
|
}
|
|
if (other.Desc.Length != 0) {
|
|
Desc = other.Desc;
|
|
}
|
|
if (other.JumpTo != 0) {
|
|
JumpTo = other.JumpTo;
|
|
}
|
|
if (other.Order != 0) {
|
|
Order = other.Order;
|
|
}
|
|
if (other.Active != 0) {
|
|
Active = other.Active;
|
|
}
|
|
if (other.Apear != false) {
|
|
Apear = other.Apear;
|
|
}
|
|
if (other.AcceptParams2.Length != 0) {
|
|
AcceptParams2 = other.AcceptParams2;
|
|
}
|
|
if (other.CompleteCond != 0) {
|
|
CompleteCond = other.CompleteCond;
|
|
}
|
|
if (other.CompleteCondParams.Length != 0) {
|
|
CompleteCondParams = other.CompleteCondParams;
|
|
}
|
|
if (other.CompleteCondClient != 0) {
|
|
CompleteCondClient = other.CompleteCondClient;
|
|
}
|
|
clientCompleteParams1_.Add(other.clientCompleteParams1_);
|
|
clientCompleteParams2_.Add(other.clientCompleteParams2_);
|
|
if (other.ItemTid != 0) {
|
|
ItemTid = other.ItemTid;
|
|
}
|
|
if (other.ItemQty != 0) {
|
|
ItemQty = other.ItemQty;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
JumpTo = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Order = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Active = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Apear = input.ReadBool();
|
|
break;
|
|
}
|
|
case 66: {
|
|
AcceptParams2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
CompleteCond = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
CompleteCondParams = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CompleteCondClient = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec);
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ItemTid = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
ItemQty = input.ReadInt32();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
JumpTo = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Order = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Active = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Apear = input.ReadBool();
|
|
break;
|
|
}
|
|
case 66: {
|
|
AcceptParams2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
CompleteCond = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
CompleteCondParams = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CompleteCondClient = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec);
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ItemTid = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
ItemQty = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|