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

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

            ServerPackets.Enqueue(data);
        }