// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GridFightGameBasicInfo.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from GridFightGameBasicInfo.proto public static partial class GridFightGameBasicInfoReflection { #region Descriptor /// File descriptor for GridFightGameBasicInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GridFightGameBasicInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxHcmlkRmlnaHRHYW1lQmFzaWNJbmZvLnByb3RvGhdHcmlkRmlnaHRMb2Nr", "SW5mby5wcm90bxoRT1BJQkJQQ0hGSUkucHJvdG8aF0dyaWRGaWdodExvY2tU", "eXBlLnByb3RvGhxSb2xlVHJhY2tFcXVpcG1lbnRJbmZvLnByb3RvIrkFChZH", "cmlkRmlnaHRHYW1lQmFzaWNJbmZvEhwKFGdyaWRfZmlnaHRfbGluZXVwX2hw", "GAMgASgNEiUKCWxvY2tfdHlwZRgGIAEoDjISLkdyaWRGaWdodExvY2tUeXBl", "EiIKC09DTUdNRUhFQ0JCGPQMIAEoCzIMLk9QSUJCUENIRklJEiMKG2dyaWRf", "ZmlnaHRfbWF4X2F2YXRhcl9jb3VudBgMIAEoDRIbChNncmlkX2ZpZ2h0X2N1", "cl9nb2xkGAQgASgNEiAKGGdyaWRfZmlnaHRfbGluZXVwX21heF9ocBgLIAEo", "DRIUCgtMUEVNUEtGTk5PTBiADyADKA0SHAoUZ3JpZF9maWdodF9jdXJfbGV2", "ZWwYAiABKA0SGwoTdHJhY2tfdHJhaXRfaWRfbGlzdBgPIAMoDRIlChxncmlk", "X2ZpZ2h0X3RhcmdldF9ndWlkZV9jb2RlGM4BIAEoCRIdChVncmlkX2ZpZ2h0", "X2xldmVsX2Nvc3QYDSABKA0SIAoYZ3JpZF9maWdodF9jb21ib193aW5fbnVt", "GAEgASgNEjoKGXJvbGVfdHJhY2tfZXF1aXBtZW50X2xpc3QYBSADKAsyFy5S", "b2xlVHJhY2tFcXVpcG1lbnRJbmZvEisKDmdhbWVfbG9ja19pbmZvGMwIIAEo", "CzISLkdyaWRGaWdodExvY2tJbmZvEiQKHGdyaWRfZmlnaHRfbWF4X2ludGVy", "ZXN0X2dvbGQYCSABKA0SHAoUZ3JpZF9maWdodF9tYXhfbGV2ZWwYCiABKA0S", "JgoeZ3JpZF9maWdodF9vZmZfZmllbGRfbWF4X2NvdW50GA4gASgNEiIKGmdy", "aWRfZmlnaHRfbWF4X2ZpZWxkX2NvdW50GAcgASgNEiAKGGdyaWRfZmlnaHRf", "Y3VyX2xldmVsX2V4cBgIIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy", "LlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightLockInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.OPIBBPCHFIIReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLockTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.RoleTrackEquipmentInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo), global::EggLink.DanhengServer.Proto.GridFightGameBasicInfo.Parser, new[]{ "GridFightLineupHp", "LockType", "OCMGMEHECBB", "GridFightMaxAvatarCount", "GridFightCurGold", "GridFightLineupMaxHp", "LPEMPKFNNOL", "GridFightCurLevel", "TrackTraitIdList", "GridFightTargetGuideCode", "GridFightLevelCost", "GridFightComboWinNum", "RoleTrackEquipmentList", "GameLockInfo", "GridFightMaxInterestGold", "GridFightMaxLevel", "GridFightOffFieldMaxCount", "GridFightMaxFieldCount", "GridFightCurLevelExp" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightGameBasicInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightGameBasicInfo()); 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::EggLink.DanhengServer.Proto.GridFightGameBasicInfoReflection.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 GridFightGameBasicInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameBasicInfo(GridFightGameBasicInfo other) : this() { gridFightLineupHp_ = other.gridFightLineupHp_; lockType_ = other.lockType_; oCMGMEHECBB_ = other.oCMGMEHECBB_ != null ? other.oCMGMEHECBB_.Clone() : null; gridFightMaxAvatarCount_ = other.gridFightMaxAvatarCount_; gridFightCurGold_ = other.gridFightCurGold_; gridFightLineupMaxHp_ = other.gridFightLineupMaxHp_; lPEMPKFNNOL_ = other.lPEMPKFNNOL_.Clone(); gridFightCurLevel_ = other.gridFightCurLevel_; trackTraitIdList_ = other.trackTraitIdList_.Clone(); gridFightTargetGuideCode_ = other.gridFightTargetGuideCode_; gridFightLevelCost_ = other.gridFightLevelCost_; gridFightComboWinNum_ = other.gridFightComboWinNum_; roleTrackEquipmentList_ = other.roleTrackEquipmentList_.Clone(); gameLockInfo_ = other.gameLockInfo_ != null ? other.gameLockInfo_.Clone() : null; gridFightMaxInterestGold_ = other.gridFightMaxInterestGold_; gridFightMaxLevel_ = other.gridFightMaxLevel_; gridFightOffFieldMaxCount_ = other.gridFightOffFieldMaxCount_; gridFightMaxFieldCount_ = other.gridFightMaxFieldCount_; gridFightCurLevelExp_ = other.gridFightCurLevelExp_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightGameBasicInfo Clone() { return new GridFightGameBasicInfo(this); } /// Field number for the "grid_fight_lineup_hp" field. public const int GridFightLineupHpFieldNumber = 3; private uint gridFightLineupHp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightLineupHp { get { return gridFightLineupHp_; } set { gridFightLineupHp_ = value; } } /// Field number for the "lock_type" field. public const int LockTypeFieldNumber = 6; private global::EggLink.DanhengServer.Proto.GridFightLockType lockType_ = global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightLockType LockType { get { return lockType_; } set { lockType_ = value; } } /// Field number for the "OCMGMEHECBB" field. public const int OCMGMEHECBBFieldNumber = 1652; private global::EggLink.DanhengServer.Proto.OPIBBPCHFII oCMGMEHECBB_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.OPIBBPCHFII OCMGMEHECBB { get { return oCMGMEHECBB_; } set { oCMGMEHECBB_ = value; } } /// Field number for the "grid_fight_max_avatar_count" field. public const int GridFightMaxAvatarCountFieldNumber = 12; private uint gridFightMaxAvatarCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightMaxAvatarCount { get { return gridFightMaxAvatarCount_; } set { gridFightMaxAvatarCount_ = value; } } /// Field number for the "grid_fight_cur_gold" field. public const int GridFightCurGoldFieldNumber = 4; private uint gridFightCurGold_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightCurGold { get { return gridFightCurGold_; } set { gridFightCurGold_ = value; } } /// Field number for the "grid_fight_lineup_max_hp" field. public const int GridFightLineupMaxHpFieldNumber = 11; private uint gridFightLineupMaxHp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightLineupMaxHp { get { return gridFightLineupMaxHp_; } set { gridFightLineupMaxHp_ = value; } } /// Field number for the "LPEMPKFNNOL" field. public const int LPEMPKFNNOLFieldNumber = 1920; private static readonly pb::FieldCodec _repeated_lPEMPKFNNOL_codec = pb::FieldCodec.ForUInt32(15362); private readonly pbc::RepeatedField lPEMPKFNNOL_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LPEMPKFNNOL { get { return lPEMPKFNNOL_; } } /// Field number for the "grid_fight_cur_level" field. public const int GridFightCurLevelFieldNumber = 2; private uint gridFightCurLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightCurLevel { get { return gridFightCurLevel_; } set { gridFightCurLevel_ = value; } } /// Field number for the "track_trait_id_list" field. public const int TrackTraitIdListFieldNumber = 15; private static readonly pb::FieldCodec _repeated_trackTraitIdList_codec = pb::FieldCodec.ForUInt32(122); private readonly pbc::RepeatedField trackTraitIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TrackTraitIdList { get { return trackTraitIdList_; } } /// Field number for the "grid_fight_target_guide_code" field. public const int GridFightTargetGuideCodeFieldNumber = 206; private string gridFightTargetGuideCode_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GridFightTargetGuideCode { get { return gridFightTargetGuideCode_; } set { gridFightTargetGuideCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "grid_fight_level_cost" field. public const int GridFightLevelCostFieldNumber = 13; private uint gridFightLevelCost_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightLevelCost { get { return gridFightLevelCost_; } set { gridFightLevelCost_ = value; } } /// Field number for the "grid_fight_combo_win_num" field. public const int GridFightComboWinNumFieldNumber = 1; private uint gridFightComboWinNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightComboWinNum { get { return gridFightComboWinNum_; } set { gridFightComboWinNum_ = value; } } /// Field number for the "role_track_equipment_list" field. public const int RoleTrackEquipmentListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_roleTrackEquipmentList_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.RoleTrackEquipmentInfo.Parser); private readonly pbc::RepeatedField roleTrackEquipmentList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RoleTrackEquipmentList { get { return roleTrackEquipmentList_; } } /// Field number for the "game_lock_info" field. public const int GameLockInfoFieldNumber = 1100; private global::EggLink.DanhengServer.Proto.GridFightLockInfo gameLockInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightLockInfo GameLockInfo { get { return gameLockInfo_; } set { gameLockInfo_ = value; } } /// Field number for the "grid_fight_max_interest_gold" field. public const int GridFightMaxInterestGoldFieldNumber = 9; private uint gridFightMaxInterestGold_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightMaxInterestGold { get { return gridFightMaxInterestGold_; } set { gridFightMaxInterestGold_ = value; } } /// Field number for the "grid_fight_max_level" field. public const int GridFightMaxLevelFieldNumber = 10; private uint gridFightMaxLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightMaxLevel { get { return gridFightMaxLevel_; } set { gridFightMaxLevel_ = value; } } /// Field number for the "grid_fight_off_field_max_count" field. public const int GridFightOffFieldMaxCountFieldNumber = 14; private uint gridFightOffFieldMaxCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightOffFieldMaxCount { get { return gridFightOffFieldMaxCount_; } set { gridFightOffFieldMaxCount_ = value; } } /// Field number for the "grid_fight_max_field_count" field. public const int GridFightMaxFieldCountFieldNumber = 7; private uint gridFightMaxFieldCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightMaxFieldCount { get { return gridFightMaxFieldCount_; } set { gridFightMaxFieldCount_ = value; } } /// Field number for the "grid_fight_cur_level_exp" field. public const int GridFightCurLevelExpFieldNumber = 8; private uint gridFightCurLevelExp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GridFightCurLevelExp { get { return gridFightCurLevelExp_; } set { gridFightCurLevelExp_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightGameBasicInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightGameBasicInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GridFightLineupHp != other.GridFightLineupHp) return false; if (LockType != other.LockType) return false; if (!object.Equals(OCMGMEHECBB, other.OCMGMEHECBB)) return false; if (GridFightMaxAvatarCount != other.GridFightMaxAvatarCount) return false; if (GridFightCurGold != other.GridFightCurGold) return false; if (GridFightLineupMaxHp != other.GridFightLineupMaxHp) return false; if(!lPEMPKFNNOL_.Equals(other.lPEMPKFNNOL_)) return false; if (GridFightCurLevel != other.GridFightCurLevel) return false; if(!trackTraitIdList_.Equals(other.trackTraitIdList_)) return false; if (GridFightTargetGuideCode != other.GridFightTargetGuideCode) return false; if (GridFightLevelCost != other.GridFightLevelCost) return false; if (GridFightComboWinNum != other.GridFightComboWinNum) return false; if(!roleTrackEquipmentList_.Equals(other.roleTrackEquipmentList_)) return false; if (!object.Equals(GameLockInfo, other.GameLockInfo)) return false; if (GridFightMaxInterestGold != other.GridFightMaxInterestGold) return false; if (GridFightMaxLevel != other.GridFightMaxLevel) return false; if (GridFightOffFieldMaxCount != other.GridFightOffFieldMaxCount) return false; if (GridFightMaxFieldCount != other.GridFightMaxFieldCount) return false; if (GridFightCurLevelExp != other.GridFightCurLevelExp) 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 (GridFightLineupHp != 0) hash ^= GridFightLineupHp.GetHashCode(); if (LockType != global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone) hash ^= LockType.GetHashCode(); if (oCMGMEHECBB_ != null) hash ^= OCMGMEHECBB.GetHashCode(); if (GridFightMaxAvatarCount != 0) hash ^= GridFightMaxAvatarCount.GetHashCode(); if (GridFightCurGold != 0) hash ^= GridFightCurGold.GetHashCode(); if (GridFightLineupMaxHp != 0) hash ^= GridFightLineupMaxHp.GetHashCode(); hash ^= lPEMPKFNNOL_.GetHashCode(); if (GridFightCurLevel != 0) hash ^= GridFightCurLevel.GetHashCode(); hash ^= trackTraitIdList_.GetHashCode(); if (GridFightTargetGuideCode.Length != 0) hash ^= GridFightTargetGuideCode.GetHashCode(); if (GridFightLevelCost != 0) hash ^= GridFightLevelCost.GetHashCode(); if (GridFightComboWinNum != 0) hash ^= GridFightComboWinNum.GetHashCode(); hash ^= roleTrackEquipmentList_.GetHashCode(); if (gameLockInfo_ != null) hash ^= GameLockInfo.GetHashCode(); if (GridFightMaxInterestGold != 0) hash ^= GridFightMaxInterestGold.GetHashCode(); if (GridFightMaxLevel != 0) hash ^= GridFightMaxLevel.GetHashCode(); if (GridFightOffFieldMaxCount != 0) hash ^= GridFightOffFieldMaxCount.GetHashCode(); if (GridFightMaxFieldCount != 0) hash ^= GridFightMaxFieldCount.GetHashCode(); if (GridFightCurLevelExp != 0) hash ^= GridFightCurLevelExp.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 (GridFightComboWinNum != 0) { output.WriteRawTag(8); output.WriteUInt32(GridFightComboWinNum); } if (GridFightCurLevel != 0) { output.WriteRawTag(16); output.WriteUInt32(GridFightCurLevel); } if (GridFightLineupHp != 0) { output.WriteRawTag(24); output.WriteUInt32(GridFightLineupHp); } if (GridFightCurGold != 0) { output.WriteRawTag(32); output.WriteUInt32(GridFightCurGold); } roleTrackEquipmentList_.WriteTo(output, _repeated_roleTrackEquipmentList_codec); if (LockType != global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone) { output.WriteRawTag(48); output.WriteEnum((int) LockType); } if (GridFightMaxFieldCount != 0) { output.WriteRawTag(56); output.WriteUInt32(GridFightMaxFieldCount); } if (GridFightCurLevelExp != 0) { output.WriteRawTag(64); output.WriteUInt32(GridFightCurLevelExp); } if (GridFightMaxInterestGold != 0) { output.WriteRawTag(72); output.WriteUInt32(GridFightMaxInterestGold); } if (GridFightMaxLevel != 0) { output.WriteRawTag(80); output.WriteUInt32(GridFightMaxLevel); } if (GridFightLineupMaxHp != 0) { output.WriteRawTag(88); output.WriteUInt32(GridFightLineupMaxHp); } if (GridFightMaxAvatarCount != 0) { output.WriteRawTag(96); output.WriteUInt32(GridFightMaxAvatarCount); } if (GridFightLevelCost != 0) { output.WriteRawTag(104); output.WriteUInt32(GridFightLevelCost); } if (GridFightOffFieldMaxCount != 0) { output.WriteRawTag(112); output.WriteUInt32(GridFightOffFieldMaxCount); } trackTraitIdList_.WriteTo(output, _repeated_trackTraitIdList_codec); if (GridFightTargetGuideCode.Length != 0) { output.WriteRawTag(242, 12); output.WriteString(GridFightTargetGuideCode); } if (gameLockInfo_ != null) { output.WriteRawTag(226, 68); output.WriteMessage(GameLockInfo); } if (oCMGMEHECBB_ != null) { output.WriteRawTag(162, 103); output.WriteMessage(OCMGMEHECBB); } lPEMPKFNNOL_.WriteTo(output, _repeated_lPEMPKFNNOL_codec); 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 (GridFightComboWinNum != 0) { output.WriteRawTag(8); output.WriteUInt32(GridFightComboWinNum); } if (GridFightCurLevel != 0) { output.WriteRawTag(16); output.WriteUInt32(GridFightCurLevel); } if (GridFightLineupHp != 0) { output.WriteRawTag(24); output.WriteUInt32(GridFightLineupHp); } if (GridFightCurGold != 0) { output.WriteRawTag(32); output.WriteUInt32(GridFightCurGold); } roleTrackEquipmentList_.WriteTo(ref output, _repeated_roleTrackEquipmentList_codec); if (LockType != global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone) { output.WriteRawTag(48); output.WriteEnum((int) LockType); } if (GridFightMaxFieldCount != 0) { output.WriteRawTag(56); output.WriteUInt32(GridFightMaxFieldCount); } if (GridFightCurLevelExp != 0) { output.WriteRawTag(64); output.WriteUInt32(GridFightCurLevelExp); } if (GridFightMaxInterestGold != 0) { output.WriteRawTag(72); output.WriteUInt32(GridFightMaxInterestGold); } if (GridFightMaxLevel != 0) { output.WriteRawTag(80); output.WriteUInt32(GridFightMaxLevel); } if (GridFightLineupMaxHp != 0) { output.WriteRawTag(88); output.WriteUInt32(GridFightLineupMaxHp); } if (GridFightMaxAvatarCount != 0) { output.WriteRawTag(96); output.WriteUInt32(GridFightMaxAvatarCount); } if (GridFightLevelCost != 0) { output.WriteRawTag(104); output.WriteUInt32(GridFightLevelCost); } if (GridFightOffFieldMaxCount != 0) { output.WriteRawTag(112); output.WriteUInt32(GridFightOffFieldMaxCount); } trackTraitIdList_.WriteTo(ref output, _repeated_trackTraitIdList_codec); if (GridFightTargetGuideCode.Length != 0) { output.WriteRawTag(242, 12); output.WriteString(GridFightTargetGuideCode); } if (gameLockInfo_ != null) { output.WriteRawTag(226, 68); output.WriteMessage(GameLockInfo); } if (oCMGMEHECBB_ != null) { output.WriteRawTag(162, 103); output.WriteMessage(OCMGMEHECBB); } lPEMPKFNNOL_.WriteTo(ref output, _repeated_lPEMPKFNNOL_codec); 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 (GridFightLineupHp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightLineupHp); } if (LockType != global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LockType); } if (oCMGMEHECBB_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(OCMGMEHECBB); } if (GridFightMaxAvatarCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxAvatarCount); } if (GridFightCurGold != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightCurGold); } if (GridFightLineupMaxHp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightLineupMaxHp); } size += lPEMPKFNNOL_.CalculateSize(_repeated_lPEMPKFNNOL_codec); if (GridFightCurLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightCurLevel); } size += trackTraitIdList_.CalculateSize(_repeated_trackTraitIdList_codec); if (GridFightTargetGuideCode.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(GridFightTargetGuideCode); } if (GridFightLevelCost != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightLevelCost); } if (GridFightComboWinNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightComboWinNum); } size += roleTrackEquipmentList_.CalculateSize(_repeated_roleTrackEquipmentList_codec); if (gameLockInfo_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GameLockInfo); } if (GridFightMaxInterestGold != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxInterestGold); } if (GridFightMaxLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxLevel); } if (GridFightOffFieldMaxCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightOffFieldMaxCount); } if (GridFightMaxFieldCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxFieldCount); } if (GridFightCurLevelExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridFightCurLevelExp); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightGameBasicInfo other) { if (other == null) { return; } if (other.GridFightLineupHp != 0) { GridFightLineupHp = other.GridFightLineupHp; } if (other.LockType != global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone) { LockType = other.LockType; } if (other.oCMGMEHECBB_ != null) { if (oCMGMEHECBB_ == null) { OCMGMEHECBB = new global::EggLink.DanhengServer.Proto.OPIBBPCHFII(); } OCMGMEHECBB.MergeFrom(other.OCMGMEHECBB); } if (other.GridFightMaxAvatarCount != 0) { GridFightMaxAvatarCount = other.GridFightMaxAvatarCount; } if (other.GridFightCurGold != 0) { GridFightCurGold = other.GridFightCurGold; } if (other.GridFightLineupMaxHp != 0) { GridFightLineupMaxHp = other.GridFightLineupMaxHp; } lPEMPKFNNOL_.Add(other.lPEMPKFNNOL_); if (other.GridFightCurLevel != 0) { GridFightCurLevel = other.GridFightCurLevel; } trackTraitIdList_.Add(other.trackTraitIdList_); if (other.GridFightTargetGuideCode.Length != 0) { GridFightTargetGuideCode = other.GridFightTargetGuideCode; } if (other.GridFightLevelCost != 0) { GridFightLevelCost = other.GridFightLevelCost; } if (other.GridFightComboWinNum != 0) { GridFightComboWinNum = other.GridFightComboWinNum; } roleTrackEquipmentList_.Add(other.roleTrackEquipmentList_); if (other.gameLockInfo_ != null) { if (gameLockInfo_ == null) { GameLockInfo = new global::EggLink.DanhengServer.Proto.GridFightLockInfo(); } GameLockInfo.MergeFrom(other.GameLockInfo); } if (other.GridFightMaxInterestGold != 0) { GridFightMaxInterestGold = other.GridFightMaxInterestGold; } if (other.GridFightMaxLevel != 0) { GridFightMaxLevel = other.GridFightMaxLevel; } if (other.GridFightOffFieldMaxCount != 0) { GridFightOffFieldMaxCount = other.GridFightOffFieldMaxCount; } if (other.GridFightMaxFieldCount != 0) { GridFightMaxFieldCount = other.GridFightMaxFieldCount; } if (other.GridFightCurLevelExp != 0) { GridFightCurLevelExp = other.GridFightCurLevelExp; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { GridFightComboWinNum = input.ReadUInt32(); break; } case 16: { GridFightCurLevel = input.ReadUInt32(); break; } case 24: { GridFightLineupHp = input.ReadUInt32(); break; } case 32: { GridFightCurGold = input.ReadUInt32(); break; } case 42: { roleTrackEquipmentList_.AddEntriesFrom(input, _repeated_roleTrackEquipmentList_codec); break; } case 48: { LockType = (global::EggLink.DanhengServer.Proto.GridFightLockType) input.ReadEnum(); break; } case 56: { GridFightMaxFieldCount = input.ReadUInt32(); break; } case 64: { GridFightCurLevelExp = input.ReadUInt32(); break; } case 72: { GridFightMaxInterestGold = input.ReadUInt32(); break; } case 80: { GridFightMaxLevel = input.ReadUInt32(); break; } case 88: { GridFightLineupMaxHp = input.ReadUInt32(); break; } case 96: { GridFightMaxAvatarCount = input.ReadUInt32(); break; } case 104: { GridFightLevelCost = input.ReadUInt32(); break; } case 112: { GridFightOffFieldMaxCount = input.ReadUInt32(); break; } case 122: case 120: { trackTraitIdList_.AddEntriesFrom(input, _repeated_trackTraitIdList_codec); break; } case 1650: { GridFightTargetGuideCode = input.ReadString(); break; } case 8802: { if (gameLockInfo_ == null) { GameLockInfo = new global::EggLink.DanhengServer.Proto.GridFightLockInfo(); } input.ReadMessage(GameLockInfo); break; } case 13218: { if (oCMGMEHECBB_ == null) { OCMGMEHECBB = new global::EggLink.DanhengServer.Proto.OPIBBPCHFII(); } input.ReadMessage(OCMGMEHECBB); break; } case 15362: case 15360: { lPEMPKFNNOL_.AddEntriesFrom(input, _repeated_lPEMPKFNNOL_codec); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { GridFightComboWinNum = input.ReadUInt32(); break; } case 16: { GridFightCurLevel = input.ReadUInt32(); break; } case 24: { GridFightLineupHp = input.ReadUInt32(); break; } case 32: { GridFightCurGold = input.ReadUInt32(); break; } case 42: { roleTrackEquipmentList_.AddEntriesFrom(ref input, _repeated_roleTrackEquipmentList_codec); break; } case 48: { LockType = (global::EggLink.DanhengServer.Proto.GridFightLockType) input.ReadEnum(); break; } case 56: { GridFightMaxFieldCount = input.ReadUInt32(); break; } case 64: { GridFightCurLevelExp = input.ReadUInt32(); break; } case 72: { GridFightMaxInterestGold = input.ReadUInt32(); break; } case 80: { GridFightMaxLevel = input.ReadUInt32(); break; } case 88: { GridFightLineupMaxHp = input.ReadUInt32(); break; } case 96: { GridFightMaxAvatarCount = input.ReadUInt32(); break; } case 104: { GridFightLevelCost = input.ReadUInt32(); break; } case 112: { GridFightOffFieldMaxCount = input.ReadUInt32(); break; } case 122: case 120: { trackTraitIdList_.AddEntriesFrom(ref input, _repeated_trackTraitIdList_codec); break; } case 1650: { GridFightTargetGuideCode = input.ReadString(); break; } case 8802: { if (gameLockInfo_ == null) { GameLockInfo = new global::EggLink.DanhengServer.Proto.GridFightLockInfo(); } input.ReadMessage(GameLockInfo); break; } case 13218: { if (oCMGMEHECBB_ == null) { OCMGMEHECBB = new global::EggLink.DanhengServer.Proto.OPIBBPCHFII(); } input.ReadMessage(OCMGMEHECBB); break; } case 15362: case 15360: { lPEMPKFNNOL_.AddEntriesFrom(ref input, _repeated_lPEMPKFNNOL_codec); break; } } } } #endif } #endregion } #endregion Designer generated code