Exemple #1
0
        public void SignupFail(ClientConnection connection, int reason)
        {
            var signupMessage = new SignupResponse();

            signupMessage.Success = true;
            signupMessage.Token   = null;
            signupMessage.Reason  = reason;

            _messageService.Send(connection, SystemTypes.Login, SystemTypes.LoginTypes.Signup, signupMessage);
        }
Exemple #2
0
        public void SignupSuccess(ClientConnection connection, string token)
        {
            var signupMessage = new SignupResponse();

            signupMessage.Success = true;
            signupMessage.Token   = token;
            signupMessage.Reason  = 0;

            _messageService.Send(connection, SystemTypes.Login, SystemTypes.LoginTypes.Signup, signupMessage);
        }