internal void OutputSendDebugData(string data) { if (m_HasReceivedSessionKey) { Console.WriteLine("Sending [{1}]: ({0}) ", m_AesModule.DecryptStringToString(data).Replace("#|", " "), ClientId); } }
internal void RelayMessages(IEnumerable <string> messages) { foreach (string message in messages) { m_IsolationArgs.UpdateMessage(m_ClientState.ClientId, m_Aes.DecryptStringToString(message)); NetworkEventDispatcher.InvokeClientMessageEvent(m_IsolationArgs); if (ServerCore.DebugMode) { Console.WriteLine("Relay Event Invoked On Thread: " + Thread.CurrentThread.ManagedThreadId); } } }