public void ButtonClicked(UIListPopup popup, ECardListButton button, Item card)
 {
     if (popup == modListPopup) {
         if (button == ECardListButton.BUTTON_LEFT)
             if ((card as LocalMod).enabled)
                 loader.moveModUp ((LocalMod)card);
         else if (button == ECardListButton.BUTTON_RIGHT)
             if ((card as LocalMod).enabled)
                 loader.moveModDown((LocalMod)card);
     }
 }
Beispiel #2
0
        public void SetButtonHighlighted(ECardListButton button, bool highlighted)
        {
            switch (button)
            {
            case ECardListButton.BUTTON_LEFT:
                this.leftButtonHighlighted = highlighted;
                break;

            case ECardListButton.BUTTON_RIGHT:
                this.rightButtonHighlighted = highlighted;
                break;
            }
        }
Beispiel #3
0
        public void SetButtonContent(ECardListButton button, GUIContent content)
        {
            switch (button)
            {
            case ECardListButton.BUTTON_LEFT:
                this.buttonLeftContent = content;
                break;

            case ECardListButton.BUTTON_RIGHT:
                this.buttonRightContent = content;
                break;
            }
        }
Beispiel #4
0
 public void ButtonClicked(UIListPopup popup, ECardListButton button, Item card)
 {
     if (popup == modListPopup)
     {
         if (button == ECardListButton.BUTTON_LEFT)
         {
             if ((card as LocalMod).enabled)
             {
                 loader.moveModUp((LocalMod)card);
             }
             else if (button == ECardListButton.BUTTON_RIGHT)
             {
                 if ((card as LocalMod).enabled)
                 {
                     loader.moveModDown((LocalMod)card);
                 }
             }
         }
     }
 }
 public void ButtonClicked(UIListPopup popup, ECardListButton button, List<Item> selectedCards)
 {
 }
 public void ButtonClicked(UIListPopup popup, ECardListButton button)
 {
 }
 public void ButtonClicked(UIListPopup popup, ECardListButton button, List<Item> selectedCards, Item card)
 {
     this.ButtonClicked (popup, button, card);
 }
Beispiel #8
0
 public void ButtonClicked(UIListPopup popup, ECardListButton button, List <Item> selectedCards, Item card)
 {
     this.ButtonClicked(popup, button, card);
 }
        public void SetButtonHighlighted(ECardListButton button, bool highlighted)
        {
            switch (button)
            {
            case ECardListButton.BUTTON_LEFT:
                this.leftButtonHighlighted = highlighted;
                break;

            case ECardListButton.BUTTON_RIGHT:
                this.rightButtonHighlighted = highlighted;
                break;
            }
        }
        public void SetButtonContent(ECardListButton button, GUIContent content)
        {
            switch (button)
            {
            case ECardListButton.BUTTON_LEFT:
                this.buttonLeftContent = content;
                break;

            case ECardListButton.BUTTON_RIGHT:
                this.buttonRightContent = content;
                break;
            }
        }
Beispiel #11
0
 public void ButtonClicked(CardListPopup popup, ECardListButton button, List <Card> selectedCards)
 {
 }
Beispiel #12
0
        //icardlistcallback

        public void ButtonClicked(CardListPopup popup, ECardListButton button)
        {
        }
Beispiel #13
0
        public void ButtonClicked(CardListPopup popup, ECardListButton button, List<Card> selectedCards)
        {

        }