Example #1
0
        protected override void ClientTooltipCreateControlsInternal(IItem item, List <UIElement> controls)
        {
            base.ClientTooltipCreateControlsInternal(item, controls);

            controls.Add(
                ItemTooltipArmorStats.Create(this));
        }
Example #2
0
        protected override void ClientTooltipCreateControlsInternal(IItem item, List <UIElement> controls)
        {
            controls.Add(
                new StatModificationDisplay(this.ProtoEffects, hideDefenseStats: true)
            {
                Opacity = 0.8,
                Margin  = new Thickness(0, 0, 0, 8)
            });

            base.ClientTooltipCreateControlsInternal(item, controls);

            controls.Add(
                ItemTooltipArmorStats.Create(this));
        }