//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Achievement.proto
//
#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 {
/// Holder for reflection information generated from Achievement.proto
public static partial class AchievementReflection {
#region Descriptor
/// File descriptor for Achievement.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static AchievementReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFBY2hpZXZlbWVudC5wcm90byKTAwoLQWNoaWV2ZW1lbnQSCgoCaWQYASAB",
"KAUSEgoKYWNoaWV2ZV9pZBgCIAEoBRINCgV0aXRsZRgDIAEoCRIMCgRkZXNj",
"GAQgASgJEg4KBnJhcml0eRgFIAEoBRIMCgR0eXBlGAYgASgFEgwKBGhpZGUY",
"ByABKAgSDwoHanVtcF90bxgIIAEoBRIVCg1jb21wbGV0ZV9jb25kGAkgASgF",
"EhwKFGNvbXBsZXRlX2NvbmRfY2xpZW50GAogASgFEhQKDGFpbV9udW1fc2hv",
"dxgLIAEoBRIVCg1wcmVyZXF1aXNpdGVzGAwgAygFEhIKCmxldmVsX3R5cGUY",
"DSABKAUSHwoXY2xpZW50X2NvbXBsZXRlX3BhcmFtczEYDiADKAUSHwoXY2xp",
"ZW50X2NvbXBsZXRlX3BhcmFtczIYDyADKAUSDAoEdGlkMRgQIAEoBRIMCgRx",
"dHkxGBEgASgFEgwKBHRpZDIYEiABKAUSDAoEcXR5MhgTIAEoBRIMCgR0aWQz",
"GBQgASgFEgwKBHF0eTMYFSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Achievement), global::Nova.Client.Achievement.Parser, new[]{ "Id", "AchieveId", "Title", "Desc", "Rarity", "Type", "Hide", "JumpTo", "CompleteCond", "CompleteCondClient", "AimNumShow", "Prerequisites", "LevelType", "ClientCompleteParams1", "ClientCompleteParams2", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Achievement : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Achievement());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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.AchievementReflection.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 Achievement() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Achievement(Achievement other) : this() {
id_ = other.id_;
achieveId_ = other.achieveId_;
title_ = other.title_;
desc_ = other.desc_;
rarity_ = other.rarity_;
type_ = other.type_;
hide_ = other.hide_;
jumpTo_ = other.jumpTo_;
completeCond_ = other.completeCond_;
completeCondClient_ = other.completeCondClient_;
aimNumShow_ = other.aimNumShow_;
prerequisites_ = other.prerequisites_.Clone();
levelType_ = other.levelType_;
clientCompleteParams1_ = other.clientCompleteParams1_.Clone();
clientCompleteParams2_ = other.clientCompleteParams2_.Clone();
tid1_ = other.tid1_;
qty1_ = other.qty1_;
tid2_ = other.tid2_;
qty2_ = other.qty2_;
tid3_ = other.tid3_;
qty3_ = other.qty3_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Achievement Clone() {
return new Achievement(this);
}
/// Field number for the "id" field.
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;
}
}
/// Field number for the "achieve_id" field.
public const int AchieveIdFieldNumber = 2;
private int achieveId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AchieveId {
get { return achieveId_; }
set {
achieveId_ = value;
}
}
/// Field number for the "title" field.
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");
}
}
/// Field number for the "desc" field.
public const int DescFieldNumber = 4;
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");
}
}
/// Field number for the "rarity" field.
public const int RarityFieldNumber = 5;
private int rarity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Rarity {
get { return rarity_; }
set {
rarity_ = value;
}
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 6;
private int type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "hide" field.
public const int HideFieldNumber = 7;
private bool hide_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Hide {
get { return hide_; }
set {
hide_ = value;
}
}
/// Field number for the "jump_to" field.
public const int JumpToFieldNumber = 8;
private int jumpTo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int JumpTo {
get { return jumpTo_; }
set {
jumpTo_ = value;
}
}
/// Field number for the "complete_cond" field.
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;
}
}
/// Field number for the "complete_cond_client" field.
public const int CompleteCondClientFieldNumber = 10;
private int completeCondClient_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CompleteCondClient {
get { return completeCondClient_; }
set {
completeCondClient_ = value;
}
}
/// Field number for the "aim_num_show" field.
public const int AimNumShowFieldNumber = 11;
private int aimNumShow_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AimNumShow {
get { return aimNumShow_; }
set {
aimNumShow_ = value;
}
}
/// Field number for the "prerequisites" field.
public const int PrerequisitesFieldNumber = 12;
private static readonly pb::FieldCodec _repeated_prerequisites_codec
= pb::FieldCodec.ForInt32(98);
private readonly pbc::RepeatedField prerequisites_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Prerequisites {
get { return prerequisites_; }
}
/// Field number for the "level_type" field.
public const int LevelTypeFieldNumber = 13;
private int levelType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LevelType {
get { return levelType_; }
set {
levelType_ = value;
}
}
/// Field number for the "client_complete_params1" field.
public const int ClientCompleteParams1FieldNumber = 14;
private static readonly pb::FieldCodec _repeated_clientCompleteParams1_codec
= pb::FieldCodec.ForInt32(114);
private readonly pbc::RepeatedField clientCompleteParams1_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ClientCompleteParams1 {
get { return clientCompleteParams1_; }
}
/// Field number for the "client_complete_params2" field.
public const int ClientCompleteParams2FieldNumber = 15;
private static readonly pb::FieldCodec _repeated_clientCompleteParams2_codec
= pb::FieldCodec.ForInt32(122);
private readonly pbc::RepeatedField clientCompleteParams2_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ClientCompleteParams2 {
get { return clientCompleteParams2_; }
}
/// Field number for the "tid1" field.
public const int Tid1FieldNumber = 16;
private int tid1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Tid1 {
get { return tid1_; }
set {
tid1_ = value;
}
}
/// Field number for the "qty1" field.
public const int Qty1FieldNumber = 17;
private int qty1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Qty1 {
get { return qty1_; }
set {
qty1_ = value;
}
}
/// Field number for the "tid2" field.
public const int Tid2FieldNumber = 18;
private int tid2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Tid2 {
get { return tid2_; }
set {
tid2_ = value;
}
}
/// Field number for the "qty2" field.
public const int Qty2FieldNumber = 19;
private int qty2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Qty2 {
get { return qty2_; }
set {
qty2_ = value;
}
}
/// Field number for the "tid3" field.
public const int Tid3FieldNumber = 20;
private int tid3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Tid3 {
get { return tid3_; }
set {
tid3_ = value;
}
}
/// Field number for the "qty3" field.
public const int Qty3FieldNumber = 21;
private int qty3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Qty3 {
get { return qty3_; }
set {
qty3_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Achievement);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Achievement other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (AchieveId != other.AchieveId) return false;
if (Title != other.Title) return false;
if (Desc != other.Desc) return false;
if (Rarity != other.Rarity) return false;
if (Type != other.Type) return false;
if (Hide != other.Hide) return false;
if (JumpTo != other.JumpTo) return false;
if (CompleteCond != other.CompleteCond) return false;
if (CompleteCondClient != other.CompleteCondClient) return false;
if (AimNumShow != other.AimNumShow) return false;
if(!prerequisites_.Equals(other.prerequisites_)) return false;
if (LevelType != other.LevelType) return false;
if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false;
if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false;
if (Tid1 != other.Tid1) return false;
if (Qty1 != other.Qty1) return false;
if (Tid2 != other.Tid2) return false;
if (Qty2 != other.Qty2) return false;
if (Tid3 != other.Tid3) return false;
if (Qty3 != other.Qty3) 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 (AchieveId != 0) hash ^= AchieveId.GetHashCode();
if (Title.Length != 0) hash ^= Title.GetHashCode();
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
if (Rarity != 0) hash ^= Rarity.GetHashCode();
if (Type != 0) hash ^= Type.GetHashCode();
if (Hide != false) hash ^= Hide.GetHashCode();
if (JumpTo != 0) hash ^= JumpTo.GetHashCode();
if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode();
if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode();
if (AimNumShow != 0) hash ^= AimNumShow.GetHashCode();
hash ^= prerequisites_.GetHashCode();
if (LevelType != 0) hash ^= LevelType.GetHashCode();
hash ^= clientCompleteParams1_.GetHashCode();
hash ^= clientCompleteParams2_.GetHashCode();
if (Tid1 != 0) hash ^= Tid1.GetHashCode();
if (Qty1 != 0) hash ^= Qty1.GetHashCode();
if (Tid2 != 0) hash ^= Tid2.GetHashCode();
if (Qty2 != 0) hash ^= Qty2.GetHashCode();
if (Tid3 != 0) hash ^= Tid3.GetHashCode();
if (Qty3 != 0) hash ^= Qty3.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 (AchieveId != 0) {
output.WriteRawTag(16);
output.WriteInt32(AchieveId);
}
if (Title.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Title);
}
if (Desc.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Desc);
}
if (Rarity != 0) {
output.WriteRawTag(40);
output.WriteInt32(Rarity);
}
if (Type != 0) {
output.WriteRawTag(48);
output.WriteInt32(Type);
}
if (Hide != false) {
output.WriteRawTag(56);
output.WriteBool(Hide);
}
if (JumpTo != 0) {
output.WriteRawTag(64);
output.WriteInt32(JumpTo);
}
if (CompleteCond != 0) {
output.WriteRawTag(72);
output.WriteInt32(CompleteCond);
}
if (CompleteCondClient != 0) {
output.WriteRawTag(80);
output.WriteInt32(CompleteCondClient);
}
if (AimNumShow != 0) {
output.WriteRawTag(88);
output.WriteInt32(AimNumShow);
}
prerequisites_.WriteTo(output, _repeated_prerequisites_codec);
if (LevelType != 0) {
output.WriteRawTag(104);
output.WriteInt32(LevelType);
}
clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec);
clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec);
if (Tid1 != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(Tid1);
}
if (Qty1 != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(Qty1);
}
if (Tid2 != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(Tid2);
}
if (Qty2 != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(Qty2);
}
if (Tid3 != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Tid3);
}
if (Qty3 != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(Qty3);
}
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 (AchieveId != 0) {
output.WriteRawTag(16);
output.WriteInt32(AchieveId);
}
if (Title.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Title);
}
if (Desc.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Desc);
}
if (Rarity != 0) {
output.WriteRawTag(40);
output.WriteInt32(Rarity);
}
if (Type != 0) {
output.WriteRawTag(48);
output.WriteInt32(Type);
}
if (Hide != false) {
output.WriteRawTag(56);
output.WriteBool(Hide);
}
if (JumpTo != 0) {
output.WriteRawTag(64);
output.WriteInt32(JumpTo);
}
if (CompleteCond != 0) {
output.WriteRawTag(72);
output.WriteInt32(CompleteCond);
}
if (CompleteCondClient != 0) {
output.WriteRawTag(80);
output.WriteInt32(CompleteCondClient);
}
if (AimNumShow != 0) {
output.WriteRawTag(88);
output.WriteInt32(AimNumShow);
}
prerequisites_.WriteTo(ref output, _repeated_prerequisites_codec);
if (LevelType != 0) {
output.WriteRawTag(104);
output.WriteInt32(LevelType);
}
clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec);
clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec);
if (Tid1 != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(Tid1);
}
if (Qty1 != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(Qty1);
}
if (Tid2 != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(Tid2);
}
if (Qty2 != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(Qty2);
}
if (Tid3 != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Tid3);
}
if (Qty3 != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(Qty3);
}
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 (AchieveId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AchieveId);
}
if (Title.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
}
if (Desc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
}
if (Rarity != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity);
}
if (Type != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
}
if (Hide != false) {
size += 1 + 1;
}
if (JumpTo != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo);
}
if (CompleteCond != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond);
}
if (CompleteCondClient != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient);
}
if (AimNumShow != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AimNumShow);
}
size += prerequisites_.CalculateSize(_repeated_prerequisites_codec);
if (LevelType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelType);
}
size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec);
size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec);
if (Tid1 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid1);
}
if (Qty1 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty1);
}
if (Tid2 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid2);
}
if (Qty2 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty2);
}
if (Tid3 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid3);
}
if (Qty3 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty3);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Achievement other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.AchieveId != 0) {
AchieveId = other.AchieveId;
}
if (other.Title.Length != 0) {
Title = other.Title;
}
if (other.Desc.Length != 0) {
Desc = other.Desc;
}
if (other.Rarity != 0) {
Rarity = other.Rarity;
}
if (other.Type != 0) {
Type = other.Type;
}
if (other.Hide != false) {
Hide = other.Hide;
}
if (other.JumpTo != 0) {
JumpTo = other.JumpTo;
}
if (other.CompleteCond != 0) {
CompleteCond = other.CompleteCond;
}
if (other.CompleteCondClient != 0) {
CompleteCondClient = other.CompleteCondClient;
}
if (other.AimNumShow != 0) {
AimNumShow = other.AimNumShow;
}
prerequisites_.Add(other.prerequisites_);
if (other.LevelType != 0) {
LevelType = other.LevelType;
}
clientCompleteParams1_.Add(other.clientCompleteParams1_);
clientCompleteParams2_.Add(other.clientCompleteParams2_);
if (other.Tid1 != 0) {
Tid1 = other.Tid1;
}
if (other.Qty1 != 0) {
Qty1 = other.Qty1;
}
if (other.Tid2 != 0) {
Tid2 = other.Tid2;
}
if (other.Qty2 != 0) {
Qty2 = other.Qty2;
}
if (other.Tid3 != 0) {
Tid3 = other.Tid3;
}
if (other.Qty3 != 0) {
Qty3 = other.Qty3;
}
_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: {
AchieveId = input.ReadInt32();
break;
}
case 26: {
Title = input.ReadString();
break;
}
case 34: {
Desc = input.ReadString();
break;
}
case 40: {
Rarity = input.ReadInt32();
break;
}
case 48: {
Type = input.ReadInt32();
break;
}
case 56: {
Hide = input.ReadBool();
break;
}
case 64: {
JumpTo = input.ReadInt32();
break;
}
case 72: {
CompleteCond = input.ReadInt32();
break;
}
case 80: {
CompleteCondClient = input.ReadInt32();
break;
}
case 88: {
AimNumShow = input.ReadInt32();
break;
}
case 98:
case 96: {
prerequisites_.AddEntriesFrom(input, _repeated_prerequisites_codec);
break;
}
case 104: {
LevelType = input.ReadInt32();
break;
}
case 114:
case 112: {
clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec);
break;
}
case 122:
case 120: {
clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec);
break;
}
case 128: {
Tid1 = input.ReadInt32();
break;
}
case 136: {
Qty1 = input.ReadInt32();
break;
}
case 144: {
Tid2 = input.ReadInt32();
break;
}
case 152: {
Qty2 = input.ReadInt32();
break;
}
case 160: {
Tid3 = input.ReadInt32();
break;
}
case 168: {
Qty3 = 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: {
AchieveId = input.ReadInt32();
break;
}
case 26: {
Title = input.ReadString();
break;
}
case 34: {
Desc = input.ReadString();
break;
}
case 40: {
Rarity = input.ReadInt32();
break;
}
case 48: {
Type = input.ReadInt32();
break;
}
case 56: {
Hide = input.ReadBool();
break;
}
case 64: {
JumpTo = input.ReadInt32();
break;
}
case 72: {
CompleteCond = input.ReadInt32();
break;
}
case 80: {
CompleteCondClient = input.ReadInt32();
break;
}
case 88: {
AimNumShow = input.ReadInt32();
break;
}
case 98:
case 96: {
prerequisites_.AddEntriesFrom(ref input, _repeated_prerequisites_codec);
break;
}
case 104: {
LevelType = input.ReadInt32();
break;
}
case 114:
case 112: {
clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec);
break;
}
case 122:
case 120: {
clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec);
break;
}
case 128: {
Tid1 = input.ReadInt32();
break;
}
case 136: {
Qty1 = input.ReadInt32();
break;
}
case 144: {
Tid2 = input.ReadInt32();
break;
}
case 152: {
Qty2 = input.ReadInt32();
break;
}
case 160: {
Tid3 = input.ReadInt32();
break;
}
case 168: {
Qty3 = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code