示例#1
0
 static LLFailedLoginResponse()
 {
     AuthenticationProblem = new LLFailedLoginResponse(LoginResponseEnum.PasswordIncorrect,
                                                       "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.",
                                                       false);
     AccountProblem = new LLFailedLoginResponse(LoginResponseEnum.PasswordIncorrect,
                                                "Could not find an account for your avatar. Please check that your username is correct or make a new account.",
                                                false);
     PermanentBannedProblem = new LLFailedLoginResponse(LoginResponseEnum.PasswordIncorrect,
                                                        "You have been blocked from using this service.",
                                                        false);
     GridProblem = new LLFailedLoginResponse(LoginResponseEnum.InternalError,
                                             "Error connecting to the desired location. Try connecting to another region.",
                                             false);
     InventoryProblem = new LLFailedLoginResponse(LoginResponseEnum.InternalError,
                                                  "The inventory service is not responding.  Please notify your login region operator.",
                                                  false);
     DeadRegionProblem = new LLFailedLoginResponse(LoginResponseEnum.InternalError,
                                                   "The region you are attempting to log into is not responding. Please select another region and try again.",
                                                   false);
     LoginBlockedProblem = new LLFailedLoginResponse(LoginResponseEnum.InternalError,
                                                     "Logins are currently restricted. Please try again later.",
                                                     false);
     AlreadyLoggedInProblem = new LLFailedLoginResponse(LoginResponseEnum.PresenceIssue,
                                                        "You appear to be already logged in. " +
                                                        "If this is not the case please wait for your session to timeout. " +
                                                        "If this takes longer than a few minutes please contact the grid owner. " +
                                                        "Please wait 5 minutes if you are going to connect to a region nearby to the region you were at previously.",
                                                        false);
     InternalError = new LLFailedLoginResponse(LoginResponseEnum.InternalError, "Error generating Login Response",
                                               false);
 }
 static LLFailedLoginResponse ()
 {
     AuthenticationProblem = new LLFailedLoginResponse (
         LoginResponseEnum.PasswordIncorrect,
         "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.",
         false);
     AccountProblem = new LLFailedLoginResponse (
         LoginResponseEnum.PasswordIncorrect,
         "Could not find an account for your avatar. Please check that your username is correct or make a new account.",
         false);
     PermanentBannedProblem = new LLFailedLoginResponse (
         LoginResponseEnum.PasswordIncorrect,
         "You have been blocked from using this service.",
         false);
     GridProblem = new LLFailedLoginResponse (
         LoginResponseEnum.InternalError,
         "Error connecting to the desired location. Try connecting to another region.",
         false);
     InventoryProblem = new LLFailedLoginResponse (
         LoginResponseEnum.InternalError,
         "The inventory service is not responding.  Please notify your login region operator.",
         false);
     DeadRegionProblem = new LLFailedLoginResponse (
         LoginResponseEnum.InternalError,
         "The region you are attempting to log into is not responding. Please select another region and try again.",
         false);
     LoginBlockedProblem = new LLFailedLoginResponse (
         LoginResponseEnum.InternalError,
         "Logins are currently restricted. Please try again later.",
         false);
     AlreadyLoggedInProblem = new LLFailedLoginResponse 
         (LoginResponseEnum.PresenceIssue,
         "You appear to be already logged in. " +
         "If this is not the case please wait for your session to timeout. " +
         "If this takes longer than a few minutes please contact the grid owner. " +
         "Please wait 5 minutes if you are going to connect to a region nearby to the region you were at previously.",
         false);
     InternalError = new LLFailedLoginResponse (
         LoginResponseEnum.InternalError, 
         "Error generating Login Response",
         false);
                         
 }