public void AppendClientData(byte[] data) { if (Initialized) { SecSession.Decrypt(data); } ClientPackets.Enqueue(data); }
public void AppendServerData(byte[] data) { if (Initialized) { SecSession.Encrypt(data); } ServerPackets.Enqueue(data); }