예제 #1
0
        public void BuyCard(long card)
        {
            Hashtable msg;

            if (card_choose_mode == CardPanelController_CardChoose_Mode.Change)
            {
                msg = Cyclades.Game.Client.Messanges.ChangeCard(card);
                card_choose_mode = CardPanelController_CardChoose_Mode.Buy;
            }
            else
            {
                msg = Cyclades.Game.Client.Messanges.BuyCard(card);
            }
            Debug.Log("msg: " + Shmipl.Base.json.dumps(msg));
        }
예제 #2
0
 public void ChangeCard()
 {
     card_choose_mode = (card_choose_mode == CardPanelController_CardChoose_Mode.Change ? CardPanelController_CardChoose_Mode.Buy : CardPanelController_CardChoose_Mode.Change);
 }