//private void p_PM_FriendIDChanged() //{ //} private void p_PM_MessageReceived(SteamAPI.SteamID sender, SteamAPI.SteamID receiver, string message) { if (!Global.MainWindow.ProcessGlobalCommand(message, false)) { if (sender.ToString() == p_Client.GetSteamID().ToString()) { if (Global.MainWindow.ProcessLocalCommand(message, false)) { Global.Stats.CommandsUsed++; } } } }
//private void p_Chat_ChatIDChanged() //{ //} private void p_Chat_MessageReceived(SteamAPI.SteamID chatID, SteamAPI.SteamID sender, string message) { if (!Global.MainWindow.ProcessGlobalCommand(message, true)) { if (sender.ToString() == p_Client.GetSteamID().ToString()) { if (Global.MainWindow.ProcessLocalCommand(message, true)) { Global.Stats.CommandsUsed++; Global.MainWindow.AchievementList.IncreaseChattyCathy(chatID); } } } }