public override void SetHideMark(COM_PLAYERCAMP targetCamp, HorizonConfig.HideMark hm, bool bSet)
        {
            if (targetCamp == null)
            {
                return;
            }
            if (targetCamp == 3)
            {
                for (int i = 0; i < this._campMarkers.Length; i++)
                {
                    if (i != HorizonMarkerByFow.TranslateCampToIndex(this.actor.TheActorMeta.ActorCamp))
                    {
                        HorizonMarkerByFow.CampMarker campMarker = this._campMarkers[i];
                        campMarker.SetHideMark(hm, bSet);
                        Player hostPlayer = Singleton <GamePlayerCenter> .get_instance().GetHostPlayer();

                        if (hostPlayer != null && hostPlayer.PlayerCamp == HorizonMarkerByFow.TranslateIndexToCamp(i))
                        {
                            this.RefreshVisible();
                        }
                    }
                }
            }
            else
            {
                HorizonMarkerByFow.CampMarker campMarker2 = this._campMarkers[HorizonMarkerByFow.TranslateCampToIndex(targetCamp)];
                campMarker2.SetHideMark(hm, bSet);
                Player hostPlayer2 = Singleton <GamePlayerCenter> .get_instance().GetHostPlayer();

                if (hostPlayer2 != null && targetCamp == hostPlayer2.PlayerCamp)
                {
                    this.RefreshVisible();
                }
            }
        }
 public override void SetHideMark(COM_PLAYERCAMP targetCamp, HorizonConfig.HideMark hm, bool bSet)
 {
     if (targetCamp == COM_PLAYERCAMP.COM_PLAYERCAMP_MID)
     {
         return;
     }
     if (targetCamp == COM_PLAYERCAMP.COM_PLAYERCAMP_COUNT)
     {
         for (int i = 0; i < this._campMarkers.Length; i++)
         {
             if (i != HorizonMarkerByFow.TranslateCampToIndex(this.actor.TheActorMeta.ActorCamp))
             {
                 HorizonMarkerByFow.CampMarker campMarker = this._campMarkers[i];
                 campMarker.SetHideMark(hm, bSet);
             }
         }
     }
     else
     {
         HorizonMarkerByFow.CampMarker campMarker2 = this._campMarkers[HorizonMarkerByFow.TranslateCampToIndex(targetCamp)];
         campMarker2.SetHideMark(hm, bSet);
     }
     this.RefreshVisible();
 }