예제 #1
0
        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);
        }
예제 #2
0
 private void Do()
 {
     LobbyChatAction chat2 = new LobbyChatAction() { ChatMessage = txtGeneralChatMessage.Text, Sender = Core.Instance.CurrentPlayer.ID };
     SettleIn.Server.Instance
         .Proxy.Say(chat2);
 }