Пример #1
0
        public void OnLobbyChatEnter(string message)
        {
            if (Program.GameStarted)
            {
                return;
            }

            if (message != null && message.Length > 0)
            {
                Console.WriteLine("lobby chat message: " + message);
                SteamMatches.SendChatMsg(message);
            }
        }
Пример #2
0
 public void Spectate()
 {
     SteamMatches.SendChatMsg("%j0");
 }
Пример #3
0
 public void Join()
 {
     SteamMatches.SendChatMsg("%j1");
 }
Пример #4
0
        public void SelectKingdom(string kingdom)
        {
            string msg = string.Format("%k{0}", kingdom);

            SteamMatches.SendChatMsg(msg);
        }
Пример #5
0
        public void SelectTeam(string team)
        {
            string msg = string.Format("%t{0}", team);

            SteamMatches.SendChatMsg(msg);
        }
Пример #6
0
        public void SendAnnouncement(string message)
        {
            string msg = string.Format("%a{0}", message);

            SteamMatches.SendChatMsg(msg);
        }
Пример #7
0
 public void SendChat(string msg)
 {
     SteamMatches.SendChatMsg(msg);
 }