コード例 #1
0
        public List <Channel> SendMessages(string PlayerName, string Message, bool CheckNameExist)
        {
            List <Channel> Chans = new List <Channel>();

            foreach (Channel Chan in Channels.Values.ToArray())
            {
                if (Chan.DispatchMessage(PlayerName, Message, CheckNameExist))
                {
                    Chans.Add(Chan);
                }
            }

            return(Chans);
        }