Exemplo n.º 1
0
        public void SendUpdatePlayerStoryStar(string status, string playerId, string stageNumber, int number)
        {
            var data    = new CollectionStroyStar(playerId, stageNumber, number);
            var message = new Message("1040" + status, data);
            var str     = JsonConvert.SerializeObject(message);

            ws.Send(str);
        }
Exemplo n.º 2
0
        public void SendDeleteStoryStars(string status, string playerId)
        {
            var data    = new CollectionStroyStar(playerId, "", 0);
            var message = new Message("1031" + status, data);
            var str     = JsonConvert.SerializeObject(message);

            ws.Send(str);
        }