Beispiel #1
0
        public void ProcessDealCard(NetworkResponse response)
        {
            ResponseDealCard args = response as ResponseDealCard;
            int status            = args.status;

            Debug.Log("DealCard status (actions in queue?): " + status);
        }
        public static NetworkResponse Parse(MemoryStream dataStream)
        {
            ResponseDealCard response = new ResponseDealCard();
            response.status = DataReader.ReadShort(dataStream);

            return response;
        }
Beispiel #3
0
        public void ProcessDealCard(NetworkResponse response)
        {
            ResponseDealCard args = response as ResponseDealCard;

            Debug.Log("DealCard status" + args.status);
            // TODO:
            //dealDummyCard(1);
        }
        public static NetworkResponse Parse(MemoryStream dataStream)
        {
            ResponseDealCard response = new ResponseDealCard();

            response.status = DataReader.ReadShort(dataStream);

            return(response);
        }