Files
Novaria/Novaria.Common/Protos/TourGuideQuest.cs

579 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TourGuideQuest.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 TourGuideQuest.proto</summary>
public static partial class TourGuideQuestReflection {
#region Descriptor
/// <summary>File descriptor for TourGuideQuest.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TourGuideQuestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChRUb3VyR3VpZGVRdWVzdC5wcm90byK9AQoOVG91ckd1aWRlUXVlc3QSCgoC",
"aWQYASABKAUSDQoFb3JkZXIYAiABKAUSDQoFdGl0bGUYAyABKAkSDwoHanVt",
"cF90bxgEIAEoBRIPCgdyZXdhcmQxGAUgASgFEhMKC3Jld2FyZF9xdHkxGAYg",
"ASgFEg8KB3Jld2FyZDIYByABKAUSEwoLcmV3YXJkX3F0eTIYCCABKAUSDwoH",
"cmV3YXJkMxgJIAEoBRITCgtyZXdhcmRfcXR5MxgKIAEoBUIOqgILTm92YS5D",
"bGllbnRiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuest), global::Nova.Client.TourGuideQuest.Parser, new[]{ "Id", "Order", "Title", "JumpTo", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TourGuideQuest : pb::IMessage<TourGuideQuest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TourGuideQuest> _parser = new pb::MessageParser<TourGuideQuest>(() => new TourGuideQuest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TourGuideQuest> 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.TourGuideQuestReflection.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 TourGuideQuest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TourGuideQuest(TourGuideQuest other) : this() {
id_ = other.id_;
order_ = other.order_;
title_ = other.title_;
jumpTo_ = other.jumpTo_;
reward1_ = other.reward1_;
rewardQty1_ = other.rewardQty1_;
reward2_ = other.reward2_;
rewardQty2_ = other.rewardQty2_;
reward3_ = other.reward3_;
rewardQty3_ = other.rewardQty3_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TourGuideQuest Clone() {
return new TourGuideQuest(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 "order" field.</summary>
public const int OrderFieldNumber = 2;
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 "title" field.</summary>
public const int TitleFieldNumber = 3;
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 "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 "reward1" field.</summary>
public const int Reward1FieldNumber = 5;
private int reward1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Reward1 {
get { return reward1_; }
set {
reward1_ = value;
}
}
/// <summary>Field number for the "reward_qty1" field.</summary>
public const int RewardQty1FieldNumber = 6;
private int rewardQty1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RewardQty1 {
get { return rewardQty1_; }
set {
rewardQty1_ = value;
}
}
/// <summary>Field number for the "reward2" field.</summary>
public const int Reward2FieldNumber = 7;
private int reward2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Reward2 {
get { return reward2_; }
set {
reward2_ = value;
}
}
/// <summary>Field number for the "reward_qty2" field.</summary>
public const int RewardQty2FieldNumber = 8;
private int rewardQty2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RewardQty2 {
get { return rewardQty2_; }
set {
rewardQty2_ = value;
}
}
/// <summary>Field number for the "reward3" field.</summary>
public const int Reward3FieldNumber = 9;
private int reward3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Reward3 {
get { return reward3_; }
set {
reward3_ = value;
}
}
/// <summary>Field number for the "reward_qty3" field.</summary>
public const int RewardQty3FieldNumber = 10;
private int rewardQty3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RewardQty3 {
get { return rewardQty3_; }
set {
rewardQty3_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TourGuideQuest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TourGuideQuest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Order != other.Order) return false;
if (Title != other.Title) return false;
if (JumpTo != other.JumpTo) return false;
if (Reward1 != other.Reward1) return false;
if (RewardQty1 != other.RewardQty1) return false;
if (Reward2 != other.Reward2) return false;
if (RewardQty2 != other.RewardQty2) return false;
if (Reward3 != other.Reward3) return false;
if (RewardQty3 != other.RewardQty3) 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 (Order != 0) hash ^= Order.GetHashCode();
if (Title.Length != 0) hash ^= Title.GetHashCode();
if (JumpTo != 0) hash ^= JumpTo.GetHashCode();
if (Reward1 != 0) hash ^= Reward1.GetHashCode();
if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode();
if (Reward2 != 0) hash ^= Reward2.GetHashCode();
if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode();
if (Reward3 != 0) hash ^= Reward3.GetHashCode();
if (RewardQty3 != 0) hash ^= RewardQty3.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 (Order != 0) {
output.WriteRawTag(16);
output.WriteInt32(Order);
}
if (Title.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Title);
}
if (JumpTo != 0) {
output.WriteRawTag(32);
output.WriteInt32(JumpTo);
}
if (Reward1 != 0) {
output.WriteRawTag(40);
output.WriteInt32(Reward1);
}
if (RewardQty1 != 0) {
output.WriteRawTag(48);
output.WriteInt32(RewardQty1);
}
if (Reward2 != 0) {
output.WriteRawTag(56);
output.WriteInt32(Reward2);
}
if (RewardQty2 != 0) {
output.WriteRawTag(64);
output.WriteInt32(RewardQty2);
}
if (Reward3 != 0) {
output.WriteRawTag(72);
output.WriteInt32(Reward3);
}
if (RewardQty3 != 0) {
output.WriteRawTag(80);
output.WriteInt32(RewardQty3);
}
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 (Order != 0) {
output.WriteRawTag(16);
output.WriteInt32(Order);
}
if (Title.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Title);
}
if (JumpTo != 0) {
output.WriteRawTag(32);
output.WriteInt32(JumpTo);
}
if (Reward1 != 0) {
output.WriteRawTag(40);
output.WriteInt32(Reward1);
}
if (RewardQty1 != 0) {
output.WriteRawTag(48);
output.WriteInt32(RewardQty1);
}
if (Reward2 != 0) {
output.WriteRawTag(56);
output.WriteInt32(Reward2);
}
if (RewardQty2 != 0) {
output.WriteRawTag(64);
output.WriteInt32(RewardQty2);
}
if (Reward3 != 0) {
output.WriteRawTag(72);
output.WriteInt32(Reward3);
}
if (RewardQty3 != 0) {
output.WriteRawTag(80);
output.WriteInt32(RewardQty3);
}
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 (Order != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order);
}
if (Title.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
}
if (JumpTo != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo);
}
if (Reward1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1);
}
if (RewardQty1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1);
}
if (Reward2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2);
}
if (RewardQty2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2);
}
if (Reward3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3);
}
if (RewardQty3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TourGuideQuest other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Order != 0) {
Order = other.Order;
}
if (other.Title.Length != 0) {
Title = other.Title;
}
if (other.JumpTo != 0) {
JumpTo = other.JumpTo;
}
if (other.Reward1 != 0) {
Reward1 = other.Reward1;
}
if (other.RewardQty1 != 0) {
RewardQty1 = other.RewardQty1;
}
if (other.Reward2 != 0) {
Reward2 = other.Reward2;
}
if (other.RewardQty2 != 0) {
RewardQty2 = other.RewardQty2;
}
if (other.Reward3 != 0) {
Reward3 = other.Reward3;
}
if (other.RewardQty3 != 0) {
RewardQty3 = other.RewardQty3;
}
_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 16: {
Order = input.ReadInt32();
break;
}
case 26: {
Title = input.ReadString();
break;
}
case 32: {
JumpTo = input.ReadInt32();
break;
}
case 40: {
Reward1 = input.ReadInt32();
break;
}
case 48: {
RewardQty1 = input.ReadInt32();
break;
}
case 56: {
Reward2 = input.ReadInt32();
break;
}
case 64: {
RewardQty2 = input.ReadInt32();
break;
}
case 72: {
Reward3 = input.ReadInt32();
break;
}
case 80: {
RewardQty3 = 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 16: {
Order = input.ReadInt32();
break;
}
case 26: {
Title = input.ReadString();
break;
}
case 32: {
JumpTo = input.ReadInt32();
break;
}
case 40: {
Reward1 = input.ReadInt32();
break;
}
case 48: {
RewardQty1 = input.ReadInt32();
break;
}
case 56: {
Reward2 = input.ReadInt32();
break;
}
case 64: {
RewardQty2 = input.ReadInt32();
break;
}
case 72: {
Reward3 = input.ReadInt32();
break;
}
case 80: {
RewardQty3 = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code