mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 16:34:44 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
729
Novaria.Common/Protos/TravelerDuelQuest.cs
Normal file
729
Novaria.Common/Protos/TravelerDuelQuest.cs
Normal file
@@ -0,0 +1,729 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: TravelerDuelQuest.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 TravelerDuelQuest.proto</summary>
|
||||
public static partial class TravelerDuelQuestReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for TravelerDuelQuest.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static TravelerDuelQuestReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChdUcmF2ZWxlckR1ZWxRdWVzdC5wcm90byK/AgoRVHJhdmVsZXJEdWVsUXVl",
|
||||
"c3QSCgoCaWQYASABKAUSDQoFdGl0bGUYAiABKAkSDAoEZGVzYxgDIAEoCRIP",
|
||||
"CgdqdW1wX3RvGAQgASgFEg0KBW9yZGVyGAUgASgFEhYKDmFjY2VwdF9wYXJh",
|
||||
"bXMyGAYgASgJEhUKDWNvbXBsZXRlX2NvbmQYByABKAUSHAoUY29tcGxldGVf",
|
||||
"Y29uZF9wYXJhbXMYCCABKAkSFwoPYXdhcmRfaXRlbV90aWQxGAkgASgFEhcK",
|
||||
"D2F3YXJkX2l0ZW1fbnVtMRgKIAEoBRIXCg9hd2FyZF9pdGVtX3RpZDIYCyAB",
|
||||
"KAUSFwoPYXdhcmRfaXRlbV9udW0yGAwgASgFEhcKD2F3YXJkX2l0ZW1fdGlk",
|
||||
"MxgNIAEoBRIXCg9hd2FyZF9pdGVtX251bTMYDiABKAVCDqoCC05vdmEuQ2xp",
|
||||
"ZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelQuest), global::Nova.Client.TravelerDuelQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "AcceptParams2", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class TravelerDuelQuest : pb::IMessage<TravelerDuelQuest>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<TravelerDuelQuest> _parser = new pb::MessageParser<TravelerDuelQuest>(() => new TravelerDuelQuest());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<TravelerDuelQuest> 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.TravelerDuelQuestReflection.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 TravelerDuelQuest() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TravelerDuelQuest(TravelerDuelQuest other) : this() {
|
||||
id_ = other.id_;
|
||||
title_ = other.title_;
|
||||
desc_ = other.desc_;
|
||||
jumpTo_ = other.jumpTo_;
|
||||
order_ = other.order_;
|
||||
acceptParams2_ = other.acceptParams2_;
|
||||
completeCond_ = other.completeCond_;
|
||||
completeCondParams_ = other.completeCondParams_;
|
||||
awardItemTid1_ = other.awardItemTid1_;
|
||||
awardItemNum1_ = other.awardItemNum1_;
|
||||
awardItemTid2_ = other.awardItemTid2_;
|
||||
awardItemNum2_ = other.awardItemNum2_;
|
||||
awardItemTid3_ = other.awardItemTid3_;
|
||||
awardItemNum3_ = other.awardItemNum3_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TravelerDuelQuest Clone() {
|
||||
return new TravelerDuelQuest(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 "accept_params2" field.</summary>
|
||||
public const int AcceptParams2FieldNumber = 6;
|
||||
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 = 7;
|
||||
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 = 8;
|
||||
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 "award_item_tid1" field.</summary>
|
||||
public const int AwardItemTid1FieldNumber = 9;
|
||||
private int awardItemTid1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemTid1 {
|
||||
get { return awardItemTid1_; }
|
||||
set {
|
||||
awardItemTid1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_num1" field.</summary>
|
||||
public const int AwardItemNum1FieldNumber = 10;
|
||||
private int awardItemNum1_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemNum1 {
|
||||
get { return awardItemNum1_; }
|
||||
set {
|
||||
awardItemNum1_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_tid2" field.</summary>
|
||||
public const int AwardItemTid2FieldNumber = 11;
|
||||
private int awardItemTid2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemTid2 {
|
||||
get { return awardItemTid2_; }
|
||||
set {
|
||||
awardItemTid2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_num2" field.</summary>
|
||||
public const int AwardItemNum2FieldNumber = 12;
|
||||
private int awardItemNum2_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemNum2 {
|
||||
get { return awardItemNum2_; }
|
||||
set {
|
||||
awardItemNum2_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_tid3" field.</summary>
|
||||
public const int AwardItemTid3FieldNumber = 13;
|
||||
private int awardItemTid3_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemTid3 {
|
||||
get { return awardItemTid3_; }
|
||||
set {
|
||||
awardItemTid3_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "award_item_num3" field.</summary>
|
||||
public const int AwardItemNum3FieldNumber = 14;
|
||||
private int awardItemNum3_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int AwardItemNum3 {
|
||||
get { return awardItemNum3_; }
|
||||
set {
|
||||
awardItemNum3_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as TravelerDuelQuest);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(TravelerDuelQuest 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 (AcceptParams2 != other.AcceptParams2) return false;
|
||||
if (CompleteCond != other.CompleteCond) return false;
|
||||
if (CompleteCondParams != other.CompleteCondParams) return false;
|
||||
if (AwardItemTid1 != other.AwardItemTid1) return false;
|
||||
if (AwardItemNum1 != other.AwardItemNum1) return false;
|
||||
if (AwardItemTid2 != other.AwardItemTid2) return false;
|
||||
if (AwardItemNum2 != other.AwardItemNum2) return false;
|
||||
if (AwardItemTid3 != other.AwardItemTid3) return false;
|
||||
if (AwardItemNum3 != other.AwardItemNum3) 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 (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode();
|
||||
if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode();
|
||||
if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode();
|
||||
if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode();
|
||||
if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode();
|
||||
if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode();
|
||||
if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode();
|
||||
if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode();
|
||||
if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (AcceptParams2.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(AcceptParams2);
|
||||
}
|
||||
if (CompleteCond != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(CompleteCond);
|
||||
}
|
||||
if (CompleteCondParams.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(CompleteCondParams);
|
||||
}
|
||||
if (AwardItemTid1 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(AwardItemNum2);
|
||||
}
|
||||
if (AwardItemTid3 != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt32(AwardItemTid3);
|
||||
}
|
||||
if (AwardItemNum3 != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(AwardItemNum3);
|
||||
}
|
||||
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 (AcceptParams2.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(AcceptParams2);
|
||||
}
|
||||
if (CompleteCond != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(CompleteCond);
|
||||
}
|
||||
if (CompleteCondParams.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(CompleteCondParams);
|
||||
}
|
||||
if (AwardItemTid1 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(AwardItemNum2);
|
||||
}
|
||||
if (AwardItemTid3 != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt32(AwardItemTid3);
|
||||
}
|
||||
if (AwardItemNum3 != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(AwardItemNum3);
|
||||
}
|
||||
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 (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 (AwardItemTid1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1);
|
||||
}
|
||||
if (AwardItemNum1 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1);
|
||||
}
|
||||
if (AwardItemTid2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2);
|
||||
}
|
||||
if (AwardItemNum2 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2);
|
||||
}
|
||||
if (AwardItemTid3 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3);
|
||||
}
|
||||
if (AwardItemNum3 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(TravelerDuelQuest 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.AcceptParams2.Length != 0) {
|
||||
AcceptParams2 = other.AcceptParams2;
|
||||
}
|
||||
if (other.CompleteCond != 0) {
|
||||
CompleteCond = other.CompleteCond;
|
||||
}
|
||||
if (other.CompleteCondParams.Length != 0) {
|
||||
CompleteCondParams = other.CompleteCondParams;
|
||||
}
|
||||
if (other.AwardItemTid1 != 0) {
|
||||
AwardItemTid1 = other.AwardItemTid1;
|
||||
}
|
||||
if (other.AwardItemNum1 != 0) {
|
||||
AwardItemNum1 = other.AwardItemNum1;
|
||||
}
|
||||
if (other.AwardItemTid2 != 0) {
|
||||
AwardItemTid2 = other.AwardItemTid2;
|
||||
}
|
||||
if (other.AwardItemNum2 != 0) {
|
||||
AwardItemNum2 = other.AwardItemNum2;
|
||||
}
|
||||
if (other.AwardItemTid3 != 0) {
|
||||
AwardItemTid3 = other.AwardItemTid3;
|
||||
}
|
||||
if (other.AwardItemNum3 != 0) {
|
||||
AwardItemNum3 = other.AwardItemNum3;
|
||||
}
|
||||
_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 50: {
|
||||
AcceptParams2 = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
CompleteCond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
CompleteCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
AwardItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
AwardItemNum1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
AwardItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
AwardItemNum2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
AwardItemTid3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
AwardItemNum3 = 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 50: {
|
||||
AcceptParams2 = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
CompleteCond = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
CompleteCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
AwardItemTid1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
AwardItemNum1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
AwardItemTid2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
AwardItemNum2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
AwardItemTid3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
AwardItemNum3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user