// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GridFightSyncData.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 EggLink.DanhengServer.Proto {

  /// <summary>Holder for reflection information generated from GridFightSyncData.proto</summary>
  public static partial class GridFightSyncDataReflection {

    #region Descriptor
    /// <summary>File descriptor for GridFightSyncData.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static GridFightSyncDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdHcmlkRmlnaHRTeW5jRGF0YS5wcm90bxocR3JpZEZpZ2h0TGV2ZWxTeW5j",
            "SW5mby5wcm90bxoiR3JpZEZpZ2h0RWxpdGVCcmFuY2hTeW5jSW5mby5wcm90",
            "bxocR3JpZEZpZ2h0RGFtYWdlU3R0SW5mby5wcm90bxoXR3JpZEZpZ2h0TG9j",
            "a1R5cGUucHJvdG8aIkdyaWRGaWdodFBsYXllckxldmVsU3luY0luZm8ucHJv",
            "dG8aHEdyaWRGaWdodFBlbmRpbmdBY3Rpb24ucHJvdG8aG0dyaWRGaWdodFNo",
            "b3BTeW5jSW5mby5wcm90bxohR3JpZEZpZ2h0UG9ydGFsQnVmZlN5bmNJbmZv",
            "LnByb3RvGiFHcmlkRmlnaHRUcmFpdFRyYWNrU3luY0luZm8ucHJvdG8aHkdy",
            "aWRGaWdodEF1Z21lbnRTeW5jSW5mby5wcm90bxofR3JpZEZpZ2h0TGluZXVw",
            "SHBTeW5jSW5mby5wcm90bxogUm9sZVRyYWNrRXF1aXBtZW50U3luY0luZm8u",
            "cHJvdG8aFUdyaWRHYW1lTnBjSW5mby5wcm90bxobR3JpZEdhbWVGb3JnZUl0",
            "ZW1JbmZvLnByb3RvGh9HcmlkRmlnaHRUdXRvcmlhbFN5bmNJbmZvLnByb3Rv",
            "GhFEQ0JMR0VBSE9FRy5wcm90bxoXR3JpZEZpZ2h0TG9ja0luZm8ucHJvdG8a",
            "FkdyaWRHYW1lUm9sZUluZm8ucHJvdG8aH0dyaWRGaWdodEdhbWVJdGVtU3lu",
            "Y0luZm8ucHJvdG8aHEdyaWRGaWdodFRyYWl0U3luY0luZm8ucHJvdG8aIEdy",
            "aWRGaWdodFNlY3Rpb25SZWNvcmRJbmZvLnByb3RvGhpHcmlkRmlnaHRPcmJT",
            "eW5jSW5mby5wcm90bxobR3JpZEZpZ2h0R2FtZUl0ZW1JbmZvLnByb3RvIrYQ",
            "ChFHcmlkRmlnaHRTeW5jRGF0YRIrCg1hZGRfcm9sZV9pbmZvGI4MIAEoCzIR",
            "LkdyaWRHYW1lUm9sZUluZm9IABIuChB1cGRhdGVfcm9sZV9pbmZvGP0JIAEo",
            "CzIRLkdyaWRHYW1lUm9sZUluZm9IABIgChVyZW1vdmVfcm9sZV91bmlxdWVf",
            "aWQYnwYgASgNSAASOQoSYWRkX2dhbWVfaXRlbV9pbmZvGIkHIAEoCzIaLkdy",
            "aWRGaWdodEdhbWVJdGVtU3luY0luZm9IABI8ChV1cGRhdGVfZ2FtZV9pdGVt",
            "X2luZm8YuQEgASgLMhouR3JpZEZpZ2h0R2FtZUl0ZW1TeW5jSW5mb0gAEjwK",
            "FXJlbW92ZV9nYW1lX2l0ZW1faW5mbxj/AyABKAsyGi5HcmlkRmlnaHRHYW1l",
            "SXRlbVN5bmNJbmZvSAASFQoKaXRlbV92YWx1ZRj0CyABKA1IABI2CgxwbGF5",
            "ZXJfbGV2ZWwYugggASgLMh0uR3JpZEZpZ2h0UGxheWVyTGV2ZWxTeW5jSW5m",
            "b0gAEjsKFGdyaWRfZmlnaHRfbGluZXVwX2hwGLoKIAEoCzIaLkdyaWRGaWdo",
            "dExpbmV1cEhwU3luY0luZm9IABIeChNtYXhfYmF0dGxlX3JvbGVfbnVtGPoB",
            "IAEoDUgAEjEKDnNob3Bfc3luY19pbmZvGOsJIAEoCzIWLkdyaWRGaWdodFNo",
            "b3BTeW5jSW5mb0gAEjIKDnBlbmRpbmdfYWN0aW9uGM8HIAEoCzIXLkdyaWRG",
            "aWdodFBlbmRpbmdBY3Rpb25IABI+ChVwb3J0YWxfYnVmZl9zeW5jX2luZm8Y",
            "kQ4gASgLMhwuR3JpZEZpZ2h0UG9ydGFsQnVmZlN5bmNJbmZvSAASMwoPbGV2",
            "ZWxfc3luY19pbmZvGO4KIAEoCzIXLkdyaWRGaWdodExldmVsU3luY0luZm9I",
            "ABIvCg1vcmJfc3luY19pbmZvGMYOIAEoCzIVLkdyaWRGaWdodE9yYlN5bmNJ",
            "bmZvSAASQAoYc2VjdGlvbl9yZWNvcmRfc3luY19pbmZvGMsDIAEoCzIbLkdy",
            "aWRGaWdodFNlY3Rpb25SZWNvcmRJbmZvSAASJAoLTVBDQ1BHSkZCREgY8QEg",
            "ASgLMgwuRENCTEdFQUhPRUdIABIjChhyZW1vdmVfYXVnbWVudF91bmlxdWVf",
            "aWQYug0gASgNSAASJAoZZmluaXNoX3BlbmRpbmdfYWN0aW9uX3BvcxihDSAB",
            "KA1IABInChxncmlkX2ZpZ2h0X21heF9pbnRlcmVzdF9nb2xkGN0MIAEoDUgA",
            "EiAKFWdyaWRfZmlnaHRfbGV2ZWxfY29zdBisCSABKA1IABIzCg90cmFpdF9z",
            "eW5jX2luZm8YmgYgASgLMhcuR3JpZEZpZ2h0VHJhaXRTeW5jSW5mb0gAEigK",
            "CWxvY2tfdHlwZRj2DSABKA4yEi5HcmlkRmlnaHRMb2NrVHlwZUgAEj4KFXRy",
            "YWl0X3RyYWNrX3N5bmNfaW5mbxjqDiABKAsyHC5HcmlkRmlnaHRUcmFpdFRy",
            "YWNrU3luY0luZm9IABIjChhncmlkX2ZpZ2h0X2NvbWJvX3dpbl9udW0YhgMg",
            "ASgNSAASJgobZ3JpZF9maWdodF9tYXhfYXZhdGFyX2NvdW50GPQFIAEoDUgA",
            "EikKHmdyaWRfZmlnaHRfb2ZmX2ZpZWxkX21heF9jb3VudBiuCiABKA1IABI+",
            "ChpncmlkX2ZpZ2h0X2RhbWFnZV9zdHRfaW5mbxjDBCABKAsyFy5HcmlkRmln",
            "aHREYW1hZ2VTdHRJbmZvSAASQAoWZWxpdGVfYnJhbmNoX3N5bmNfaW5mbxjp",
            "DyABKAsyHS5HcmlkRmlnaHRFbGl0ZUJyYW5jaFN5bmNJbmZvSAASKQoMYWRk",
            "X25wY19pbmZvGJMNIAEoCzIQLkdyaWRHYW1lTnBjSW5mb0gAEiwKD3VwZGF0",
            "ZV9ucGNfaW5mbxi+DSABKAsyEC5HcmlkR2FtZU5wY0luZm9IABIfChRyZW1v",
            "dmVfbnBjX3VuaXF1ZV9pZBi1ASABKA1IABIxCg5hZGRfZm9yZ2VfaW5mbxiu",
            "DCABKAsyFi5HcmlkR2FtZUZvcmdlSXRlbUluZm9IABI0ChF1cGRhdGVfZm9y",
            "Z2VfaW5mbxiFAiABKAsyFi5HcmlkR2FtZUZvcmdlSXRlbUluZm9IABIhChZy",
            "ZW1vdmVfZm9yZ2VfdW5pcXVlX2lkGKQGIAEoDUgAEjcKEWF1Z21lbnRfc3lu",
            "Y19pbmZvGIsBIAEoCzIZLkdyaWRGaWdodEF1Z21lbnRTeW5jSW5mb0gAEkEK",
            "GWVxdWlwbWVudF90cmFja19zeW5jX2luZm8YrAQgASgLMhsuUm9sZVRyYWNr",
            "RXF1aXBtZW50U3luY0luZm9IABJBCh5ncmlkX2ZpZ2h0X3N5bmNfZ2FtZV9p",
            "dGVtX2luZm8YtQ8gASgLMhYuR3JpZEZpZ2h0R2FtZUl0ZW1JbmZvSAASHwoU",
            "cmVtb3ZlX29yYl91bmlxdWVfaWQY8wUgASgNSAASFQoLS1BOQkZIRURET0YY",
            "WyABKA1IABI/ChhncmlkX2ZpZ2h0X3R1dG9yaWFsX3N5bmMYxAUgASgLMhou",
            "R3JpZEZpZ2h0VHV0b3JpYWxTeW5jSW5mb0gAEi0KDnN5bmNfbG9ja19pbmZv",
            "GPgMIAEoCzISLkdyaWRGaWdodExvY2tJbmZvSAASIQoWcmVtb3ZlX3RyYWl0",
            "X2VmZmVjdF9pZBi9AiABKA1IAEILCglzeW5jX2l0ZW1CHqoCG0VnZ0xpbmsu",
            "RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightDamageSttInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLockTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightPendingActionReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightShopSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameNpcInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameForgeItemInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.DCBLGEAHOEGReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLockInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameRoleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGameItemInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightSyncData), global::EggLink.DanhengServer.Proto.GridFightSyncData.Parser, new[]{ "AddRoleInfo", "UpdateRoleInfo", "RemoveRoleUniqueId", "AddGameItemInfo", "UpdateGameItemInfo", "RemoveGameItemInfo", "ItemValue", "PlayerLevel", "GridFightLineupHp", "MaxBattleRoleNum", "ShopSyncInfo", "PendingAction", "PortalBuffSyncInfo", "LevelSyncInfo", "OrbSyncInfo", "SectionRecordSyncInfo", "MPCCPGJFBDH", "RemoveAugmentUniqueId", "FinishPendingActionPos", "GridFightMaxInterestGold", "GridFightLevelCost", "TraitSyncInfo", "LockType", "TraitTrackSyncInfo", "GridFightComboWinNum", "GridFightMaxAvatarCount", "GridFightOffFieldMaxCount", "GridFightDamageSttInfo", "EliteBranchSyncInfo", "AddNpcInfo", "UpdateNpcInfo", "RemoveNpcUniqueId", "AddForgeInfo", "UpdateForgeInfo", "RemoveForgeUniqueId", "AugmentSyncInfo", "EquipmentTrackSyncInfo", "GridFightSyncGameItemInfo", "RemoveOrbUniqueId", "KPNBFHEDDOF", "GridFightTutorialSync", "SyncLockInfo", "RemoveTraitEffectId" }, new[]{ "SyncItem" }, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class GridFightSyncData : pb::IMessage<GridFightSyncData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GridFightSyncData> _parser = new pb::MessageParser<GridFightSyncData>(() => new GridFightSyncData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GridFightSyncData> 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.GridFightSyncDataReflection.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 GridFightSyncData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightSyncData(GridFightSyncData other) : this() {
      switch (other.SyncItemCase) {
        case SyncItemOneofCase.AddRoleInfo:
          AddRoleInfo = other.AddRoleInfo.Clone();
          break;
        case SyncItemOneofCase.UpdateRoleInfo:
          UpdateRoleInfo = other.UpdateRoleInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveRoleUniqueId:
          RemoveRoleUniqueId = other.RemoveRoleUniqueId;
          break;
        case SyncItemOneofCase.AddGameItemInfo:
          AddGameItemInfo = other.AddGameItemInfo.Clone();
          break;
        case SyncItemOneofCase.UpdateGameItemInfo:
          UpdateGameItemInfo = other.UpdateGameItemInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveGameItemInfo:
          RemoveGameItemInfo = other.RemoveGameItemInfo.Clone();
          break;
        case SyncItemOneofCase.ItemValue:
          ItemValue = other.ItemValue;
          break;
        case SyncItemOneofCase.PlayerLevel:
          PlayerLevel = other.PlayerLevel.Clone();
          break;
        case SyncItemOneofCase.GridFightLineupHp:
          GridFightLineupHp = other.GridFightLineupHp.Clone();
          break;
        case SyncItemOneofCase.MaxBattleRoleNum:
          MaxBattleRoleNum = other.MaxBattleRoleNum;
          break;
        case SyncItemOneofCase.ShopSyncInfo:
          ShopSyncInfo = other.ShopSyncInfo.Clone();
          break;
        case SyncItemOneofCase.PendingAction:
          PendingAction = other.PendingAction.Clone();
          break;
        case SyncItemOneofCase.PortalBuffSyncInfo:
          PortalBuffSyncInfo = other.PortalBuffSyncInfo.Clone();
          break;
        case SyncItemOneofCase.LevelSyncInfo:
          LevelSyncInfo = other.LevelSyncInfo.Clone();
          break;
        case SyncItemOneofCase.OrbSyncInfo:
          OrbSyncInfo = other.OrbSyncInfo.Clone();
          break;
        case SyncItemOneofCase.SectionRecordSyncInfo:
          SectionRecordSyncInfo = other.SectionRecordSyncInfo.Clone();
          break;
        case SyncItemOneofCase.MPCCPGJFBDH:
          MPCCPGJFBDH = other.MPCCPGJFBDH.Clone();
          break;
        case SyncItemOneofCase.RemoveAugmentUniqueId:
          RemoveAugmentUniqueId = other.RemoveAugmentUniqueId;
          break;
        case SyncItemOneofCase.FinishPendingActionPos:
          FinishPendingActionPos = other.FinishPendingActionPos;
          break;
        case SyncItemOneofCase.GridFightMaxInterestGold:
          GridFightMaxInterestGold = other.GridFightMaxInterestGold;
          break;
        case SyncItemOneofCase.GridFightLevelCost:
          GridFightLevelCost = other.GridFightLevelCost;
          break;
        case SyncItemOneofCase.TraitSyncInfo:
          TraitSyncInfo = other.TraitSyncInfo.Clone();
          break;
        case SyncItemOneofCase.LockType:
          LockType = other.LockType;
          break;
        case SyncItemOneofCase.TraitTrackSyncInfo:
          TraitTrackSyncInfo = other.TraitTrackSyncInfo.Clone();
          break;
        case SyncItemOneofCase.GridFightComboWinNum:
          GridFightComboWinNum = other.GridFightComboWinNum;
          break;
        case SyncItemOneofCase.GridFightMaxAvatarCount:
          GridFightMaxAvatarCount = other.GridFightMaxAvatarCount;
          break;
        case SyncItemOneofCase.GridFightOffFieldMaxCount:
          GridFightOffFieldMaxCount = other.GridFightOffFieldMaxCount;
          break;
        case SyncItemOneofCase.GridFightDamageSttInfo:
          GridFightDamageSttInfo = other.GridFightDamageSttInfo.Clone();
          break;
        case SyncItemOneofCase.EliteBranchSyncInfo:
          EliteBranchSyncInfo = other.EliteBranchSyncInfo.Clone();
          break;
        case SyncItemOneofCase.AddNpcInfo:
          AddNpcInfo = other.AddNpcInfo.Clone();
          break;
        case SyncItemOneofCase.UpdateNpcInfo:
          UpdateNpcInfo = other.UpdateNpcInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveNpcUniqueId:
          RemoveNpcUniqueId = other.RemoveNpcUniqueId;
          break;
        case SyncItemOneofCase.AddForgeInfo:
          AddForgeInfo = other.AddForgeInfo.Clone();
          break;
        case SyncItemOneofCase.UpdateForgeInfo:
          UpdateForgeInfo = other.UpdateForgeInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveForgeUniqueId:
          RemoveForgeUniqueId = other.RemoveForgeUniqueId;
          break;
        case SyncItemOneofCase.AugmentSyncInfo:
          AugmentSyncInfo = other.AugmentSyncInfo.Clone();
          break;
        case SyncItemOneofCase.EquipmentTrackSyncInfo:
          EquipmentTrackSyncInfo = other.EquipmentTrackSyncInfo.Clone();
          break;
        case SyncItemOneofCase.GridFightSyncGameItemInfo:
          GridFightSyncGameItemInfo = other.GridFightSyncGameItemInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveOrbUniqueId:
          RemoveOrbUniqueId = other.RemoveOrbUniqueId;
          break;
        case SyncItemOneofCase.KPNBFHEDDOF:
          KPNBFHEDDOF = other.KPNBFHEDDOF;
          break;
        case SyncItemOneofCase.GridFightTutorialSync:
          GridFightTutorialSync = other.GridFightTutorialSync.Clone();
          break;
        case SyncItemOneofCase.SyncLockInfo:
          SyncLockInfo = other.SyncLockInfo.Clone();
          break;
        case SyncItemOneofCase.RemoveTraitEffectId:
          RemoveTraitEffectId = other.RemoveTraitEffectId;
          break;
      }

      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightSyncData Clone() {
      return new GridFightSyncData(this);
    }

    /// <summary>Field number for the "add_role_info" field.</summary>
    public const int AddRoleInfoFieldNumber = 1550;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameRoleInfo AddRoleInfo {
      get { return syncItemCase_ == SyncItemOneofCase.AddRoleInfo ? (global::EggLink.DanhengServer.Proto.GridGameRoleInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.AddRoleInfo;
      }
    }

    /// <summary>Field number for the "update_role_info" field.</summary>
    public const int UpdateRoleInfoFieldNumber = 1277;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameRoleInfo UpdateRoleInfo {
      get { return syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo ? (global::EggLink.DanhengServer.Proto.GridGameRoleInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.UpdateRoleInfo;
      }
    }

    /// <summary>Field number for the "remove_role_unique_id" field.</summary>
    public const int RemoveRoleUniqueIdFieldNumber = 799;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveRoleUniqueId {
      get { return HasRemoveRoleUniqueId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveRoleUniqueId;
      }
    }
    /// <summary>Gets whether the "remove_role_unique_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveRoleUniqueId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveRoleUniqueId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_role_unique_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveRoleUniqueId() {
      if (HasRemoveRoleUniqueId) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "add_game_item_info" field.</summary>
    public const int AddGameItemInfoFieldNumber = 905;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo AddGameItemInfo {
      get { return syncItemCase_ == SyncItemOneofCase.AddGameItemInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.AddGameItemInfo;
      }
    }

    /// <summary>Field number for the "update_game_item_info" field.</summary>
    public const int UpdateGameItemInfoFieldNumber = 185;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo UpdateGameItemInfo {
      get { return syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.UpdateGameItemInfo;
      }
    }

    /// <summary>Field number for the "remove_game_item_info" field.</summary>
    public const int RemoveGameItemInfoFieldNumber = 511;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo RemoveGameItemInfo {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.RemoveGameItemInfo;
      }
    }

    /// <summary>Field number for the "item_value" field.</summary>
    public const int ItemValueFieldNumber = 1524;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ItemValue {
      get { return HasItemValue ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.ItemValue;
      }
    }
    /// <summary>Gets whether the "item_value" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasItemValue {
      get { return syncItemCase_ == SyncItemOneofCase.ItemValue; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "item_value" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearItemValue() {
      if (HasItemValue) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "player_level" field.</summary>
    public const int PlayerLevelFieldNumber = 1082;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo PlayerLevel {
      get { return syncItemCase_ == SyncItemOneofCase.PlayerLevel ? (global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.PlayerLevel;
      }
    }

    /// <summary>Field number for the "grid_fight_lineup_hp" field.</summary>
    public const int GridFightLineupHpFieldNumber = 1338;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo GridFightLineupHp {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightLineupHp ? (global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.GridFightLineupHp;
      }
    }

    /// <summary>Field number for the "max_battle_role_num" field.</summary>
    public const int MaxBattleRoleNumFieldNumber = 250;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint MaxBattleRoleNum {
      get { return HasMaxBattleRoleNum ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.MaxBattleRoleNum;
      }
    }
    /// <summary>Gets whether the "max_battle_role_num" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasMaxBattleRoleNum {
      get { return syncItemCase_ == SyncItemOneofCase.MaxBattleRoleNum; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "max_battle_role_num" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearMaxBattleRoleNum() {
      if (HasMaxBattleRoleNum) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "shop_sync_info" field.</summary>
    public const int ShopSyncInfoFieldNumber = 1259;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo ShopSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.ShopSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.ShopSyncInfo;
      }
    }

    /// <summary>Field number for the "pending_action" field.</summary>
    public const int PendingActionFieldNumber = 975;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightPendingAction PendingAction {
      get { return syncItemCase_ == SyncItemOneofCase.PendingAction ? (global::EggLink.DanhengServer.Proto.GridFightPendingAction) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.PendingAction;
      }
    }

    /// <summary>Field number for the "portal_buff_sync_info" field.</summary>
    public const int PortalBuffSyncInfoFieldNumber = 1809;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo PortalBuffSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.PortalBuffSyncInfo;
      }
    }

    /// <summary>Field number for the "level_sync_info" field.</summary>
    public const int LevelSyncInfoFieldNumber = 1390;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo LevelSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.LevelSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.LevelSyncInfo;
      }
    }

    /// <summary>Field number for the "orb_sync_info" field.</summary>
    public const int OrbSyncInfoFieldNumber = 1862;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo OrbSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.OrbSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.OrbSyncInfo;
      }
    }

    /// <summary>Field number for the "section_record_sync_info" field.</summary>
    public const int SectionRecordSyncInfoFieldNumber = 459;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo SectionRecordSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.SectionRecordSyncInfo;
      }
    }

    /// <summary>Field number for the "MPCCPGJFBDH" field.</summary>
    public const int MPCCPGJFBDHFieldNumber = 241;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.DCBLGEAHOEG MPCCPGJFBDH {
      get { return syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH ? (global::EggLink.DanhengServer.Proto.DCBLGEAHOEG) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.MPCCPGJFBDH;
      }
    }

    /// <summary>Field number for the "remove_augment_unique_id" field.</summary>
    public const int RemoveAugmentUniqueIdFieldNumber = 1722;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveAugmentUniqueId {
      get { return HasRemoveAugmentUniqueId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveAugmentUniqueId;
      }
    }
    /// <summary>Gets whether the "remove_augment_unique_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveAugmentUniqueId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveAugmentUniqueId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_augment_unique_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveAugmentUniqueId() {
      if (HasRemoveAugmentUniqueId) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "finish_pending_action_pos" field.</summary>
    public const int FinishPendingActionPosFieldNumber = 1697;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint FinishPendingActionPos {
      get { return HasFinishPendingActionPos ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.FinishPendingActionPos;
      }
    }
    /// <summary>Gets whether the "finish_pending_action_pos" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasFinishPendingActionPos {
      get { return syncItemCase_ == SyncItemOneofCase.FinishPendingActionPos; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "finish_pending_action_pos" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearFinishPendingActionPos() {
      if (HasFinishPendingActionPos) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_max_interest_gold" field.</summary>
    public const int GridFightMaxInterestGoldFieldNumber = 1629;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GridFightMaxInterestGold {
      get { return HasGridFightMaxInterestGold ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.GridFightMaxInterestGold;
      }
    }
    /// <summary>Gets whether the "grid_fight_max_interest_gold" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasGridFightMaxInterestGold {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightMaxInterestGold; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "grid_fight_max_interest_gold" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGridFightMaxInterestGold() {
      if (HasGridFightMaxInterestGold) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_level_cost" field.</summary>
    public const int GridFightLevelCostFieldNumber = 1196;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GridFightLevelCost {
      get { return HasGridFightLevelCost ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.GridFightLevelCost;
      }
    }
    /// <summary>Gets whether the "grid_fight_level_cost" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasGridFightLevelCost {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightLevelCost; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "grid_fight_level_cost" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGridFightLevelCost() {
      if (HasGridFightLevelCost) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "trait_sync_info" field.</summary>
    public const int TraitSyncInfoFieldNumber = 794;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo TraitSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.TraitSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.TraitSyncInfo;
      }
    }

    /// <summary>Field number for the "lock_type" field.</summary>
    public const int LockTypeFieldNumber = 1782;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightLockType LockType {
      get { return HasLockType ? (global::EggLink.DanhengServer.Proto.GridFightLockType) syncItem_ : global::EggLink.DanhengServer.Proto.GridFightLockType.KGridFightLockTypeNone; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.LockType;
      }
    }
    /// <summary>Gets whether the "lock_type" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasLockType {
      get { return syncItemCase_ == SyncItemOneofCase.LockType; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "lock_type" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearLockType() {
      if (HasLockType) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "trait_track_sync_info" field.</summary>
    public const int TraitTrackSyncInfoFieldNumber = 1898;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo TraitTrackSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.TraitTrackSyncInfo;
      }
    }

    /// <summary>Field number for the "grid_fight_combo_win_num" field.</summary>
    public const int GridFightComboWinNumFieldNumber = 390;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GridFightComboWinNum {
      get { return HasGridFightComboWinNum ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.GridFightComboWinNum;
      }
    }
    /// <summary>Gets whether the "grid_fight_combo_win_num" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasGridFightComboWinNum {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightComboWinNum; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "grid_fight_combo_win_num" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGridFightComboWinNum() {
      if (HasGridFightComboWinNum) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_max_avatar_count" field.</summary>
    public const int GridFightMaxAvatarCountFieldNumber = 756;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GridFightMaxAvatarCount {
      get { return HasGridFightMaxAvatarCount ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.GridFightMaxAvatarCount;
      }
    }
    /// <summary>Gets whether the "grid_fight_max_avatar_count" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasGridFightMaxAvatarCount {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightMaxAvatarCount; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "grid_fight_max_avatar_count" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGridFightMaxAvatarCount() {
      if (HasGridFightMaxAvatarCount) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_off_field_max_count" field.</summary>
    public const int GridFightOffFieldMaxCountFieldNumber = 1326;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GridFightOffFieldMaxCount {
      get { return HasGridFightOffFieldMaxCount ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.GridFightOffFieldMaxCount;
      }
    }
    /// <summary>Gets whether the "grid_fight_off_field_max_count" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasGridFightOffFieldMaxCount {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightOffFieldMaxCount; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "grid_fight_off_field_max_count" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGridFightOffFieldMaxCount() {
      if (HasGridFightOffFieldMaxCount) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_damage_stt_info" field.</summary>
    public const int GridFightDamageSttInfoFieldNumber = 579;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo GridFightDamageSttInfo {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo ? (global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.GridFightDamageSttInfo;
      }
    }

    /// <summary>Field number for the "elite_branch_sync_info" field.</summary>
    public const int EliteBranchSyncInfoFieldNumber = 2025;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo EliteBranchSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.EliteBranchSyncInfo;
      }
    }

    /// <summary>Field number for the "add_npc_info" field.</summary>
    public const int AddNpcInfoFieldNumber = 1683;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameNpcInfo AddNpcInfo {
      get { return syncItemCase_ == SyncItemOneofCase.AddNpcInfo ? (global::EggLink.DanhengServer.Proto.GridGameNpcInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.AddNpcInfo;
      }
    }

    /// <summary>Field number for the "update_npc_info" field.</summary>
    public const int UpdateNpcInfoFieldNumber = 1726;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameNpcInfo UpdateNpcInfo {
      get { return syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo ? (global::EggLink.DanhengServer.Proto.GridGameNpcInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.UpdateNpcInfo;
      }
    }

    /// <summary>Field number for the "remove_npc_unique_id" field.</summary>
    public const int RemoveNpcUniqueIdFieldNumber = 181;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveNpcUniqueId {
      get { return HasRemoveNpcUniqueId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveNpcUniqueId;
      }
    }
    /// <summary>Gets whether the "remove_npc_unique_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveNpcUniqueId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveNpcUniqueId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_npc_unique_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveNpcUniqueId() {
      if (HasRemoveNpcUniqueId) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "add_forge_info" field.</summary>
    public const int AddForgeInfoFieldNumber = 1582;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo AddForgeInfo {
      get { return syncItemCase_ == SyncItemOneofCase.AddForgeInfo ? (global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.AddForgeInfo;
      }
    }

    /// <summary>Field number for the "update_forge_info" field.</summary>
    public const int UpdateForgeInfoFieldNumber = 261;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo UpdateForgeInfo {
      get { return syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo ? (global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.UpdateForgeInfo;
      }
    }

    /// <summary>Field number for the "remove_forge_unique_id" field.</summary>
    public const int RemoveForgeUniqueIdFieldNumber = 804;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveForgeUniqueId {
      get { return HasRemoveForgeUniqueId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveForgeUniqueId;
      }
    }
    /// <summary>Gets whether the "remove_forge_unique_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveForgeUniqueId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveForgeUniqueId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_forge_unique_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveForgeUniqueId() {
      if (HasRemoveForgeUniqueId) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "augment_sync_info" field.</summary>
    public const int AugmentSyncInfoFieldNumber = 139;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo AugmentSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo ? (global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.AugmentSyncInfo;
      }
    }

    /// <summary>Field number for the "equipment_track_sync_info" field.</summary>
    public const int EquipmentTrackSyncInfoFieldNumber = 556;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo EquipmentTrackSyncInfo {
      get { return syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo ? (global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.EquipmentTrackSyncInfo;
      }
    }

    /// <summary>Field number for the "grid_fight_sync_game_item_info" field.</summary>
    public const int GridFightSyncGameItemInfoFieldNumber = 1973;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightGameItemInfo GridFightSyncGameItemInfo {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo ? (global::EggLink.DanhengServer.Proto.GridFightGameItemInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.GridFightSyncGameItemInfo;
      }
    }

    /// <summary>Field number for the "remove_orb_unique_id" field.</summary>
    public const int RemoveOrbUniqueIdFieldNumber = 755;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveOrbUniqueId {
      get { return HasRemoveOrbUniqueId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveOrbUniqueId;
      }
    }
    /// <summary>Gets whether the "remove_orb_unique_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveOrbUniqueId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveOrbUniqueId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_orb_unique_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveOrbUniqueId() {
      if (HasRemoveOrbUniqueId) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "KPNBFHEDDOF" field.</summary>
    public const int KPNBFHEDDOFFieldNumber = 91;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint KPNBFHEDDOF {
      get { return HasKPNBFHEDDOF ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.KPNBFHEDDOF;
      }
    }
    /// <summary>Gets whether the "KPNBFHEDDOF" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasKPNBFHEDDOF {
      get { return syncItemCase_ == SyncItemOneofCase.KPNBFHEDDOF; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "KPNBFHEDDOF" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearKPNBFHEDDOF() {
      if (HasKPNBFHEDDOF) {
        ClearSyncItem();
      }
    }

    /// <summary>Field number for the "grid_fight_tutorial_sync" field.</summary>
    public const int GridFightTutorialSyncFieldNumber = 708;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo GridFightTutorialSync {
      get { return syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync ? (global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.GridFightTutorialSync;
      }
    }

    /// <summary>Field number for the "sync_lock_info" field.</summary>
    public const int SyncLockInfoFieldNumber = 1656;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightLockInfo SyncLockInfo {
      get { return syncItemCase_ == SyncItemOneofCase.SyncLockInfo ? (global::EggLink.DanhengServer.Proto.GridFightLockInfo) syncItem_ : null; }
      set {
        syncItem_ = value;
        syncItemCase_ = value == null ? SyncItemOneofCase.None : SyncItemOneofCase.SyncLockInfo;
      }
    }

    /// <summary>Field number for the "remove_trait_effect_id" field.</summary>
    public const int RemoveTraitEffectIdFieldNumber = 317;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemoveTraitEffectId {
      get { return HasRemoveTraitEffectId ? (uint) syncItem_ : 0; }
      set {
        syncItem_ = value;
        syncItemCase_ = SyncItemOneofCase.RemoveTraitEffectId;
      }
    }
    /// <summary>Gets whether the "remove_trait_effect_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasRemoveTraitEffectId {
      get { return syncItemCase_ == SyncItemOneofCase.RemoveTraitEffectId; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "remove_trait_effect_id" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearRemoveTraitEffectId() {
      if (HasRemoveTraitEffectId) {
        ClearSyncItem();
      }
    }

    private object syncItem_;
    /// <summary>Enum of possible cases for the "sync_item" oneof.</summary>
    public enum SyncItemOneofCase {
      None = 0,
      AddRoleInfo = 1550,
      UpdateRoleInfo = 1277,
      RemoveRoleUniqueId = 799,
      AddGameItemInfo = 905,
      UpdateGameItemInfo = 185,
      RemoveGameItemInfo = 511,
      ItemValue = 1524,
      PlayerLevel = 1082,
      GridFightLineupHp = 1338,
      MaxBattleRoleNum = 250,
      ShopSyncInfo = 1259,
      PendingAction = 975,
      PortalBuffSyncInfo = 1809,
      LevelSyncInfo = 1390,
      OrbSyncInfo = 1862,
      SectionRecordSyncInfo = 459,
      MPCCPGJFBDH = 241,
      RemoveAugmentUniqueId = 1722,
      FinishPendingActionPos = 1697,
      GridFightMaxInterestGold = 1629,
      GridFightLevelCost = 1196,
      TraitSyncInfo = 794,
      LockType = 1782,
      TraitTrackSyncInfo = 1898,
      GridFightComboWinNum = 390,
      GridFightMaxAvatarCount = 756,
      GridFightOffFieldMaxCount = 1326,
      GridFightDamageSttInfo = 579,
      EliteBranchSyncInfo = 2025,
      AddNpcInfo = 1683,
      UpdateNpcInfo = 1726,
      RemoveNpcUniqueId = 181,
      AddForgeInfo = 1582,
      UpdateForgeInfo = 261,
      RemoveForgeUniqueId = 804,
      AugmentSyncInfo = 139,
      EquipmentTrackSyncInfo = 556,
      GridFightSyncGameItemInfo = 1973,
      RemoveOrbUniqueId = 755,
      KPNBFHEDDOF = 91,
      GridFightTutorialSync = 708,
      SyncLockInfo = 1656,
      RemoveTraitEffectId = 317,
    }
    private SyncItemOneofCase syncItemCase_ = SyncItemOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SyncItemOneofCase SyncItemCase {
      get { return syncItemCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearSyncItem() {
      syncItemCase_ = SyncItemOneofCase.None;
      syncItem_ = null;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as GridFightSyncData);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightSyncData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(AddRoleInfo, other.AddRoleInfo)) return false;
      if (!object.Equals(UpdateRoleInfo, other.UpdateRoleInfo)) return false;
      if (RemoveRoleUniqueId != other.RemoveRoleUniqueId) return false;
      if (!object.Equals(AddGameItemInfo, other.AddGameItemInfo)) return false;
      if (!object.Equals(UpdateGameItemInfo, other.UpdateGameItemInfo)) return false;
      if (!object.Equals(RemoveGameItemInfo, other.RemoveGameItemInfo)) return false;
      if (ItemValue != other.ItemValue) return false;
      if (!object.Equals(PlayerLevel, other.PlayerLevel)) return false;
      if (!object.Equals(GridFightLineupHp, other.GridFightLineupHp)) return false;
      if (MaxBattleRoleNum != other.MaxBattleRoleNum) return false;
      if (!object.Equals(ShopSyncInfo, other.ShopSyncInfo)) return false;
      if (!object.Equals(PendingAction, other.PendingAction)) return false;
      if (!object.Equals(PortalBuffSyncInfo, other.PortalBuffSyncInfo)) return false;
      if (!object.Equals(LevelSyncInfo, other.LevelSyncInfo)) return false;
      if (!object.Equals(OrbSyncInfo, other.OrbSyncInfo)) return false;
      if (!object.Equals(SectionRecordSyncInfo, other.SectionRecordSyncInfo)) return false;
      if (!object.Equals(MPCCPGJFBDH, other.MPCCPGJFBDH)) return false;
      if (RemoveAugmentUniqueId != other.RemoveAugmentUniqueId) return false;
      if (FinishPendingActionPos != other.FinishPendingActionPos) return false;
      if (GridFightMaxInterestGold != other.GridFightMaxInterestGold) return false;
      if (GridFightLevelCost != other.GridFightLevelCost) return false;
      if (!object.Equals(TraitSyncInfo, other.TraitSyncInfo)) return false;
      if (LockType != other.LockType) return false;
      if (!object.Equals(TraitTrackSyncInfo, other.TraitTrackSyncInfo)) return false;
      if (GridFightComboWinNum != other.GridFightComboWinNum) return false;
      if (GridFightMaxAvatarCount != other.GridFightMaxAvatarCount) return false;
      if (GridFightOffFieldMaxCount != other.GridFightOffFieldMaxCount) return false;
      if (!object.Equals(GridFightDamageSttInfo, other.GridFightDamageSttInfo)) return false;
      if (!object.Equals(EliteBranchSyncInfo, other.EliteBranchSyncInfo)) return false;
      if (!object.Equals(AddNpcInfo, other.AddNpcInfo)) return false;
      if (!object.Equals(UpdateNpcInfo, other.UpdateNpcInfo)) return false;
      if (RemoveNpcUniqueId != other.RemoveNpcUniqueId) return false;
      if (!object.Equals(AddForgeInfo, other.AddForgeInfo)) return false;
      if (!object.Equals(UpdateForgeInfo, other.UpdateForgeInfo)) return false;
      if (RemoveForgeUniqueId != other.RemoveForgeUniqueId) return false;
      if (!object.Equals(AugmentSyncInfo, other.AugmentSyncInfo)) return false;
      if (!object.Equals(EquipmentTrackSyncInfo, other.EquipmentTrackSyncInfo)) return false;
      if (!object.Equals(GridFightSyncGameItemInfo, other.GridFightSyncGameItemInfo)) return false;
      if (RemoveOrbUniqueId != other.RemoveOrbUniqueId) return false;
      if (KPNBFHEDDOF != other.KPNBFHEDDOF) return false;
      if (!object.Equals(GridFightTutorialSync, other.GridFightTutorialSync)) return false;
      if (!object.Equals(SyncLockInfo, other.SyncLockInfo)) return false;
      if (RemoveTraitEffectId != other.RemoveTraitEffectId) return false;
      if (SyncItemCase != other.SyncItemCase) 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 (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) hash ^= AddRoleInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) hash ^= UpdateRoleInfo.GetHashCode();
      if (HasRemoveRoleUniqueId) hash ^= RemoveRoleUniqueId.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) hash ^= AddGameItemInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) hash ^= UpdateGameItemInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) hash ^= RemoveGameItemInfo.GetHashCode();
      if (HasItemValue) hash ^= ItemValue.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) hash ^= PlayerLevel.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) hash ^= GridFightLineupHp.GetHashCode();
      if (HasMaxBattleRoleNum) hash ^= MaxBattleRoleNum.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) hash ^= ShopSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.PendingAction) hash ^= PendingAction.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) hash ^= PortalBuffSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) hash ^= LevelSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) hash ^= OrbSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) hash ^= SectionRecordSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) hash ^= MPCCPGJFBDH.GetHashCode();
      if (HasRemoveAugmentUniqueId) hash ^= RemoveAugmentUniqueId.GetHashCode();
      if (HasFinishPendingActionPos) hash ^= FinishPendingActionPos.GetHashCode();
      if (HasGridFightMaxInterestGold) hash ^= GridFightMaxInterestGold.GetHashCode();
      if (HasGridFightLevelCost) hash ^= GridFightLevelCost.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) hash ^= TraitSyncInfo.GetHashCode();
      if (HasLockType) hash ^= LockType.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) hash ^= TraitTrackSyncInfo.GetHashCode();
      if (HasGridFightComboWinNum) hash ^= GridFightComboWinNum.GetHashCode();
      if (HasGridFightMaxAvatarCount) hash ^= GridFightMaxAvatarCount.GetHashCode();
      if (HasGridFightOffFieldMaxCount) hash ^= GridFightOffFieldMaxCount.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) hash ^= GridFightDamageSttInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) hash ^= EliteBranchSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) hash ^= AddNpcInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) hash ^= UpdateNpcInfo.GetHashCode();
      if (HasRemoveNpcUniqueId) hash ^= RemoveNpcUniqueId.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) hash ^= AddForgeInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) hash ^= UpdateForgeInfo.GetHashCode();
      if (HasRemoveForgeUniqueId) hash ^= RemoveForgeUniqueId.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) hash ^= AugmentSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) hash ^= EquipmentTrackSyncInfo.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) hash ^= GridFightSyncGameItemInfo.GetHashCode();
      if (HasRemoveOrbUniqueId) hash ^= RemoveOrbUniqueId.GetHashCode();
      if (HasKPNBFHEDDOF) hash ^= KPNBFHEDDOF.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) hash ^= GridFightTutorialSync.GetHashCode();
      if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) hash ^= SyncLockInfo.GetHashCode();
      if (HasRemoveTraitEffectId) hash ^= RemoveTraitEffectId.GetHashCode();
      hash ^= (int) syncItemCase_;
      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 (HasKPNBFHEDDOF) {
        output.WriteRawTag(216, 5);
        output.WriteUInt32(KPNBFHEDDOF);
      }
      if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) {
        output.WriteRawTag(218, 8);
        output.WriteMessage(AugmentSyncInfo);
      }
      if (HasRemoveNpcUniqueId) {
        output.WriteRawTag(168, 11);
        output.WriteUInt32(RemoveNpcUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) {
        output.WriteRawTag(202, 11);
        output.WriteMessage(UpdateGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) {
        output.WriteRawTag(138, 15);
        output.WriteMessage(MPCCPGJFBDH);
      }
      if (HasMaxBattleRoleNum) {
        output.WriteRawTag(208, 15);
        output.WriteUInt32(MaxBattleRoleNum);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) {
        output.WriteRawTag(170, 16);
        output.WriteMessage(UpdateForgeInfo);
      }
      if (HasRemoveTraitEffectId) {
        output.WriteRawTag(232, 19);
        output.WriteUInt32(RemoveTraitEffectId);
      }
      if (HasGridFightComboWinNum) {
        output.WriteRawTag(176, 24);
        output.WriteUInt32(GridFightComboWinNum);
      }
      if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) {
        output.WriteRawTag(218, 28);
        output.WriteMessage(SectionRecordSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) {
        output.WriteRawTag(250, 31);
        output.WriteMessage(RemoveGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) {
        output.WriteRawTag(226, 34);
        output.WriteMessage(EquipmentTrackSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) {
        output.WriteRawTag(154, 36);
        output.WriteMessage(GridFightDamageSttInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) {
        output.WriteRawTag(162, 44);
        output.WriteMessage(GridFightTutorialSync);
      }
      if (HasRemoveOrbUniqueId) {
        output.WriteRawTag(152, 47);
        output.WriteUInt32(RemoveOrbUniqueId);
      }
      if (HasGridFightMaxAvatarCount) {
        output.WriteRawTag(160, 47);
        output.WriteUInt32(GridFightMaxAvatarCount);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) {
        output.WriteRawTag(210, 49);
        output.WriteMessage(TraitSyncInfo);
      }
      if (HasRemoveRoleUniqueId) {
        output.WriteRawTag(248, 49);
        output.WriteUInt32(RemoveRoleUniqueId);
      }
      if (HasRemoveForgeUniqueId) {
        output.WriteRawTag(160, 50);
        output.WriteUInt32(RemoveForgeUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) {
        output.WriteRawTag(202, 56);
        output.WriteMessage(AddGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.PendingAction) {
        output.WriteRawTag(250, 60);
        output.WriteMessage(PendingAction);
      }
      if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) {
        output.WriteRawTag(210, 67);
        output.WriteMessage(PlayerLevel);
      }
      if (HasGridFightLevelCost) {
        output.WriteRawTag(224, 74);
        output.WriteUInt32(GridFightLevelCost);
      }
      if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) {
        output.WriteRawTag(218, 78);
        output.WriteMessage(ShopSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) {
        output.WriteRawTag(234, 79);
        output.WriteMessage(UpdateRoleInfo);
      }
      if (HasGridFightOffFieldMaxCount) {
        output.WriteRawTag(240, 82);
        output.WriteUInt32(GridFightOffFieldMaxCount);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) {
        output.WriteRawTag(210, 83);
        output.WriteMessage(GridFightLineupHp);
      }
      if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) {
        output.WriteRawTag(242, 86);
        output.WriteMessage(LevelSyncInfo);
      }
      if (HasItemValue) {
        output.WriteRawTag(160, 95);
        output.WriteUInt32(ItemValue);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) {
        output.WriteRawTag(242, 96);
        output.WriteMessage(AddRoleInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) {
        output.WriteRawTag(242, 98);
        output.WriteMessage(AddForgeInfo);
      }
      if (HasGridFightMaxInterestGold) {
        output.WriteRawTag(232, 101);
        output.WriteUInt32(GridFightMaxInterestGold);
      }
      if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) {
        output.WriteRawTag(194, 103);
        output.WriteMessage(SyncLockInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) {
        output.WriteRawTag(154, 105);
        output.WriteMessage(AddNpcInfo);
      }
      if (HasFinishPendingActionPos) {
        output.WriteRawTag(136, 106);
        output.WriteUInt32(FinishPendingActionPos);
      }
      if (HasRemoveAugmentUniqueId) {
        output.WriteRawTag(208, 107);
        output.WriteUInt32(RemoveAugmentUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) {
        output.WriteRawTag(242, 107);
        output.WriteMessage(UpdateNpcInfo);
      }
      if (HasLockType) {
        output.WriteRawTag(176, 111);
        output.WriteEnum((int) LockType);
      }
      if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) {
        output.WriteRawTag(138, 113);
        output.WriteMessage(PortalBuffSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) {
        output.WriteRawTag(178, 116);
        output.WriteMessage(OrbSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) {
        output.WriteRawTag(210, 118);
        output.WriteMessage(TraitTrackSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) {
        output.WriteRawTag(170, 123);
        output.WriteMessage(GridFightSyncGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) {
        output.WriteRawTag(202, 126);
        output.WriteMessage(EliteBranchSyncInfo);
      }
      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 (HasKPNBFHEDDOF) {
        output.WriteRawTag(216, 5);
        output.WriteUInt32(KPNBFHEDDOF);
      }
      if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) {
        output.WriteRawTag(218, 8);
        output.WriteMessage(AugmentSyncInfo);
      }
      if (HasRemoveNpcUniqueId) {
        output.WriteRawTag(168, 11);
        output.WriteUInt32(RemoveNpcUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) {
        output.WriteRawTag(202, 11);
        output.WriteMessage(UpdateGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) {
        output.WriteRawTag(138, 15);
        output.WriteMessage(MPCCPGJFBDH);
      }
      if (HasMaxBattleRoleNum) {
        output.WriteRawTag(208, 15);
        output.WriteUInt32(MaxBattleRoleNum);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) {
        output.WriteRawTag(170, 16);
        output.WriteMessage(UpdateForgeInfo);
      }
      if (HasRemoveTraitEffectId) {
        output.WriteRawTag(232, 19);
        output.WriteUInt32(RemoveTraitEffectId);
      }
      if (HasGridFightComboWinNum) {
        output.WriteRawTag(176, 24);
        output.WriteUInt32(GridFightComboWinNum);
      }
      if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) {
        output.WriteRawTag(218, 28);
        output.WriteMessage(SectionRecordSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) {
        output.WriteRawTag(250, 31);
        output.WriteMessage(RemoveGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) {
        output.WriteRawTag(226, 34);
        output.WriteMessage(EquipmentTrackSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) {
        output.WriteRawTag(154, 36);
        output.WriteMessage(GridFightDamageSttInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) {
        output.WriteRawTag(162, 44);
        output.WriteMessage(GridFightTutorialSync);
      }
      if (HasRemoveOrbUniqueId) {
        output.WriteRawTag(152, 47);
        output.WriteUInt32(RemoveOrbUniqueId);
      }
      if (HasGridFightMaxAvatarCount) {
        output.WriteRawTag(160, 47);
        output.WriteUInt32(GridFightMaxAvatarCount);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) {
        output.WriteRawTag(210, 49);
        output.WriteMessage(TraitSyncInfo);
      }
      if (HasRemoveRoleUniqueId) {
        output.WriteRawTag(248, 49);
        output.WriteUInt32(RemoveRoleUniqueId);
      }
      if (HasRemoveForgeUniqueId) {
        output.WriteRawTag(160, 50);
        output.WriteUInt32(RemoveForgeUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) {
        output.WriteRawTag(202, 56);
        output.WriteMessage(AddGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.PendingAction) {
        output.WriteRawTag(250, 60);
        output.WriteMessage(PendingAction);
      }
      if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) {
        output.WriteRawTag(210, 67);
        output.WriteMessage(PlayerLevel);
      }
      if (HasGridFightLevelCost) {
        output.WriteRawTag(224, 74);
        output.WriteUInt32(GridFightLevelCost);
      }
      if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) {
        output.WriteRawTag(218, 78);
        output.WriteMessage(ShopSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) {
        output.WriteRawTag(234, 79);
        output.WriteMessage(UpdateRoleInfo);
      }
      if (HasGridFightOffFieldMaxCount) {
        output.WriteRawTag(240, 82);
        output.WriteUInt32(GridFightOffFieldMaxCount);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) {
        output.WriteRawTag(210, 83);
        output.WriteMessage(GridFightLineupHp);
      }
      if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) {
        output.WriteRawTag(242, 86);
        output.WriteMessage(LevelSyncInfo);
      }
      if (HasItemValue) {
        output.WriteRawTag(160, 95);
        output.WriteUInt32(ItemValue);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) {
        output.WriteRawTag(242, 96);
        output.WriteMessage(AddRoleInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) {
        output.WriteRawTag(242, 98);
        output.WriteMessage(AddForgeInfo);
      }
      if (HasGridFightMaxInterestGold) {
        output.WriteRawTag(232, 101);
        output.WriteUInt32(GridFightMaxInterestGold);
      }
      if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) {
        output.WriteRawTag(194, 103);
        output.WriteMessage(SyncLockInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) {
        output.WriteRawTag(154, 105);
        output.WriteMessage(AddNpcInfo);
      }
      if (HasFinishPendingActionPos) {
        output.WriteRawTag(136, 106);
        output.WriteUInt32(FinishPendingActionPos);
      }
      if (HasRemoveAugmentUniqueId) {
        output.WriteRawTag(208, 107);
        output.WriteUInt32(RemoveAugmentUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) {
        output.WriteRawTag(242, 107);
        output.WriteMessage(UpdateNpcInfo);
      }
      if (HasLockType) {
        output.WriteRawTag(176, 111);
        output.WriteEnum((int) LockType);
      }
      if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) {
        output.WriteRawTag(138, 113);
        output.WriteMessage(PortalBuffSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) {
        output.WriteRawTag(178, 116);
        output.WriteMessage(OrbSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) {
        output.WriteRawTag(210, 118);
        output.WriteMessage(TraitTrackSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) {
        output.WriteRawTag(170, 123);
        output.WriteMessage(GridFightSyncGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) {
        output.WriteRawTag(202, 126);
        output.WriteMessage(EliteBranchSyncInfo);
      }
      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 (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddRoleInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateRoleInfo);
      }
      if (HasRemoveRoleUniqueId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveRoleUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateGameItemInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveGameItemInfo);
      }
      if (HasItemValue) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ItemValue);
      }
      if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlayerLevel);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GridFightLineupHp);
      }
      if (HasMaxBattleRoleNum) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(MaxBattleRoleNum);
      }
      if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShopSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.PendingAction) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(PendingAction);
      }
      if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(PortalBuffSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(LevelSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OrbSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SectionRecordSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(MPCCPGJFBDH);
      }
      if (HasRemoveAugmentUniqueId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveAugmentUniqueId);
      }
      if (HasFinishPendingActionPos) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FinishPendingActionPos);
      }
      if (HasGridFightMaxInterestGold) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxInterestGold);
      }
      if (HasGridFightLevelCost) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GridFightLevelCost);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraitSyncInfo);
      }
      if (HasLockType) {
        size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) LockType);
      }
      if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraitTrackSyncInfo);
      }
      if (HasGridFightComboWinNum) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GridFightComboWinNum);
      }
      if (HasGridFightMaxAvatarCount) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GridFightMaxAvatarCount);
      }
      if (HasGridFightOffFieldMaxCount) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(GridFightOffFieldMaxCount);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GridFightDamageSttInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(EliteBranchSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddNpcInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateNpcInfo);
      }
      if (HasRemoveNpcUniqueId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveNpcUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddForgeInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateForgeInfo);
      }
      if (HasRemoveForgeUniqueId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveForgeUniqueId);
      }
      if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(AugmentSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(EquipmentTrackSyncInfo);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GridFightSyncGameItemInfo);
      }
      if (HasRemoveOrbUniqueId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveOrbUniqueId);
      }
      if (HasKPNBFHEDDOF) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(KPNBFHEDDOF);
      }
      if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(GridFightTutorialSync);
      }
      if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(SyncLockInfo);
      }
      if (HasRemoveTraitEffectId) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(RemoveTraitEffectId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightSyncData other) {
      if (other == null) {
        return;
      }
      switch (other.SyncItemCase) {
        case SyncItemOneofCase.AddRoleInfo:
          if (AddRoleInfo == null) {
            AddRoleInfo = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
          }
          AddRoleInfo.MergeFrom(other.AddRoleInfo);
          break;
        case SyncItemOneofCase.UpdateRoleInfo:
          if (UpdateRoleInfo == null) {
            UpdateRoleInfo = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
          }
          UpdateRoleInfo.MergeFrom(other.UpdateRoleInfo);
          break;
        case SyncItemOneofCase.RemoveRoleUniqueId:
          RemoveRoleUniqueId = other.RemoveRoleUniqueId;
          break;
        case SyncItemOneofCase.AddGameItemInfo:
          if (AddGameItemInfo == null) {
            AddGameItemInfo = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
          }
          AddGameItemInfo.MergeFrom(other.AddGameItemInfo);
          break;
        case SyncItemOneofCase.UpdateGameItemInfo:
          if (UpdateGameItemInfo == null) {
            UpdateGameItemInfo = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
          }
          UpdateGameItemInfo.MergeFrom(other.UpdateGameItemInfo);
          break;
        case SyncItemOneofCase.RemoveGameItemInfo:
          if (RemoveGameItemInfo == null) {
            RemoveGameItemInfo = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
          }
          RemoveGameItemInfo.MergeFrom(other.RemoveGameItemInfo);
          break;
        case SyncItemOneofCase.ItemValue:
          ItemValue = other.ItemValue;
          break;
        case SyncItemOneofCase.PlayerLevel:
          if (PlayerLevel == null) {
            PlayerLevel = new global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo();
          }
          PlayerLevel.MergeFrom(other.PlayerLevel);
          break;
        case SyncItemOneofCase.GridFightLineupHp:
          if (GridFightLineupHp == null) {
            GridFightLineupHp = new global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo();
          }
          GridFightLineupHp.MergeFrom(other.GridFightLineupHp);
          break;
        case SyncItemOneofCase.MaxBattleRoleNum:
          MaxBattleRoleNum = other.MaxBattleRoleNum;
          break;
        case SyncItemOneofCase.ShopSyncInfo:
          if (ShopSyncInfo == null) {
            ShopSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo();
          }
          ShopSyncInfo.MergeFrom(other.ShopSyncInfo);
          break;
        case SyncItemOneofCase.PendingAction:
          if (PendingAction == null) {
            PendingAction = new global::EggLink.DanhengServer.Proto.GridFightPendingAction();
          }
          PendingAction.MergeFrom(other.PendingAction);
          break;
        case SyncItemOneofCase.PortalBuffSyncInfo:
          if (PortalBuffSyncInfo == null) {
            PortalBuffSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo();
          }
          PortalBuffSyncInfo.MergeFrom(other.PortalBuffSyncInfo);
          break;
        case SyncItemOneofCase.LevelSyncInfo:
          if (LevelSyncInfo == null) {
            LevelSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo();
          }
          LevelSyncInfo.MergeFrom(other.LevelSyncInfo);
          break;
        case SyncItemOneofCase.OrbSyncInfo:
          if (OrbSyncInfo == null) {
            OrbSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo();
          }
          OrbSyncInfo.MergeFrom(other.OrbSyncInfo);
          break;
        case SyncItemOneofCase.SectionRecordSyncInfo:
          if (SectionRecordSyncInfo == null) {
            SectionRecordSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo();
          }
          SectionRecordSyncInfo.MergeFrom(other.SectionRecordSyncInfo);
          break;
        case SyncItemOneofCase.MPCCPGJFBDH:
          if (MPCCPGJFBDH == null) {
            MPCCPGJFBDH = new global::EggLink.DanhengServer.Proto.DCBLGEAHOEG();
          }
          MPCCPGJFBDH.MergeFrom(other.MPCCPGJFBDH);
          break;
        case SyncItemOneofCase.RemoveAugmentUniqueId:
          RemoveAugmentUniqueId = other.RemoveAugmentUniqueId;
          break;
        case SyncItemOneofCase.FinishPendingActionPos:
          FinishPendingActionPos = other.FinishPendingActionPos;
          break;
        case SyncItemOneofCase.GridFightMaxInterestGold:
          GridFightMaxInterestGold = other.GridFightMaxInterestGold;
          break;
        case SyncItemOneofCase.GridFightLevelCost:
          GridFightLevelCost = other.GridFightLevelCost;
          break;
        case SyncItemOneofCase.TraitSyncInfo:
          if (TraitSyncInfo == null) {
            TraitSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo();
          }
          TraitSyncInfo.MergeFrom(other.TraitSyncInfo);
          break;
        case SyncItemOneofCase.LockType:
          LockType = other.LockType;
          break;
        case SyncItemOneofCase.TraitTrackSyncInfo:
          if (TraitTrackSyncInfo == null) {
            TraitTrackSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo();
          }
          TraitTrackSyncInfo.MergeFrom(other.TraitTrackSyncInfo);
          break;
        case SyncItemOneofCase.GridFightComboWinNum:
          GridFightComboWinNum = other.GridFightComboWinNum;
          break;
        case SyncItemOneofCase.GridFightMaxAvatarCount:
          GridFightMaxAvatarCount = other.GridFightMaxAvatarCount;
          break;
        case SyncItemOneofCase.GridFightOffFieldMaxCount:
          GridFightOffFieldMaxCount = other.GridFightOffFieldMaxCount;
          break;
        case SyncItemOneofCase.GridFightDamageSttInfo:
          if (GridFightDamageSttInfo == null) {
            GridFightDamageSttInfo = new global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo();
          }
          GridFightDamageSttInfo.MergeFrom(other.GridFightDamageSttInfo);
          break;
        case SyncItemOneofCase.EliteBranchSyncInfo:
          if (EliteBranchSyncInfo == null) {
            EliteBranchSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo();
          }
          EliteBranchSyncInfo.MergeFrom(other.EliteBranchSyncInfo);
          break;
        case SyncItemOneofCase.AddNpcInfo:
          if (AddNpcInfo == null) {
            AddNpcInfo = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
          }
          AddNpcInfo.MergeFrom(other.AddNpcInfo);
          break;
        case SyncItemOneofCase.UpdateNpcInfo:
          if (UpdateNpcInfo == null) {
            UpdateNpcInfo = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
          }
          UpdateNpcInfo.MergeFrom(other.UpdateNpcInfo);
          break;
        case SyncItemOneofCase.RemoveNpcUniqueId:
          RemoveNpcUniqueId = other.RemoveNpcUniqueId;
          break;
        case SyncItemOneofCase.AddForgeInfo:
          if (AddForgeInfo == null) {
            AddForgeInfo = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
          }
          AddForgeInfo.MergeFrom(other.AddForgeInfo);
          break;
        case SyncItemOneofCase.UpdateForgeInfo:
          if (UpdateForgeInfo == null) {
            UpdateForgeInfo = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
          }
          UpdateForgeInfo.MergeFrom(other.UpdateForgeInfo);
          break;
        case SyncItemOneofCase.RemoveForgeUniqueId:
          RemoveForgeUniqueId = other.RemoveForgeUniqueId;
          break;
        case SyncItemOneofCase.AugmentSyncInfo:
          if (AugmentSyncInfo == null) {
            AugmentSyncInfo = new global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo();
          }
          AugmentSyncInfo.MergeFrom(other.AugmentSyncInfo);
          break;
        case SyncItemOneofCase.EquipmentTrackSyncInfo:
          if (EquipmentTrackSyncInfo == null) {
            EquipmentTrackSyncInfo = new global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo();
          }
          EquipmentTrackSyncInfo.MergeFrom(other.EquipmentTrackSyncInfo);
          break;
        case SyncItemOneofCase.GridFightSyncGameItemInfo:
          if (GridFightSyncGameItemInfo == null) {
            GridFightSyncGameItemInfo = new global::EggLink.DanhengServer.Proto.GridFightGameItemInfo();
          }
          GridFightSyncGameItemInfo.MergeFrom(other.GridFightSyncGameItemInfo);
          break;
        case SyncItemOneofCase.RemoveOrbUniqueId:
          RemoveOrbUniqueId = other.RemoveOrbUniqueId;
          break;
        case SyncItemOneofCase.KPNBFHEDDOF:
          KPNBFHEDDOF = other.KPNBFHEDDOF;
          break;
        case SyncItemOneofCase.GridFightTutorialSync:
          if (GridFightTutorialSync == null) {
            GridFightTutorialSync = new global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo();
          }
          GridFightTutorialSync.MergeFrom(other.GridFightTutorialSync);
          break;
        case SyncItemOneofCase.SyncLockInfo:
          if (SyncLockInfo == null) {
            SyncLockInfo = new global::EggLink.DanhengServer.Proto.GridFightLockInfo();
          }
          SyncLockInfo.MergeFrom(other.SyncLockInfo);
          break;
        case SyncItemOneofCase.RemoveTraitEffectId:
          RemoveTraitEffectId = other.RemoveTraitEffectId;
          break;
      }

      _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 728: {
            KPNBFHEDDOF = input.ReadUInt32();
            break;
          }
          case 1114: {
            global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) {
              subBuilder.MergeFrom(AugmentSyncInfo);
            }
            input.ReadMessage(subBuilder);
            AugmentSyncInfo = subBuilder;
            break;
          }
          case 1448: {
            RemoveNpcUniqueId = input.ReadUInt32();
            break;
          }
          case 1482: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) {
              subBuilder.MergeFrom(UpdateGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateGameItemInfo = subBuilder;
            break;
          }
          case 1930: {
            global::EggLink.DanhengServer.Proto.DCBLGEAHOEG subBuilder = new global::EggLink.DanhengServer.Proto.DCBLGEAHOEG();
            if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) {
              subBuilder.MergeFrom(MPCCPGJFBDH);
            }
            input.ReadMessage(subBuilder);
            MPCCPGJFBDH = subBuilder;
            break;
          }
          case 2000: {
            MaxBattleRoleNum = input.ReadUInt32();
            break;
          }
          case 2090: {
            global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) {
              subBuilder.MergeFrom(UpdateForgeInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateForgeInfo = subBuilder;
            break;
          }
          case 2536: {
            RemoveTraitEffectId = input.ReadUInt32();
            break;
          }
          case 3120: {
            GridFightComboWinNum = input.ReadUInt32();
            break;
          }
          case 3674: {
            global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo();
            if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) {
              subBuilder.MergeFrom(SectionRecordSyncInfo);
            }
            input.ReadMessage(subBuilder);
            SectionRecordSyncInfo = subBuilder;
            break;
          }
          case 4090: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) {
              subBuilder.MergeFrom(RemoveGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            RemoveGameItemInfo = subBuilder;
            break;
          }
          case 4450: {
            global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) {
              subBuilder.MergeFrom(EquipmentTrackSyncInfo);
            }
            input.ReadMessage(subBuilder);
            EquipmentTrackSyncInfo = subBuilder;
            break;
          }
          case 4634: {
            global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) {
              subBuilder.MergeFrom(GridFightDamageSttInfo);
            }
            input.ReadMessage(subBuilder);
            GridFightDamageSttInfo = subBuilder;
            break;
          }
          case 5666: {
            global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) {
              subBuilder.MergeFrom(GridFightTutorialSync);
            }
            input.ReadMessage(subBuilder);
            GridFightTutorialSync = subBuilder;
            break;
          }
          case 6040: {
            RemoveOrbUniqueId = input.ReadUInt32();
            break;
          }
          case 6048: {
            GridFightMaxAvatarCount = input.ReadUInt32();
            break;
          }
          case 6354: {
            global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) {
              subBuilder.MergeFrom(TraitSyncInfo);
            }
            input.ReadMessage(subBuilder);
            TraitSyncInfo = subBuilder;
            break;
          }
          case 6392: {
            RemoveRoleUniqueId = input.ReadUInt32();
            break;
          }
          case 6432: {
            RemoveForgeUniqueId = input.ReadUInt32();
            break;
          }
          case 7242: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) {
              subBuilder.MergeFrom(AddGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            AddGameItemInfo = subBuilder;
            break;
          }
          case 7802: {
            global::EggLink.DanhengServer.Proto.GridFightPendingAction subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPendingAction();
            if (syncItemCase_ == SyncItemOneofCase.PendingAction) {
              subBuilder.MergeFrom(PendingAction);
            }
            input.ReadMessage(subBuilder);
            PendingAction = subBuilder;
            break;
          }
          case 8658: {
            global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) {
              subBuilder.MergeFrom(PlayerLevel);
            }
            input.ReadMessage(subBuilder);
            PlayerLevel = subBuilder;
            break;
          }
          case 9568: {
            GridFightLevelCost = input.ReadUInt32();
            break;
          }
          case 10074: {
            global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) {
              subBuilder.MergeFrom(ShopSyncInfo);
            }
            input.ReadMessage(subBuilder);
            ShopSyncInfo = subBuilder;
            break;
          }
          case 10218: {
            global::EggLink.DanhengServer.Proto.GridGameRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) {
              subBuilder.MergeFrom(UpdateRoleInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateRoleInfo = subBuilder;
            break;
          }
          case 10608: {
            GridFightOffFieldMaxCount = input.ReadUInt32();
            break;
          }
          case 10706: {
            global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) {
              subBuilder.MergeFrom(GridFightLineupHp);
            }
            input.ReadMessage(subBuilder);
            GridFightLineupHp = subBuilder;
            break;
          }
          case 11122: {
            global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) {
              subBuilder.MergeFrom(LevelSyncInfo);
            }
            input.ReadMessage(subBuilder);
            LevelSyncInfo = subBuilder;
            break;
          }
          case 12192: {
            ItemValue = input.ReadUInt32();
            break;
          }
          case 12402: {
            global::EggLink.DanhengServer.Proto.GridGameRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) {
              subBuilder.MergeFrom(AddRoleInfo);
            }
            input.ReadMessage(subBuilder);
            AddRoleInfo = subBuilder;
            break;
          }
          case 12658: {
            global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) {
              subBuilder.MergeFrom(AddForgeInfo);
            }
            input.ReadMessage(subBuilder);
            AddForgeInfo = subBuilder;
            break;
          }
          case 13032: {
            GridFightMaxInterestGold = input.ReadUInt32();
            break;
          }
          case 13250: {
            global::EggLink.DanhengServer.Proto.GridFightLockInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLockInfo();
            if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) {
              subBuilder.MergeFrom(SyncLockInfo);
            }
            input.ReadMessage(subBuilder);
            SyncLockInfo = subBuilder;
            break;
          }
          case 13466: {
            global::EggLink.DanhengServer.Proto.GridGameNpcInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) {
              subBuilder.MergeFrom(AddNpcInfo);
            }
            input.ReadMessage(subBuilder);
            AddNpcInfo = subBuilder;
            break;
          }
          case 13576: {
            FinishPendingActionPos = input.ReadUInt32();
            break;
          }
          case 13776: {
            RemoveAugmentUniqueId = input.ReadUInt32();
            break;
          }
          case 13810: {
            global::EggLink.DanhengServer.Proto.GridGameNpcInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) {
              subBuilder.MergeFrom(UpdateNpcInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateNpcInfo = subBuilder;
            break;
          }
          case 14256: {
            syncItem_ = input.ReadEnum();
            syncItemCase_ = SyncItemOneofCase.LockType;
            break;
          }
          case 14474: {
            global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) {
              subBuilder.MergeFrom(PortalBuffSyncInfo);
            }
            input.ReadMessage(subBuilder);
            PortalBuffSyncInfo = subBuilder;
            break;
          }
          case 14898: {
            global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) {
              subBuilder.MergeFrom(OrbSyncInfo);
            }
            input.ReadMessage(subBuilder);
            OrbSyncInfo = subBuilder;
            break;
          }
          case 15186: {
            global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) {
              subBuilder.MergeFrom(TraitTrackSyncInfo);
            }
            input.ReadMessage(subBuilder);
            TraitTrackSyncInfo = subBuilder;
            break;
          }
          case 15786: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) {
              subBuilder.MergeFrom(GridFightSyncGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            GridFightSyncGameItemInfo = subBuilder;
            break;
          }
          case 16202: {
            global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) {
              subBuilder.MergeFrom(EliteBranchSyncInfo);
            }
            input.ReadMessage(subBuilder);
            EliteBranchSyncInfo = subBuilder;
            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 728: {
            KPNBFHEDDOF = input.ReadUInt32();
            break;
          }
          case 1114: {
            global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightAugmentSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.AugmentSyncInfo) {
              subBuilder.MergeFrom(AugmentSyncInfo);
            }
            input.ReadMessage(subBuilder);
            AugmentSyncInfo = subBuilder;
            break;
          }
          case 1448: {
            RemoveNpcUniqueId = input.ReadUInt32();
            break;
          }
          case 1482: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateGameItemInfo) {
              subBuilder.MergeFrom(UpdateGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateGameItemInfo = subBuilder;
            break;
          }
          case 1930: {
            global::EggLink.DanhengServer.Proto.DCBLGEAHOEG subBuilder = new global::EggLink.DanhengServer.Proto.DCBLGEAHOEG();
            if (syncItemCase_ == SyncItemOneofCase.MPCCPGJFBDH) {
              subBuilder.MergeFrom(MPCCPGJFBDH);
            }
            input.ReadMessage(subBuilder);
            MPCCPGJFBDH = subBuilder;
            break;
          }
          case 2000: {
            MaxBattleRoleNum = input.ReadUInt32();
            break;
          }
          case 2090: {
            global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateForgeInfo) {
              subBuilder.MergeFrom(UpdateForgeInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateForgeInfo = subBuilder;
            break;
          }
          case 2536: {
            RemoveTraitEffectId = input.ReadUInt32();
            break;
          }
          case 3120: {
            GridFightComboWinNum = input.ReadUInt32();
            break;
          }
          case 3674: {
            global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightSectionRecordInfo();
            if (syncItemCase_ == SyncItemOneofCase.SectionRecordSyncInfo) {
              subBuilder.MergeFrom(SectionRecordSyncInfo);
            }
            input.ReadMessage(subBuilder);
            SectionRecordSyncInfo = subBuilder;
            break;
          }
          case 4090: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.RemoveGameItemInfo) {
              subBuilder.MergeFrom(RemoveGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            RemoveGameItemInfo = subBuilder;
            break;
          }
          case 4450: {
            global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.RoleTrackEquipmentSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.EquipmentTrackSyncInfo) {
              subBuilder.MergeFrom(EquipmentTrackSyncInfo);
            }
            input.ReadMessage(subBuilder);
            EquipmentTrackSyncInfo = subBuilder;
            break;
          }
          case 4634: {
            global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightDamageSttInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightDamageSttInfo) {
              subBuilder.MergeFrom(GridFightDamageSttInfo);
            }
            input.ReadMessage(subBuilder);
            GridFightDamageSttInfo = subBuilder;
            break;
          }
          case 5666: {
            global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTutorialSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightTutorialSync) {
              subBuilder.MergeFrom(GridFightTutorialSync);
            }
            input.ReadMessage(subBuilder);
            GridFightTutorialSync = subBuilder;
            break;
          }
          case 6040: {
            RemoveOrbUniqueId = input.ReadUInt32();
            break;
          }
          case 6048: {
            GridFightMaxAvatarCount = input.ReadUInt32();
            break;
          }
          case 6354: {
            global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.TraitSyncInfo) {
              subBuilder.MergeFrom(TraitSyncInfo);
            }
            input.ReadMessage(subBuilder);
            TraitSyncInfo = subBuilder;
            break;
          }
          case 6392: {
            RemoveRoleUniqueId = input.ReadUInt32();
            break;
          }
          case 6432: {
            RemoveForgeUniqueId = input.ReadUInt32();
            break;
          }
          case 7242: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddGameItemInfo) {
              subBuilder.MergeFrom(AddGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            AddGameItemInfo = subBuilder;
            break;
          }
          case 7802: {
            global::EggLink.DanhengServer.Proto.GridFightPendingAction subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPendingAction();
            if (syncItemCase_ == SyncItemOneofCase.PendingAction) {
              subBuilder.MergeFrom(PendingAction);
            }
            input.ReadMessage(subBuilder);
            PendingAction = subBuilder;
            break;
          }
          case 8658: {
            global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPlayerLevelSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.PlayerLevel) {
              subBuilder.MergeFrom(PlayerLevel);
            }
            input.ReadMessage(subBuilder);
            PlayerLevel = subBuilder;
            break;
          }
          case 9568: {
            GridFightLevelCost = input.ReadUInt32();
            break;
          }
          case 10074: {
            global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.ShopSyncInfo) {
              subBuilder.MergeFrom(ShopSyncInfo);
            }
            input.ReadMessage(subBuilder);
            ShopSyncInfo = subBuilder;
            break;
          }
          case 10218: {
            global::EggLink.DanhengServer.Proto.GridGameRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateRoleInfo) {
              subBuilder.MergeFrom(UpdateRoleInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateRoleInfo = subBuilder;
            break;
          }
          case 10608: {
            GridFightOffFieldMaxCount = input.ReadUInt32();
            break;
          }
          case 10706: {
            global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLineupHpSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightLineupHp) {
              subBuilder.MergeFrom(GridFightLineupHp);
            }
            input.ReadMessage(subBuilder);
            GridFightLineupHp = subBuilder;
            break;
          }
          case 11122: {
            global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLevelSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.LevelSyncInfo) {
              subBuilder.MergeFrom(LevelSyncInfo);
            }
            input.ReadMessage(subBuilder);
            LevelSyncInfo = subBuilder;
            break;
          }
          case 12192: {
            ItemValue = input.ReadUInt32();
            break;
          }
          case 12402: {
            global::EggLink.DanhengServer.Proto.GridGameRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameRoleInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddRoleInfo) {
              subBuilder.MergeFrom(AddRoleInfo);
            }
            input.ReadMessage(subBuilder);
            AddRoleInfo = subBuilder;
            break;
          }
          case 12658: {
            global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddForgeInfo) {
              subBuilder.MergeFrom(AddForgeInfo);
            }
            input.ReadMessage(subBuilder);
            AddForgeInfo = subBuilder;
            break;
          }
          case 13032: {
            GridFightMaxInterestGold = input.ReadUInt32();
            break;
          }
          case 13250: {
            global::EggLink.DanhengServer.Proto.GridFightLockInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightLockInfo();
            if (syncItemCase_ == SyncItemOneofCase.SyncLockInfo) {
              subBuilder.MergeFrom(SyncLockInfo);
            }
            input.ReadMessage(subBuilder);
            SyncLockInfo = subBuilder;
            break;
          }
          case 13466: {
            global::EggLink.DanhengServer.Proto.GridGameNpcInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
            if (syncItemCase_ == SyncItemOneofCase.AddNpcInfo) {
              subBuilder.MergeFrom(AddNpcInfo);
            }
            input.ReadMessage(subBuilder);
            AddNpcInfo = subBuilder;
            break;
          }
          case 13576: {
            FinishPendingActionPos = input.ReadUInt32();
            break;
          }
          case 13776: {
            RemoveAugmentUniqueId = input.ReadUInt32();
            break;
          }
          case 13810: {
            global::EggLink.DanhengServer.Proto.GridGameNpcInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridGameNpcInfo();
            if (syncItemCase_ == SyncItemOneofCase.UpdateNpcInfo) {
              subBuilder.MergeFrom(UpdateNpcInfo);
            }
            input.ReadMessage(subBuilder);
            UpdateNpcInfo = subBuilder;
            break;
          }
          case 14256: {
            syncItem_ = input.ReadEnum();
            syncItemCase_ = SyncItemOneofCase.LockType;
            break;
          }
          case 14474: {
            global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.PortalBuffSyncInfo) {
              subBuilder.MergeFrom(PortalBuffSyncInfo);
            }
            input.ReadMessage(subBuilder);
            PortalBuffSyncInfo = subBuilder;
            break;
          }
          case 14898: {
            global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightOrbSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.OrbSyncInfo) {
              subBuilder.MergeFrom(OrbSyncInfo);
            }
            input.ReadMessage(subBuilder);
            OrbSyncInfo = subBuilder;
            break;
          }
          case 15186: {
            global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightTraitTrackSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.TraitTrackSyncInfo) {
              subBuilder.MergeFrom(TraitTrackSyncInfo);
            }
            input.ReadMessage(subBuilder);
            TraitTrackSyncInfo = subBuilder;
            break;
          }
          case 15786: {
            global::EggLink.DanhengServer.Proto.GridFightGameItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightGameItemInfo();
            if (syncItemCase_ == SyncItemOneofCase.GridFightSyncGameItemInfo) {
              subBuilder.MergeFrom(GridFightSyncGameItemInfo);
            }
            input.ReadMessage(subBuilder);
            GridFightSyncGameItemInfo = subBuilder;
            break;
          }
          case 16202: {
            global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightEliteBranchSyncInfo();
            if (syncItemCase_ == SyncItemOneofCase.EliteBranchSyncInfo) {
              subBuilder.MergeFrom(EliteBranchSyncInfo);
            }
            input.ReadMessage(subBuilder);
            EliteBranchSyncInfo = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
