示例#1
0
        public virtual void GameBroadcast(int msgindex, object arg, object arg2)
        {
            // go through the participant list and send all participants the message
            if (Participants != null)
            {
                foreach (IChallengeEntry entry in Participants)
                {
                    if (entry.Participant == null || entry.Status == ChallengeStatus.Forfeit)
                    {
                        continue;
                    }

                    XmlPoints.SendColorText(entry.Participant, 40, msgindex, arg, arg2);
                }
            }
        }