mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-18 01:15:07 +01:00
serverlist handler + basic crypto, rename project
This commit is contained in:
728
Novaria.Common/Protos/TourGuideQuestGroup.cs
Normal file
728
Novaria.Common/Protos/TourGuideQuestGroup.cs
Normal file
@@ -0,0 +1,728 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: TourGuideQuestGroup.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 TourGuideQuestGroup.proto</summary>
|
||||
public static partial class TourGuideQuestGroupReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for TourGuideQuestGroup.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static TourGuideQuestGroupReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChlUb3VyR3VpZGVRdWVzdEdyb3VwLnByb3RvIpQCChNUb3VyR3VpZGVRdWVz",
|
||||
"dEdyb3VwEgoKAmlkGAEgASgFEg0KBW9yZGVyGAIgASgFEg8KB3Jld2FyZDEY",
|
||||
"AyABKAUSEwoLcmV3YXJkX3F0eTEYBCABKAUSDwoHcmV3YXJkMhgFIAEoBRIT",
|
||||
"CgtyZXdhcmRfcXR5MhgGIAEoBRIPCgdyZXdhcmQzGAcgASgFEhMKC3Jld2Fy",
|
||||
"ZF9xdHkzGAggASgFEg8KB3Jld2FyZDQYCSABKAUSEwoLcmV3YXJkX3F0eTQY",
|
||||
"CiABKAUSDwoHcmV3YXJkNRgLIAEoBRITCgtyZXdhcmRfcXR5NRgMIAEoBRIP",
|
||||
"CgdyZXdhcmQ2GA0gASgFEhMKC3Jld2FyZF9xdHk2GA4gASgFQg6qAgtOb3Zh",
|
||||
"LkNsaWVudGIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuestGroup), global::Nova.Client.TourGuideQuestGroup.Parser, new[]{ "Id", "Order", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3", "Reward4", "RewardQty4", "Reward5", "RewardQty5", "Reward6", "RewardQty6" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class TourGuideQuestGroup : pb::IMessage<TourGuideQuestGroup>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<TourGuideQuestGroup> _parser = new pb::MessageParser<TourGuideQuestGroup>(() => new TourGuideQuestGroup());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<TourGuideQuestGroup> 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.TourGuideQuestGroupReflection.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 TourGuideQuestGroup() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TourGuideQuestGroup(TourGuideQuestGroup other) : this() {
|
||||
id_ = other.id_;
|
||||
order_ = other.order_;
|
||||
reward1_ = other.reward1_;
|
||||
rewardQty1_ = other.rewardQty1_;
|
||||
reward2_ = other.reward2_;
|
||||
rewardQty2_ = other.rewardQty2_;
|
||||
reward3_ = other.reward3_;
|
||||
rewardQty3_ = other.rewardQty3_;
|
||||
reward4_ = other.reward4_;
|
||||
rewardQty4_ = other.rewardQty4_;
|
||||
reward5_ = other.reward5_;
|
||||
rewardQty5_ = other.rewardQty5_;
|
||||
reward6_ = other.reward6_;
|
||||
rewardQty6_ = other.rewardQty6_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TourGuideQuestGroup Clone() {
|
||||
return new TourGuideQuestGroup(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 "reward1" field.</summary>
|
||||
public const int Reward1FieldNumber = 3;
|
||||
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 = 4;
|
||||
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 = 5;
|
||||
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 = 6;
|
||||
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 = 7;
|
||||
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 = 8;
|
||||
private int rewardQty3_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RewardQty3 {
|
||||
get { return rewardQty3_; }
|
||||
set {
|
||||
rewardQty3_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward4" field.</summary>
|
||||
public const int Reward4FieldNumber = 9;
|
||||
private int reward4_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Reward4 {
|
||||
get { return reward4_; }
|
||||
set {
|
||||
reward4_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward_qty4" field.</summary>
|
||||
public const int RewardQty4FieldNumber = 10;
|
||||
private int rewardQty4_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RewardQty4 {
|
||||
get { return rewardQty4_; }
|
||||
set {
|
||||
rewardQty4_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward5" field.</summary>
|
||||
public const int Reward5FieldNumber = 11;
|
||||
private int reward5_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Reward5 {
|
||||
get { return reward5_; }
|
||||
set {
|
||||
reward5_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward_qty5" field.</summary>
|
||||
public const int RewardQty5FieldNumber = 12;
|
||||
private int rewardQty5_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RewardQty5 {
|
||||
get { return rewardQty5_; }
|
||||
set {
|
||||
rewardQty5_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward6" field.</summary>
|
||||
public const int Reward6FieldNumber = 13;
|
||||
private int reward6_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Reward6 {
|
||||
get { return reward6_; }
|
||||
set {
|
||||
reward6_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward_qty6" field.</summary>
|
||||
public const int RewardQty6FieldNumber = 14;
|
||||
private int rewardQty6_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RewardQty6 {
|
||||
get { return rewardQty6_; }
|
||||
set {
|
||||
rewardQty6_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as TourGuideQuestGroup);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(TourGuideQuestGroup 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 (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;
|
||||
if (Reward4 != other.Reward4) return false;
|
||||
if (RewardQty4 != other.RewardQty4) return false;
|
||||
if (Reward5 != other.Reward5) return false;
|
||||
if (RewardQty5 != other.RewardQty5) return false;
|
||||
if (Reward6 != other.Reward6) return false;
|
||||
if (RewardQty6 != other.RewardQty6) 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 (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 (Reward4 != 0) hash ^= Reward4.GetHashCode();
|
||||
if (RewardQty4 != 0) hash ^= RewardQty4.GetHashCode();
|
||||
if (Reward5 != 0) hash ^= Reward5.GetHashCode();
|
||||
if (RewardQty5 != 0) hash ^= RewardQty5.GetHashCode();
|
||||
if (Reward6 != 0) hash ^= Reward6.GetHashCode();
|
||||
if (RewardQty6 != 0) hash ^= RewardQty6.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 (Reward1 != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Reward1);
|
||||
}
|
||||
if (RewardQty1 != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RewardQty1);
|
||||
}
|
||||
if (Reward2 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Reward2);
|
||||
}
|
||||
if (RewardQty2 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(RewardQty2);
|
||||
}
|
||||
if (Reward3 != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Reward3);
|
||||
}
|
||||
if (RewardQty3 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(RewardQty3);
|
||||
}
|
||||
if (Reward4 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(Reward4);
|
||||
}
|
||||
if (RewardQty4 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(RewardQty4);
|
||||
}
|
||||
if (Reward5 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(Reward5);
|
||||
}
|
||||
if (RewardQty5 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(RewardQty5);
|
||||
}
|
||||
if (Reward6 != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt32(Reward6);
|
||||
}
|
||||
if (RewardQty6 != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(RewardQty6);
|
||||
}
|
||||
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 (Reward1 != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Reward1);
|
||||
}
|
||||
if (RewardQty1 != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(RewardQty1);
|
||||
}
|
||||
if (Reward2 != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Reward2);
|
||||
}
|
||||
if (RewardQty2 != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(RewardQty2);
|
||||
}
|
||||
if (Reward3 != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Reward3);
|
||||
}
|
||||
if (RewardQty3 != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(RewardQty3);
|
||||
}
|
||||
if (Reward4 != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(Reward4);
|
||||
}
|
||||
if (RewardQty4 != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(RewardQty4);
|
||||
}
|
||||
if (Reward5 != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(Reward5);
|
||||
}
|
||||
if (RewardQty5 != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(RewardQty5);
|
||||
}
|
||||
if (Reward6 != 0) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt32(Reward6);
|
||||
}
|
||||
if (RewardQty6 != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(RewardQty6);
|
||||
}
|
||||
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 (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 (Reward4 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward4);
|
||||
}
|
||||
if (RewardQty4 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty4);
|
||||
}
|
||||
if (Reward5 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward5);
|
||||
}
|
||||
if (RewardQty5 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty5);
|
||||
}
|
||||
if (Reward6 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward6);
|
||||
}
|
||||
if (RewardQty6 != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty6);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(TourGuideQuestGroup other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Order != 0) {
|
||||
Order = other.Order;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (other.Reward4 != 0) {
|
||||
Reward4 = other.Reward4;
|
||||
}
|
||||
if (other.RewardQty4 != 0) {
|
||||
RewardQty4 = other.RewardQty4;
|
||||
}
|
||||
if (other.Reward5 != 0) {
|
||||
Reward5 = other.Reward5;
|
||||
}
|
||||
if (other.RewardQty5 != 0) {
|
||||
RewardQty5 = other.RewardQty5;
|
||||
}
|
||||
if (other.Reward6 != 0) {
|
||||
Reward6 = other.Reward6;
|
||||
}
|
||||
if (other.RewardQty6 != 0) {
|
||||
RewardQty6 = other.RewardQty6;
|
||||
}
|
||||
_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 24: {
|
||||
Reward1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RewardQty1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Reward2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
RewardQty2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Reward3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
RewardQty3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Reward4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
RewardQty4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
Reward5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
RewardQty5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
Reward6 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
RewardQty6 = 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 24: {
|
||||
Reward1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
RewardQty1 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Reward2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
RewardQty2 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Reward3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
RewardQty3 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Reward4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
RewardQty4 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
Reward5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
RewardQty5 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
Reward6 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
RewardQty6 = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user