public void PlayerLogin(string name, string playerId = "")
        {
            if (_signup)
            {
                throw new NotSupportedException("ReLogin is not supported");
            }
            if (!_connected && !connectWatcher.TryWait(2000) && !_connected)
            {
                throw new NotSupportedException("Client should be connected to server");
            }

            var loginEvent = new LoginPlayerEvent(name, playerId);

            loginEvent.ConnectionId = PlayerInfo.ConnectionId;
            SendMessage(loginEvent);
            // Debug.WriteLine("Czekam na SIGNUP");
            // signupWatcher.Wait();
        }