public void SendForcedTableDisconnectionNotice(Player recipient, string reason) { ForcedTableLeaveNotice fln = new ForcedTableLeaveNotice(); fln.TableId = Table.TableId; fln.Message = reason; fln.PlayerName = recipient.Name; AddToOutgoingMessageQueue(GameMessageType.Client_ReceiveForcedTableLeaveNotice, fln, recipient.ToList()); }
public virtual void SendForcedTableLeaveNotice(string playerName, string message, string tableId) { ForcedTableLeaveNotice fln = new ForcedTableLeaveNotice(); fln.PlayerName = playerName; fln.Message = message; fln.TableId = tableId; SendMessageToPlayers(GameMessageType.Client_ReceiveForcedTableLeaveNotice, fln, playerName.ToList()); ServerUIShell.WriteLine("-Player has been instructed to leave table (" + playerName + ")"); }