public void OnShowTableTips(MsgTableShowTips msg) { MyOwner.AppendLog($"{MyPlayer.UserId}: {msg.Tips}\r\n"); if (string.IsNullOrWhiteSpace(msg.Tips)) { return; } if (MyOwner.CheckBoxAutoAction.IsChecked == true) { DoAutoAction(msg.Tips); } }
private static void OnServerMessageTableShowTips(Player player, MsgTableShowTips msg) { // 获得服务器分配的chair id player.MyWnd.OnShowTableTips(msg); }