示例#1
0
        public static async ETVoid SellChessman(this FUIChessStoreComponent uIChessStoreComponent, long chessmanId)
        {
            M2C_SellCard m2C_DealCards = (M2C_SellCard)await SessionComponent.Instance.Session.Call(new C2M_SellCard()
            {
                ChessmanId = chessmanId
            });

            //uIChessStoreComponent.ReloadChess();
        }
示例#2
0
        public static async ETVoid RefreshChessPanel(this FUIChessStoreComponent uIChessStoreComponent)
        {
            M2C_DealCards m2C_DealCards = (M2C_DealCards)await SessionComponent.Instance.Session.Call(new C2M_DealCards());

            //uIChessStoreComponent.ReloadChess(m2C_DealCards.Chessmans.array);
        }
示例#3
0
        public static async ETVoid AddExp(this FUIChessStoreComponent uIChessStoreComponent)
        {
            M2C_AddExp m2C_DealCards = (M2C_AddExp)await SessionComponent.Instance.Session.Call(new C2M_AddExp());

            //uIChessStoreComponent.ReloadChess();
        }