Exemple #1
0
        public void SendBuzz()
        {
            if (!EnsureChatSession())
            {
                return;
            }

            if (chatState.CanSendBuzz)
            {
                chatTextBox.AddInfo(Translation.Instance.ChatWindow_YouSentBuzz);
                chatSession.SendBuzz();
                chatState.BuzzSent();
                DoBuzzAction();
            }
            else
            {
                chatTextBox.AddError(Translation.Instance.ChatWindow_BuzzTooEarly, String.Empty);
            }
        }