Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 private static void OnServerMessageTableShowTips(Player player, MsgTableShowTips msg)
 {
     // 获得服务器分配的chair id
     player.MyWnd.OnShowTableTips(msg);
 }