public void OnShowRoomTips(MsgRoomShowTips 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 OnServerMessageRoomShowTips(Player player, MsgRoomShowTips msg) { // 获得服务器分配的chair id player.MyWnd.OnShowRoomTips(msg); }