private void SayToLobby(GameAction action) { LobbyChatAction ca = new LobbyChatAction(); ca.Sender = action.Sender; ca.ChatMessage = ((LobbyChatAction)action).ChatMessage; //_LobbyChatLog.Say((LobbyChatAction)action); BroadcastMessage(ca, null); }
private void Do() { LobbyChatAction chat2 = new LobbyChatAction() { ChatMessage = txtGeneralChatMessage.Text, Sender = Core.Instance.CurrentPlayer.ID }; SettleIn.Server.Instance .Proxy.Say(chat2); }