public void Show()
 {
     if (isActiveAndEnabled)
     {
         SlotAnimator.SetBool("Hidden", false);
     }
 }
 public void Hide()
 {
     if (isActiveAndEnabled)
     {
         SlotAnimator.SetBool("Hidden", true);
     }
 }
 public void MarkSlots(RaidPartySlot partySlot, HeroSlot heroSlot)
 {
     if (SelectedHero == null || SelectedHero.Hero.RosterId == heroSlot.Hero.RosterId)
     {
         if (RaidPartyPanel.IsResolveEligible(heroSlot.Hero))
         {
             SlotAnimator.SetBool("marked", true);
         }
     }
 }
 public void ItemDroppedIn(HeroSlot heroSlot)
 {
     SelectedHero       = heroSlot;
     heroSlot.PartySlot = this;
     SlotAnimator.SetBool("empty", false);
     SlotAnimator.SetBool("marked", false);
     SlotAnimator.SetBool("locked", false);
     heroFrame.sprite = heroSlot.portrait.sprite;
     heroSlot.SetStatus(HeroStatus.RaidParty);
     if (onDropIn != null)
     {
         onDropIn(heroSlot);
     }
 }
    public void ItemDroppedOut(HeroSlot heroSlot)
    {
        SelectedHero       = null;
        heroSlot.PartySlot = null;
        SlotAnimator.SetBool("empty", true);
        SlotAnimator.SetBool("marked", false);
        SlotAnimator.SetBool("locked", false);
        heroSlot.SetStatus(HeroStatus.Available);
        if (onDropOut != null)
        {
            onDropOut(heroSlot);
        }

        DarkestSoundManager.PlayOneShot("event:/ui/town/character_remove");
    }
 public void SetDeselected()
 {
     SlotAnimator.SetBool("Selected", false);
     SelectorAnimator.SetTrigger("Deselected");
     selectorPlus.gameObject.SetActive(false);
 }
 public void SetStatic()
 {
     SlotAnimator.SetBool("Selected", true);
     SelectorAnimator.SetTrigger("Available");
 }
 public void SetActive()
 {
     SlotAnimator.SetBool("Selected", true);
     SelectorAnimator.SetTrigger("Selected");
 }
 public void UnmarkSlots(RaidPartySlot partySlot, HeroSlot heroSlot)
 {
     SlotAnimator.SetBool("marked", false);
 }