Example #1
0
        public void DoChat(int characterIdFrom, string message)
        {
            MapleMessengerCharacter mcc;

            if (!Participants.TryGetValue(characterIdFrom, out mcc))
            {
                return;
            }
            var chatPacket = Packets.Chat(mcc.Character.Name, message);

            BroadCastPacket(chatPacket, characterIdFrom);
        }