Beispiel #1
0
        public void SendMessageToAll(string message)
        {
            var stream = GameClient.GetScriptMessageStream();

            stream.Write((byte)ScriptMessages.ChatMessage);
            stream.Write(message);
            _ClientList.ForEach(c => c.BaseClient.SendScriptMessage(stream, NetPriority.Low, NetReliability.Reliable));
        }