Beispiel #1
0
        public void AppendClientData(byte[] data)
        {
            if (Initialized)
            {
                SecSession.Decrypt(data);
            }

            ClientPackets.Enqueue(data);
        }
Beispiel #2
0
        public void AppendServerData(byte[] data)
        {
            if (Initialized)
            {
                SecSession.Encrypt(data);
            }

            ServerPackets.Enqueue(data);
        }