// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Potential.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 Potential.proto public static partial class PotentialReflection { #region Descriptor /// File descriptor for Potential.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PotentialReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg9Qb3RlbnRpYWwucHJvdG8i5QQKCVBvdGVudGlhbBIKCgJpZBgBIAEoBRIP", "CgdjaGFyX2lkGAIgASgFEhMKC2JyYW5jaF90eXBlGAMgASgFEhEKCW1heF9s", "ZXZlbBgEIAEoBRIWCg5zY29yZV9ncm91cF9pZBgFIAEoBRITCgtidWlsZF9z", "Y29yZRgGIAMoBRIUCgxnYW1lX2Jvb2tfaWQYByABKAUSFwoPZWZmZWN0X2dy", "b3VwX2lkGAggASgFEhQKDGlzX2VmZmVjdGl2ZRgJIAEoCBIWCg5wb3RlbnRp", "YWxfdGFnMRgKIAEoCRIWCg5wb3RlbnRpYWxfdGFnMhgLIAEoCRIWCg5wb3Rl", "bnRpYWxfdGFnMxgMIAEoCRIWCg5wb3RlbnRpYWxfdGFnNBgNIAEoCRIOCgZj", "b3JuZXIYDiABKAUSDQoFc3BfYmcYDyABKAkSDwoHc3BfZmFjZRgQIAEoCRIS", "CgplZmZlY3RfaWQxGBEgASgFEhIKCmVmZmVjdF9pZDIYEiABKAUSEgoKZWZm", "ZWN0X2lkMxgTIAEoBRISCgplZmZlY3RfaWQ0GBQgASgFEhIKCmJyaWVmX2Rl", "c2MYFSABKAkSDAoEZGVzYxgWIAEoCRIOCgZwYXJhbTEYFyABKAkSDgoGcGFy", "YW0yGBggASgJEg4KBnBhcmFtMxgZIAEoCRIOCgZwYXJhbTQYGiABKAkSDgoG", "cGFyYW01GBsgASgJEg4KBnBhcmFtNhgcIAEoCRIOCgZwYXJhbTcYHSABKAkS", "DgoGcGFyYW04GB4gASgJEg4KBnBhcmFtORgfIAEoCRIPCgdwYXJhbTEwGCAg", "ASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Potential), global::Nova.Client.Potential.Parser, new[]{ "Id", "CharId", "BranchType", "MaxLevel", "ScoreGroupId", "BuildScore", "GameBookId", "EffectGroupId", "IsEffective", "PotentialTag1", "PotentialTag2", "PotentialTag3", "PotentialTag4", "Corner", "SpBg", "SpFace", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Potential : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Potential()); 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.PotentialReflection.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 Potential() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Potential(Potential other) : this() { id_ = other.id_; charId_ = other.charId_; branchType_ = other.branchType_; maxLevel_ = other.maxLevel_; scoreGroupId_ = other.scoreGroupId_; buildScore_ = other.buildScore_.Clone(); gameBookId_ = other.gameBookId_; effectGroupId_ = other.effectGroupId_; isEffective_ = other.isEffective_; potentialTag1_ = other.potentialTag1_; potentialTag2_ = other.potentialTag2_; potentialTag3_ = other.potentialTag3_; potentialTag4_ = other.potentialTag4_; corner_ = other.corner_; spBg_ = other.spBg_; spFace_ = other.spFace_; effectId1_ = other.effectId1_; effectId2_ = other.effectId2_; effectId3_ = other.effectId3_; effectId4_ = other.effectId4_; briefDesc_ = other.briefDesc_; desc_ = other.desc_; param1_ = other.param1_; param2_ = other.param2_; param3_ = other.param3_; param4_ = other.param4_; param5_ = other.param5_; param6_ = other.param6_; param7_ = other.param7_; param8_ = other.param8_; param9_ = other.param9_; param10_ = other.param10_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Potential Clone() { return new Potential(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 "char_id" field. public const int CharIdFieldNumber = 2; private int charId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CharId { get { return charId_; } set { charId_ = value; } } /// Field number for the "branch_type" field. public const int BranchTypeFieldNumber = 3; private int branchType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BranchType { get { return branchType_; } set { branchType_ = value; } } /// Field number for the "max_level" field. public const int MaxLevelFieldNumber = 4; private int maxLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MaxLevel { get { return maxLevel_; } set { maxLevel_ = value; } } /// Field number for the "score_group_id" field. public const int ScoreGroupIdFieldNumber = 5; private int scoreGroupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ScoreGroupId { get { return scoreGroupId_; } set { scoreGroupId_ = value; } } /// Field number for the "build_score" field. public const int BuildScoreFieldNumber = 6; private static readonly pb::FieldCodec _repeated_buildScore_codec = pb::FieldCodec.ForInt32(50); private readonly pbc::RepeatedField buildScore_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BuildScore { get { return buildScore_; } } /// Field number for the "game_book_id" field. public const int GameBookIdFieldNumber = 7; private int gameBookId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GameBookId { get { return gameBookId_; } set { gameBookId_ = value; } } /// Field number for the "effect_group_id" field. public const int EffectGroupIdFieldNumber = 8; private int effectGroupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectGroupId { get { return effectGroupId_; } set { effectGroupId_ = value; } } /// Field number for the "is_effective" field. public const int IsEffectiveFieldNumber = 9; private bool isEffective_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsEffective { get { return isEffective_; } set { isEffective_ = value; } } /// Field number for the "potential_tag1" field. public const int PotentialTag1FieldNumber = 10; private string potentialTag1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PotentialTag1 { get { return potentialTag1_; } set { potentialTag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "potential_tag2" field. public const int PotentialTag2FieldNumber = 11; private string potentialTag2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PotentialTag2 { get { return potentialTag2_; } set { potentialTag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "potential_tag3" field. public const int PotentialTag3FieldNumber = 12; private string potentialTag3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PotentialTag3 { get { return potentialTag3_; } set { potentialTag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "potential_tag4" field. public const int PotentialTag4FieldNumber = 13; private string potentialTag4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PotentialTag4 { get { return potentialTag4_; } set { potentialTag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "corner" field. public const int CornerFieldNumber = 14; private int corner_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Corner { get { return corner_; } set { corner_ = value; } } /// Field number for the "sp_bg" field. public const int SpBgFieldNumber = 15; private string spBg_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SpBg { get { return spBg_; } set { spBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "sp_face" field. public const int SpFaceFieldNumber = 16; private string spFace_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SpFace { get { return spFace_; } set { spFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "effect_id1" field. public const int EffectId1FieldNumber = 17; private int effectId1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId1 { get { return effectId1_; } set { effectId1_ = value; } } /// Field number for the "effect_id2" field. public const int EffectId2FieldNumber = 18; private int effectId2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId2 { get { return effectId2_; } set { effectId2_ = value; } } /// Field number for the "effect_id3" field. public const int EffectId3FieldNumber = 19; private int effectId3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId3 { get { return effectId3_; } set { effectId3_ = value; } } /// Field number for the "effect_id4" field. public const int EffectId4FieldNumber = 20; private int effectId4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EffectId4 { get { return effectId4_; } set { effectId4_ = value; } } /// Field number for the "brief_desc" field. public const int BriefDescFieldNumber = 21; private string briefDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BriefDesc { get { return briefDesc_; } set { briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc" field. public const int DescFieldNumber = 22; 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 "param1" field. public const int Param1FieldNumber = 23; private string param1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param1 { get { return param1_; } set { param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param2" field. public const int Param2FieldNumber = 24; private string param2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param2 { get { return param2_; } set { param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param3" field. public const int Param3FieldNumber = 25; private string param3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param3 { get { return param3_; } set { param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param4" field. public const int Param4FieldNumber = 26; private string param4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param4 { get { return param4_; } set { param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param5" field. public const int Param5FieldNumber = 27; private string param5_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param5 { get { return param5_; } set { param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param6" field. public const int Param6FieldNumber = 28; private string param6_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param6 { get { return param6_; } set { param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param7" field. public const int Param7FieldNumber = 29; private string param7_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param7 { get { return param7_; } set { param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param8" field. public const int Param8FieldNumber = 30; private string param8_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param8 { get { return param8_; } set { param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param9" field. public const int Param9FieldNumber = 31; private string param9_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param9 { get { return param9_; } set { param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param10" field. public const int Param10FieldNumber = 32; private string param10_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Param10 { get { return param10_; } set { param10_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Potential); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Potential other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (CharId != other.CharId) return false; if (BranchType != other.BranchType) return false; if (MaxLevel != other.MaxLevel) return false; if (ScoreGroupId != other.ScoreGroupId) return false; if(!buildScore_.Equals(other.buildScore_)) return false; if (GameBookId != other.GameBookId) return false; if (EffectGroupId != other.EffectGroupId) return false; if (IsEffective != other.IsEffective) return false; if (PotentialTag1 != other.PotentialTag1) return false; if (PotentialTag2 != other.PotentialTag2) return false; if (PotentialTag3 != other.PotentialTag3) return false; if (PotentialTag4 != other.PotentialTag4) return false; if (Corner != other.Corner) return false; if (SpBg != other.SpBg) return false; if (SpFace != other.SpFace) return false; if (EffectId1 != other.EffectId1) return false; if (EffectId2 != other.EffectId2) return false; if (EffectId3 != other.EffectId3) return false; if (EffectId4 != other.EffectId4) return false; if (BriefDesc != other.BriefDesc) return false; if (Desc != other.Desc) return false; if (Param1 != other.Param1) return false; if (Param2 != other.Param2) return false; if (Param3 != other.Param3) return false; if (Param4 != other.Param4) return false; if (Param5 != other.Param5) return false; if (Param6 != other.Param6) return false; if (Param7 != other.Param7) return false; if (Param8 != other.Param8) return false; if (Param9 != other.Param9) return false; if (Param10 != other.Param10) 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 (CharId != 0) hash ^= CharId.GetHashCode(); if (BranchType != 0) hash ^= BranchType.GetHashCode(); if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); if (ScoreGroupId != 0) hash ^= ScoreGroupId.GetHashCode(); hash ^= buildScore_.GetHashCode(); if (GameBookId != 0) hash ^= GameBookId.GetHashCode(); if (EffectGroupId != 0) hash ^= EffectGroupId.GetHashCode(); if (IsEffective != false) hash ^= IsEffective.GetHashCode(); if (PotentialTag1.Length != 0) hash ^= PotentialTag1.GetHashCode(); if (PotentialTag2.Length != 0) hash ^= PotentialTag2.GetHashCode(); if (PotentialTag3.Length != 0) hash ^= PotentialTag3.GetHashCode(); if (PotentialTag4.Length != 0) hash ^= PotentialTag4.GetHashCode(); if (Corner != 0) hash ^= Corner.GetHashCode(); if (SpBg.Length != 0) hash ^= SpBg.GetHashCode(); if (SpFace.Length != 0) hash ^= SpFace.GetHashCode(); if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (Param1.Length != 0) hash ^= Param1.GetHashCode(); if (Param2.Length != 0) hash ^= Param2.GetHashCode(); if (Param3.Length != 0) hash ^= Param3.GetHashCode(); if (Param4.Length != 0) hash ^= Param4.GetHashCode(); if (Param5.Length != 0) hash ^= Param5.GetHashCode(); if (Param6.Length != 0) hash ^= Param6.GetHashCode(); if (Param7.Length != 0) hash ^= Param7.GetHashCode(); if (Param8.Length != 0) hash ^= Param8.GetHashCode(); if (Param9.Length != 0) hash ^= Param9.GetHashCode(); if (Param10.Length != 0) hash ^= Param10.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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (BranchType != 0) { output.WriteRawTag(24); output.WriteInt32(BranchType); } if (MaxLevel != 0) { output.WriteRawTag(32); output.WriteInt32(MaxLevel); } if (ScoreGroupId != 0) { output.WriteRawTag(40); output.WriteInt32(ScoreGroupId); } buildScore_.WriteTo(output, _repeated_buildScore_codec); if (GameBookId != 0) { output.WriteRawTag(56); output.WriteInt32(GameBookId); } if (EffectGroupId != 0) { output.WriteRawTag(64); output.WriteInt32(EffectGroupId); } if (IsEffective != false) { output.WriteRawTag(72); output.WriteBool(IsEffective); } if (PotentialTag1.Length != 0) { output.WriteRawTag(82); output.WriteString(PotentialTag1); } if (PotentialTag2.Length != 0) { output.WriteRawTag(90); output.WriteString(PotentialTag2); } if (PotentialTag3.Length != 0) { output.WriteRawTag(98); output.WriteString(PotentialTag3); } if (PotentialTag4.Length != 0) { output.WriteRawTag(106); output.WriteString(PotentialTag4); } if (Corner != 0) { output.WriteRawTag(112); output.WriteInt32(Corner); } if (SpBg.Length != 0) { output.WriteRawTag(122); output.WriteString(SpBg); } if (SpFace.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(SpFace); } if (EffectId1 != 0) { output.WriteRawTag(136, 1); output.WriteInt32(EffectId1); } if (EffectId2 != 0) { output.WriteRawTag(144, 1); output.WriteInt32(EffectId2); } if (EffectId3 != 0) { output.WriteRawTag(152, 1); output.WriteInt32(EffectId3); } if (EffectId4 != 0) { output.WriteRawTag(160, 1); output.WriteInt32(EffectId4); } if (BriefDesc.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(BriefDesc); } if (Desc.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Desc); } if (Param1.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(226, 1); output.WriteString(Param6); } if (Param7.Length != 0) { output.WriteRawTag(234, 1); output.WriteString(Param7); } if (Param8.Length != 0) { output.WriteRawTag(242, 1); output.WriteString(Param8); } if (Param9.Length != 0) { output.WriteRawTag(250, 1); output.WriteString(Param9); } if (Param10.Length != 0) { output.WriteRawTag(130, 2); output.WriteString(Param10); } 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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (BranchType != 0) { output.WriteRawTag(24); output.WriteInt32(BranchType); } if (MaxLevel != 0) { output.WriteRawTag(32); output.WriteInt32(MaxLevel); } if (ScoreGroupId != 0) { output.WriteRawTag(40); output.WriteInt32(ScoreGroupId); } buildScore_.WriteTo(ref output, _repeated_buildScore_codec); if (GameBookId != 0) { output.WriteRawTag(56); output.WriteInt32(GameBookId); } if (EffectGroupId != 0) { output.WriteRawTag(64); output.WriteInt32(EffectGroupId); } if (IsEffective != false) { output.WriteRawTag(72); output.WriteBool(IsEffective); } if (PotentialTag1.Length != 0) { output.WriteRawTag(82); output.WriteString(PotentialTag1); } if (PotentialTag2.Length != 0) { output.WriteRawTag(90); output.WriteString(PotentialTag2); } if (PotentialTag3.Length != 0) { output.WriteRawTag(98); output.WriteString(PotentialTag3); } if (PotentialTag4.Length != 0) { output.WriteRawTag(106); output.WriteString(PotentialTag4); } if (Corner != 0) { output.WriteRawTag(112); output.WriteInt32(Corner); } if (SpBg.Length != 0) { output.WriteRawTag(122); output.WriteString(SpBg); } if (SpFace.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(SpFace); } if (EffectId1 != 0) { output.WriteRawTag(136, 1); output.WriteInt32(EffectId1); } if (EffectId2 != 0) { output.WriteRawTag(144, 1); output.WriteInt32(EffectId2); } if (EffectId3 != 0) { output.WriteRawTag(152, 1); output.WriteInt32(EffectId3); } if (EffectId4 != 0) { output.WriteRawTag(160, 1); output.WriteInt32(EffectId4); } if (BriefDesc.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(BriefDesc); } if (Desc.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(Desc); } if (Param1.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(Param1); } if (Param2.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(Param2); } if (Param3.Length != 0) { output.WriteRawTag(202, 1); output.WriteString(Param3); } if (Param4.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(Param4); } if (Param5.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(Param5); } if (Param6.Length != 0) { output.WriteRawTag(226, 1); output.WriteString(Param6); } if (Param7.Length != 0) { output.WriteRawTag(234, 1); output.WriteString(Param7); } if (Param8.Length != 0) { output.WriteRawTag(242, 1); output.WriteString(Param8); } if (Param9.Length != 0) { output.WriteRawTag(250, 1); output.WriteString(Param9); } if (Param10.Length != 0) { output.WriteRawTag(130, 2); output.WriteString(Param10); } 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 (CharId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); } if (BranchType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BranchType); } if (MaxLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); } if (ScoreGroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreGroupId); } size += buildScore_.CalculateSize(_repeated_buildScore_codec); if (GameBookId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameBookId); } if (EffectGroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectGroupId); } if (IsEffective != false) { size += 1 + 1; } if (PotentialTag1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag1); } if (PotentialTag2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag2); } if (PotentialTag3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag3); } if (PotentialTag4.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag4); } if (Corner != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Corner); } if (SpBg.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SpBg); } if (SpFace.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(SpFace); } if (EffectId1 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); } if (EffectId2 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); } if (EffectId3 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); } if (EffectId4 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); } if (BriefDesc.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); } if (Desc.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Param1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); } if (Param2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); } if (Param3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); } if (Param4.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); } if (Param5.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); } if (Param6.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); } if (Param7.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); } if (Param8.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); } if (Param9.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); } if (Param10.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Potential other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.CharId != 0) { CharId = other.CharId; } if (other.BranchType != 0) { BranchType = other.BranchType; } if (other.MaxLevel != 0) { MaxLevel = other.MaxLevel; } if (other.ScoreGroupId != 0) { ScoreGroupId = other.ScoreGroupId; } buildScore_.Add(other.buildScore_); if (other.GameBookId != 0) { GameBookId = other.GameBookId; } if (other.EffectGroupId != 0) { EffectGroupId = other.EffectGroupId; } if (other.IsEffective != false) { IsEffective = other.IsEffective; } if (other.PotentialTag1.Length != 0) { PotentialTag1 = other.PotentialTag1; } if (other.PotentialTag2.Length != 0) { PotentialTag2 = other.PotentialTag2; } if (other.PotentialTag3.Length != 0) { PotentialTag3 = other.PotentialTag3; } if (other.PotentialTag4.Length != 0) { PotentialTag4 = other.PotentialTag4; } if (other.Corner != 0) { Corner = other.Corner; } if (other.SpBg.Length != 0) { SpBg = other.SpBg; } if (other.SpFace.Length != 0) { SpFace = other.SpFace; } if (other.EffectId1 != 0) { EffectId1 = other.EffectId1; } if (other.EffectId2 != 0) { EffectId2 = other.EffectId2; } if (other.EffectId3 != 0) { EffectId3 = other.EffectId3; } if (other.EffectId4 != 0) { EffectId4 = other.EffectId4; } if (other.BriefDesc.Length != 0) { BriefDesc = other.BriefDesc; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.Param1.Length != 0) { Param1 = other.Param1; } if (other.Param2.Length != 0) { Param2 = other.Param2; } if (other.Param3.Length != 0) { Param3 = other.Param3; } if (other.Param4.Length != 0) { Param4 = other.Param4; } if (other.Param5.Length != 0) { Param5 = other.Param5; } if (other.Param6.Length != 0) { Param6 = other.Param6; } if (other.Param7.Length != 0) { Param7 = other.Param7; } if (other.Param8.Length != 0) { Param8 = other.Param8; } if (other.Param9.Length != 0) { Param9 = other.Param9; } if (other.Param10.Length != 0) { Param10 = other.Param10; } _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: { CharId = input.ReadInt32(); break; } case 24: { BranchType = input.ReadInt32(); break; } case 32: { MaxLevel = input.ReadInt32(); break; } case 40: { ScoreGroupId = input.ReadInt32(); break; } case 50: case 48: { buildScore_.AddEntriesFrom(input, _repeated_buildScore_codec); break; } case 56: { GameBookId = input.ReadInt32(); break; } case 64: { EffectGroupId = input.ReadInt32(); break; } case 72: { IsEffective = input.ReadBool(); break; } case 82: { PotentialTag1 = input.ReadString(); break; } case 90: { PotentialTag2 = input.ReadString(); break; } case 98: { PotentialTag3 = input.ReadString(); break; } case 106: { PotentialTag4 = input.ReadString(); break; } case 112: { Corner = input.ReadInt32(); break; } case 122: { SpBg = input.ReadString(); break; } case 130: { SpFace = input.ReadString(); break; } case 136: { EffectId1 = input.ReadInt32(); break; } case 144: { EffectId2 = input.ReadInt32(); break; } case 152: { EffectId3 = input.ReadInt32(); break; } case 160: { EffectId4 = input.ReadInt32(); break; } case 170: { BriefDesc = input.ReadString(); break; } case 178: { Desc = input.ReadString(); break; } case 186: { Param1 = input.ReadString(); break; } case 194: { Param2 = input.ReadString(); break; } case 202: { Param3 = input.ReadString(); break; } case 210: { Param4 = input.ReadString(); break; } case 218: { Param5 = input.ReadString(); break; } case 226: { Param6 = input.ReadString(); break; } case 234: { Param7 = input.ReadString(); break; } case 242: { Param8 = input.ReadString(); break; } case 250: { Param9 = input.ReadString(); break; } case 258: { Param10 = input.ReadString(); 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: { CharId = input.ReadInt32(); break; } case 24: { BranchType = input.ReadInt32(); break; } case 32: { MaxLevel = input.ReadInt32(); break; } case 40: { ScoreGroupId = input.ReadInt32(); break; } case 50: case 48: { buildScore_.AddEntriesFrom(ref input, _repeated_buildScore_codec); break; } case 56: { GameBookId = input.ReadInt32(); break; } case 64: { EffectGroupId = input.ReadInt32(); break; } case 72: { IsEffective = input.ReadBool(); break; } case 82: { PotentialTag1 = input.ReadString(); break; } case 90: { PotentialTag2 = input.ReadString(); break; } case 98: { PotentialTag3 = input.ReadString(); break; } case 106: { PotentialTag4 = input.ReadString(); break; } case 112: { Corner = input.ReadInt32(); break; } case 122: { SpBg = input.ReadString(); break; } case 130: { SpFace = input.ReadString(); break; } case 136: { EffectId1 = input.ReadInt32(); break; } case 144: { EffectId2 = input.ReadInt32(); break; } case 152: { EffectId3 = input.ReadInt32(); break; } case 160: { EffectId4 = input.ReadInt32(); break; } case 170: { BriefDesc = input.ReadString(); break; } case 178: { Desc = input.ReadString(); break; } case 186: { Param1 = input.ReadString(); break; } case 194: { Param2 = input.ReadString(); break; } case 202: { Param3 = input.ReadString(); break; } case 210: { Param4 = input.ReadString(); break; } case 218: { Param5 = input.ReadString(); break; } case 226: { Param6 = input.ReadString(); break; } case 234: { Param7 = input.ReadString(); break; } case 242: { Param8 = input.ReadString(); break; } case 250: { Param9 = input.ReadString(); break; } case 258: { Param10 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code