Exemple #1
0
        public async static void SendPackgeWithUser(string uid, int protocol, byte[] sendByte)
        {
            await Task.Factory.StartNew(() =>
            {
                List <byte> list = new List <byte>();
                list.Add((byte)(protocol >> 8));
                list.Add((byte)(protocol & 0xFF));
                list.AddRange(sendByte);

                GameUserManager.SendPackgeWithUser(uid, list.ToArray());
            });
        }