Exemple #1
0
        private void UpdateEquipmentDisplay(int garrAbilityID, FollowerDetailView followerDetailView)
        {
            FollowerInventoryListItem[] componentsInChildren = this.m_equipmentListContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            for (int i = 0; i < (int)componentsInChildren.Length; i++)
            {
                UnityEngine.Object.Destroy(componentsInChildren[i].gameObject);
            }
            bool flag = true;

            foreach (WrapperFollowerEquipment value in PersistentEquipmentData.equipmentDictionary.Values)
            {
                GarrAbilityRec record = StaticDB.garrAbilityDB.GetRecord(value.GarrAbilityID);
                if (record != null)
                {
                    if ((record.Flags & 64) == 0)
                    {
                        FollowerInventoryListItem followerInventoryListItem = UnityEngine.Object.Instantiate <FollowerInventoryListItem>(this.m_equipmentListItemPrefab);
                        followerInventoryListItem.transform.SetParent(this.m_equipmentListContent.transform, false);
                        followerInventoryListItem.SetEquipment(value, followerDetailView, garrAbilityID);
                        flag = false;
                    }
                }
            }
            this.m_noEquipmentMessage.gameObject.SetActive(flag);
        }
Exemple #2
0
 private void OnDisable()
 {
     Main.instance.m_backButtonManager.PopBackAction();
     Main.instance.m_canvasBlurManager.RemoveBlurRef_MainCanvas();
     Main.instance.ArmamentInventoryChangedAction -= new Action(this.HandleArmamentsChanged);
     this.m_currentFollowerDetailView              = null;
 }
        private void UpdateEquipmentDisplay(int garrAbilityID, FollowerDetailView followerDetailView)
        {
            FollowerInventoryListItem[] componentsInChildren = this.m_equipmentListContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            foreach (FollowerInventoryListItem followerInventoryListItem in componentsInChildren)
            {
                Object.Destroy(followerInventoryListItem.gameObject);
            }
            bool active = true;

            foreach (WrapperFollowerEquipment item in PersistentEquipmentData.equipmentDictionary.Values)
            {
                GarrAbilityRec record = StaticDB.garrAbilityDB.GetRecord(item.GarrAbilityID);
                if (record != null)
                {
                    if ((record.Flags & 64) == 0)
                    {
                        FollowerInventoryListItem followerInventoryListItem2 = Object.Instantiate <FollowerInventoryListItem>(this.m_equipmentListItemPrefab);
                        followerInventoryListItem2.transform.SetParent(this.m_equipmentListContent.transform, false);
                        followerInventoryListItem2.SetEquipment(item, followerDetailView, garrAbilityID);
                        active = false;
                    }
                }
            }
            this.m_noEquipmentMessage.gameObject.SetActive(active);
        }
Exemple #4
0
 public void ShowArmamentDialog(FollowerDetailView followerDetailView, bool show)
 {
     if (show)
     {
         this.m_armamentDialog.Init(followerDetailView);
     }
     this.m_armamentDialog.gameObject.SetActive(show);
 }
Exemple #5
0
 public void ShowEquipmentDialog(int garrAbilityID, FollowerDetailView followerDetailView, bool show)
 {
     if (show)
     {
         this.m_equipmentDialog.SetAbility(garrAbilityID, followerDetailView);
     }
     this.m_equipmentDialog.gameObject.SetActive(show);
 }
Exemple #6
0
 private void OnDisable()
 {
     Main.instance.m_canvasBlurManager.RemoveBlurRef_MainCanvas();
     Main.instance.m_backButtonManager.PopBackAction();
     Main.instance.EquipmentInventoryChangedAction -= new Action(this.UpdateDisplayCB);
     this.m_garrAbilityID      = 0;
     this.m_followerDetailView = null;
 }
Exemple #7
0
        public void Init(FollowerDetailView followerDetailView, int abilityToReplace)
        {
            this.m_followerDetailView = followerDetailView;
            this.m_abilityToReplace   = abilityToReplace;
            FollowerInventoryListItem[] componentsInChildren = this.m_equipmentInventoryContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            foreach (FollowerInventoryListItem followerInventoryListItem in componentsInChildren)
            {
                Object.Destroy(followerInventoryListItem.gameObject);
            }
            int num = 0;

            foreach (WrapperFollowerEquipment item in PersistentEquipmentData.equipmentDictionary.Values)
            {
                if (num == 0)
                {
                    GameObject gameObject = Object.Instantiate <GameObject>(this.m_headerPrefab);
                    gameObject.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                    FollowerInventoryListItem component = gameObject.GetComponent <FollowerInventoryListItem>();
                    component.SetHeaderText("Equipment");
                }
                GameObject gameObject2 = Object.Instantiate <GameObject>(this.m_followerInventoryListItemPrefab);
                gameObject2.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                FollowerInventoryListItem component2 = gameObject2.GetComponent <FollowerInventoryListItem>();
                component2.SetEquipment(item, followerDetailView, abilityToReplace);
                num++;
            }
            if (num == 0)
            {
                GameObject gameObject3 = Object.Instantiate <GameObject>(this.m_headerPrefab);
                gameObject3.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                FollowerInventoryListItem component3 = gameObject3.GetComponent <FollowerInventoryListItem>();
                component3.SetHeaderText(StaticDB.GetString("NO_EQUIPMENT", null));
            }
            int num2 = 0;

            foreach (WrapperFollowerArmamentExt item2 in PersistentArmamentData.armamentDictionary.Values)
            {
                if (num2 == 0)
                {
                    GameObject gameObject4 = Object.Instantiate <GameObject>(this.m_headerPrefab);
                    gameObject4.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                    FollowerInventoryListItem component4 = gameObject4.GetComponent <FollowerInventoryListItem>();
                    component4.SetHeaderText("Armaments");
                }
                GameObject gameObject5 = Object.Instantiate <GameObject>(this.m_followerInventoryListItemPrefab);
                gameObject5.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                FollowerInventoryListItem component5 = gameObject5.GetComponent <FollowerInventoryListItem>();
                component5.SetArmament(item2, followerDetailView);
                num2++;
            }
            if (num == 0)
            {
                GameObject gameObject6 = Object.Instantiate <GameObject>(this.m_headerPrefab);
                gameObject6.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                FollowerInventoryListItem component6 = gameObject6.GetComponent <FollowerInventoryListItem>();
                component6.SetHeaderText(StaticDB.GetString("NO_ARMAMENTS", null));
            }
        }
        public void SetEquipment(WrapperFollowerEquipment item, FollowerDetailView followerDetailView, int abilityToReplace)
        {
            this.m_abilityToReplace   = abilityToReplace;
            this.m_equipmentItem      = new WrapperFollowerEquipment?(item);
            this.m_followerDetailView = followerDetailView;
            ItemRec record = StaticDB.itemDB.GetRecord(item.ItemID);

            this.m_equipmentName.text = string.Concat(GeneralHelpers.GetItemQualityColorTag(record.OverallQualityID), record.Display, "</color>");
            GarrAbilityRec garrAbilityRec = StaticDB.garrAbilityDB.GetRecord(item.GarrAbilityID);

            if (garrAbilityRec == null)
            {
                SpellTooltipRec spellTooltipRec = StaticDB.spellTooltipDB.GetRecord(item.SpellID);
                if (spellTooltipRec == null)
                {
                    this.m_equipmentDescription.text = string.Concat(new object[] { "ERROR. Ability ID:", item.GarrAbilityID, " Spell ID: ", item.SpellID, " Item ID:", item.ItemID });
                }
                else
                {
                    this.m_equipmentDescription.text = spellTooltipRec.Description;
                }
            }
            else
            {
                this.m_equipmentDescription.text = garrAbilityRec.Description;
            }
            this.m_equipmentDescription.text            = GeneralHelpers.LimitZhLineLength(WowTextParser.parser.Parse(this.m_equipmentDescription.text, 0), 18);
            this.m_equipmentDescription.supportRichText = WowTextParser.parser.IsRichText();
            if (this.m_iconErrorText != null)
            {
                this.m_iconErrorText.gameObject.SetActive(false);
            }
            Sprite sprite = GeneralHelpers.LoadIconAsset(AssetBundleType.Icons, record.IconFileDataID);

            if (sprite != null)
            {
                this.m_equipmentIcon.sprite = sprite;
            }
            else if (this.m_iconErrorText != null)
            {
                this.m_iconErrorText.gameObject.SetActive(true);
                this.m_iconErrorText.text = string.Concat(string.Empty, record.IconFileDataID);
            }
            this.m_equipmentQuantity.text = (item.Quantity <= 1 ? string.Empty : string.Concat(string.Empty, item.Quantity));
            if (PersistentFollowerData.followerDictionary[this.m_followerDetailView.GetCurrentFollower()].CurrentMissionID == 0)
            {
                this.m_useItemButtonLabel.text = StaticDB.GetString("USE_ITEM", null);
            }
            else
            {
                this.m_useItemButtonLabel.text    = StaticDB.GetString("ON_MISSION", null);
                this.m_useItemButtonLabel.color   = new Color(0.5f, 0.5f, 0.5f, 1f);
                this.m_useItemButton.interactable = false;
            }
        }
Exemple #9
0
        public void Init(FollowerDetailView followerDetailView, int abilityToReplace)
        {
            this.m_followerDetailView = followerDetailView;
            this.m_abilityToReplace   = abilityToReplace;
            FollowerInventoryListItem[] componentsInChildren = this.m_equipmentInventoryContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            for (int i = 0; i < (int)componentsInChildren.Length; i++)
            {
                UnityEngine.Object.Destroy(componentsInChildren[i].gameObject);
            }
            int num = 0;

            foreach (WrapperFollowerEquipment value in PersistentEquipmentData.equipmentDictionary.Values)
            {
                if (num == 0)
                {
                    GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_headerPrefab);
                    gameObject.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                    gameObject.GetComponent <FollowerInventoryListItem>().SetHeaderText("Equipment");
                }
                GameObject gameObject1 = UnityEngine.Object.Instantiate <GameObject>(this.m_followerInventoryListItemPrefab);
                gameObject1.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                gameObject1.GetComponent <FollowerInventoryListItem>().SetEquipment(value, followerDetailView, abilityToReplace);
                num++;
            }
            if (num == 0)
            {
                GameObject gameObject2 = UnityEngine.Object.Instantiate <GameObject>(this.m_headerPrefab);
                gameObject2.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                gameObject2.GetComponent <FollowerInventoryListItem>().SetHeaderText(StaticDB.GetString("NO_EQUIPMENT", null));
            }
            int num1 = 0;

            foreach (WrapperFollowerArmamentExt wrapperFollowerArmamentExt in PersistentArmamentData.armamentDictionary.Values)
            {
                if (num1 == 0)
                {
                    GameObject gameObject3 = UnityEngine.Object.Instantiate <GameObject>(this.m_headerPrefab);
                    gameObject3.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                    gameObject3.GetComponent <FollowerInventoryListItem>().SetHeaderText("Armaments");
                }
                GameObject gameObject4 = UnityEngine.Object.Instantiate <GameObject>(this.m_followerInventoryListItemPrefab);
                gameObject4.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                gameObject4.GetComponent <FollowerInventoryListItem>().SetArmament(wrapperFollowerArmamentExt, followerDetailView);
                num1++;
            }
            if (num == 0)
            {
                GameObject gameObject5 = UnityEngine.Object.Instantiate <GameObject>(this.m_headerPrefab);
                gameObject5.transform.SetParent(this.m_equipmentInventoryContent.transform, false);
                gameObject5.GetComponent <FollowerInventoryListItem>().SetHeaderText(StaticDB.GetString("NO_ARMAMENTS", null));
            }
        }
 public void Show(FollowerDetailView followerDetailView)
 {
     base.gameObject.SetActive(true);
     this.m_followerDetailView = followerDetailView;
     if (GarrisonStatus.Gold() >= 250)
     {
         this.m_okButton.interactable = true;
     }
     else
     {
         this.m_okButtonLabel.text    = StaticDB.GetString("CANT_AFFORD", null);
         this.m_okButton.interactable = false;
     }
     this.m_activationsRemainingText.text = GarrisonStatus.GetRemainingFollowerActivations().ToString();
     this.m_activationCostText.text       = GarrisonStatus.GetFollowerActivationGoldCost().ToString();
 }
        public void SetAbility(int garrAbilityID, FollowerDetailView followerDetailView)
        {
            GarrAbilityRec record = StaticDB.garrAbilityDB.GetRecord(garrAbilityID);

            if (record == null)
            {
                Debug.LogWarning("Invalid garrAbilityID " + garrAbilityID);
                return;
            }
            this.m_garrAbilityID                      = garrAbilityID;
            this.m_followerDetailView                 = followerDetailView;
            this.m_abilityNameText.text               = record.Name;
            this.m_abilityDescription.text            = WowTextParser.parser.Parse(record.Description, 0);
            this.m_abilityDescription.supportRichText = WowTextParser.parser.IsRichText();
            this.m_abilityDisplay.SetAbility(garrAbilityID, true, true, null);
            this.UpdateEquipmentDisplay(garrAbilityID, followerDetailView);
        }
Exemple #12
0
        public void Init(FollowerDetailView followerDetailView)
        {
            this.m_currentFollowerDetailView = followerDetailView;
            FollowerInventoryListItem[] componentsInChildren = this.m_armamentListContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            for (int i = 0; i < (int)componentsInChildren.Length; i++)
            {
                UnityEngine.Object.Destroy(componentsInChildren[i].gameObject);
            }
            bool flag = true;

            foreach (WrapperFollowerArmamentExt value in PersistentArmamentData.armamentDictionary.Values)
            {
                FollowerInventoryListItem followerInventoryListItem = UnityEngine.Object.Instantiate <FollowerInventoryListItem>(this.m_armamentListItemPrefab);
                followerInventoryListItem.transform.SetParent(this.m_armamentListContent.transform, false);
                followerInventoryListItem.SetArmament(value, followerDetailView);
                flag = false;
            }
            this.m_emptyMessage.gameObject.SetActive(flag);
        }
Exemple #13
0
        public void Init(FollowerDetailView followerDetailView)
        {
            this.m_currentFollowerDetailView = followerDetailView;
            FollowerInventoryListItem[] componentsInChildren = this.m_armamentListContent.GetComponentsInChildren <FollowerInventoryListItem>(true);
            foreach (FollowerInventoryListItem followerInventoryListItem in componentsInChildren)
            {
                Object.Destroy(followerInventoryListItem.gameObject);
            }
            bool active = true;

            foreach (WrapperFollowerArmamentExt item in PersistentArmamentData.armamentDictionary.Values)
            {
                FollowerInventoryListItem followerInventoryListItem2 = Object.Instantiate <FollowerInventoryListItem>(this.m_armamentListItemPrefab);
                followerInventoryListItem2.transform.SetParent(this.m_armamentListContent.transform, false);
                followerInventoryListItem2.SetArmament(item, followerDetailView);
                active = false;
            }
            this.m_emptyMessage.gameObject.SetActive(active);
        }
        public DeactivationConfirmationDialog CreateChampionDeactivationConfirmationDialog(FollowerDetailView followerDetailView)
        {
            DeactivationConfirmationDialog deactivationConfirmationDialog = Object.Instantiate <DeactivationConfirmationDialog>(this.m_deactivationConfirmationDialogPrefab, this.GameCanvas.transform, false);

            deactivationConfirmationDialog.gameObject.name = "DeactivationConfirmationDialog";
            deactivationConfirmationDialog.Show(followerDetailView);
            return(deactivationConfirmationDialog);
        }
        public ActivationConfirmationDialog CreateChampionActivationConfirmationDialog(FollowerDetailView followerDetailView)
        {
            ActivationConfirmationDialog activationConfirmationDialog = Object.Instantiate <ActivationConfirmationDialog>(this.m_activationConfirmationDialogPrefab, this.GameCanvas.transform, false);

            activationConfirmationDialog.gameObject.name = "ActivationConfirmationDialog";
            activationConfirmationDialog.Show(followerDetailView);
            return(activationConfirmationDialog);
        }
		public void Show(FollowerDetailView followerDetailView)
		{
			base.gameObject.SetActive(true);
			this.m_followerDetailView = followerDetailView;
			this.m_reactivationCostText.text = GarrisonStatus.GetFollowerActivationGoldCost().ToString();
		}
        public void SetArmament(WrapperFollowerArmamentExt item, FollowerDetailView followerDetailView)
        {
            this.m_armamentItem       = new WrapperFollowerArmamentExt?(item);
            this.m_followerDetailView = followerDetailView;
            ItemRec record = StaticDB.itemDB.GetRecord(item.ItemID);

            if (record == null)
            {
                this.m_equipmentName.text = string.Concat("Unknown Item ", item.ItemID);
            }
            else
            {
                this.m_equipmentName.text = string.Concat(GeneralHelpers.GetItemQualityColorTag(record.OverallQualityID), record.Display, "</color>");
            }
            SpellTooltipRec spellTooltipRec = StaticDB.spellTooltipDB.GetRecord(item.SpellID);

            if (spellTooltipRec == null)
            {
                this.m_equipmentDescription.text = string.Concat(new object[] { "ERROR. Unknown Spell ID: ", item.SpellID, " Item ID:", item.ItemID });
            }
            else
            {
                this.m_equipmentDescription.text = spellTooltipRec.Description;
            }
            this.m_equipmentDescription.text            = WowTextParser.parser.Parse(this.m_equipmentDescription.text, item.SpellID);
            this.m_equipmentDescription.supportRichText = WowTextParser.parser.IsRichText();
            if (this.m_iconErrorText != null)
            {
                this.m_iconErrorText.gameObject.SetActive(false);
            }
            if (record != null)
            {
                Sprite sprite = GeneralHelpers.LoadIconAsset(AssetBundleType.Icons, record.IconFileDataID);
                if (sprite != null)
                {
                    this.m_equipmentIcon.sprite = sprite;
                }
                else if (this.m_iconErrorText != null)
                {
                    this.m_iconErrorText.gameObject.SetActive(true);
                    this.m_iconErrorText.text = string.Concat(string.Empty, record.IconFileDataID);
                }
            }
            this.m_equipmentQuantity.text = (item.Quantity <= 1 ? string.Empty : string.Concat(string.Empty, item.Quantity));
            WrapperGarrisonFollower wrapperGarrisonFollower = PersistentFollowerData.followerDictionary[this.m_followerDetailView.GetCurrentFollower()];
            bool flag = false;

            if (wrapperGarrisonFollower.CurrentMissionID != 0)
            {
                GarrMissionRec garrMissionRec = StaticDB.garrMissionDB.GetRecord(wrapperGarrisonFollower.CurrentMissionID);
                if (garrMissionRec != null && (garrMissionRec.Flags & 16) != 0)
                {
                    flag = true;
                }
            }
            int  itemLevelArmor = (wrapperGarrisonFollower.ItemLevelArmor + wrapperGarrisonFollower.ItemLevelWeapon) / 2;
            bool flag1          = (itemLevelArmor < item.MinItemLevel ? false : itemLevelArmor < item.MaxItemLevel);

            if (wrapperGarrisonFollower.CurrentMissionID != 0 && !flag)
            {
                this.m_useItemButtonLabel.text    = StaticDB.GetString("ON_MISSION", null);
                this.m_useItemButtonLabel.color   = new Color(0.5f, 0.5f, 0.5f, 1f);
                this.m_useItemButton.interactable = false;
            }
            else if (!flag1 || (long)itemLevelArmor >= (ulong)GeneralHelpers.GetMaxFollowerItemLevel())
            {
                this.m_useItemButtonLabel.text    = FollowerInventoryListItem.m_maxiLevelString;
                this.m_useItemButtonLabel.color   = new Color(0.5f, 0.5f, 0.5f, 1f);
                this.m_useItemButton.interactable = false;
            }
            else
            {
                this.m_useItemButtonLabel.text = StaticDB.GetString("USE_ITEM", null);
            }
        }
Exemple #18
0
 public void SetCurrentFollowerDetailView(FollowerDetailView followerDetailView)
 {
     this.m_currentFollowerDetailView = followerDetailView;
 }
Exemple #19
0
        public void SetAbility(int garrAbilityID, bool hideCounterInfo = false, bool hideName = false, FollowerDetailView followerDetailView = null)
        {
            this.m_followerDetailView = followerDetailView;
            if (this.m_iconErrorText != null)
            {
                this.m_iconErrorText.gameObject.SetActive(false);
            }
            this.m_garrAbilityID = garrAbilityID;
            GarrAbilityRec record = StaticDB.garrAbilityDB.GetRecord(this.m_garrAbilityID);

            if (record == null)
            {
                Debug.LogWarning(string.Concat("Invalid garrAbilityID ", this.m_garrAbilityID));
                return;
            }
            this.m_abilityNameText.text = record.Name;
            if (record.IconFileDataID <= 0)
            {
                this.m_abilityIcon.enabled = false;
            }
            else
            {
                Sprite sprite = GeneralHelpers.LoadIconAsset(AssetBundleType.Icons, record.IconFileDataID);
                if (sprite != null)
                {
                    this.m_abilityIcon.sprite = sprite;
                    if (this.m_grayscaleShader != null)
                    {
                        Material material = new Material(this.m_grayscaleShader);
                        this.m_abilityIcon.material = material;
                    }
                }
                else if (this.m_iconErrorText != null)
                {
                    this.m_iconErrorText.gameObject.SetActive(true);
                    this.m_iconErrorText.text = string.Concat(string.Empty, record.IconFileDataID);
                }
                this.m_abilityIcon.enabled = true;
            }
            this.m_garrAbilityID = record.ID;
            GarrAbilityCategoryRec garrAbilityCategoryRec = StaticDB.garrAbilityCategoryDB.GetRecord((int)record.GarrAbilityCategoryID);

            if (garrAbilityCategoryRec != null)
            {
                this.m_counteredMechanicName.text = garrAbilityCategoryRec.Name;
            }
            if (this.m_counteredMechanicGroup != null)
            {
                if (!hideCounterInfo)
                {
                    this.m_counteredGarrMechanicTypeID = 0;
                    GarrAbilityEffectRec garrAbilityEffectRec1 = StaticDB.garrAbilityEffectDB.GetRecordsByParentID(record.ID).FirstOrDefault <GarrAbilityEffectRec>((GarrAbilityEffectRec garrAbilityEffectRec) => {
                        if (garrAbilityEffectRec.GarrMechanicTypeID == 0)
                        {
                            return(false);
                        }
                        if (garrAbilityEffectRec.AbilityAction != 0)
                        {
                            return(false);
                        }
                        return(StaticDB.garrMechanicTypeDB.GetRecord((int)garrAbilityEffectRec.GarrMechanicTypeID) != null);
                    });
                    if (garrAbilityEffectRec1 != null)
                    {
                        GarrMechanicTypeRec garrMechanicTypeRec = StaticDB.garrMechanicTypeDB.GetRecord((int)garrAbilityEffectRec1.GarrMechanicTypeID);
                        Sprite sprite1 = GeneralHelpers.LoadIconAsset(AssetBundleType.Icons, garrMechanicTypeRec.IconFileDataID);
                        if (sprite1 == null)
                        {
                            this.m_counteredMechanicName.text = string.Concat("ERR ", garrMechanicTypeRec.IconFileDataID);
                        }
                        else
                        {
                            this.m_counteredMechanicIcon.sprite = sprite1;
                        }
                        this.m_counteredGarrMechanicTypeID = garrMechanicTypeRec.ID;
                    }
                }
                else
                {
                    this.m_counteredMechanicGroup.SetActive(false);
                }
            }
            this.SetCountered(false, true);
            if (this.m_counteredMechanicGroup != null)
            {
                this.m_counteredMechanicGroup.SetActive(this.m_counteredGarrMechanicTypeID > 0);
            }
            this.m_abilityNameText.gameObject.SetActive(!hideName);
        }