diff options
author | UbitUmarov | 2015-09-01 14:54:35 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-01 14:54:35 +0100 |
commit | 371c9dd2af01a2e7422ec901ee1f80757284a78c (patch) | |
tree | 058d2a513cacb12efcce0c0df0ae14ad135dbfe2 /OpenSim/Services/LLLoginService/LLLoginResponse.cs | |
parent | remove lixo (diff) | |
parent | dont change camera on crossings (diff) | |
download | opensim-SC-371c9dd2af01a2e7422ec901ee1f80757284a78c.zip opensim-SC-371c9dd2af01a2e7422ec901ee1f80757284a78c.tar.gz opensim-SC-371c9dd2af01a2e7422ec901ee1f80757284a78c.tar.bz2 opensim-SC-371c9dd2af01a2e7422ec901ee1f80757284a78c.tar.xz |
bad merge?
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginResponse.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index c3756d0..92d93ee 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -55,6 +55,7 @@ namespace OpenSim.Services.LLLoginService | |||
55 | public static LLFailedLoginResponse InventoryProblem; | 55 | public static LLFailedLoginResponse InventoryProblem; |
56 | public static LLFailedLoginResponse DeadRegionProblem; | 56 | public static LLFailedLoginResponse DeadRegionProblem; |
57 | public static LLFailedLoginResponse LoginBlockedProblem; | 57 | public static LLFailedLoginResponse LoginBlockedProblem; |
58 | public static LLFailedLoginResponse UnverifiedAccountProblem; | ||
58 | public static LLFailedLoginResponse AlreadyLoggedInProblem; | 59 | public static LLFailedLoginResponse AlreadyLoggedInProblem; |
59 | public static LLFailedLoginResponse InternalError; | 60 | public static LLFailedLoginResponse InternalError; |
60 | 61 | ||
@@ -75,6 +76,10 @@ namespace OpenSim.Services.LLLoginService | |||
75 | LoginBlockedProblem = new LLFailedLoginResponse("presence", | 76 | LoginBlockedProblem = new LLFailedLoginResponse("presence", |
76 | "Logins are currently restricted. Please try again later.", | 77 | "Logins are currently restricted. Please try again later.", |
77 | "false"); | 78 | "false"); |
79 | UnverifiedAccountProblem = new LLFailedLoginResponse("presence", | ||
80 | "Your account has not yet been verified. Please check " + | ||
81 | "your email and click the provided link.", | ||
82 | "false"); | ||
78 | AlreadyLoggedInProblem = new LLFailedLoginResponse("presence", | 83 | AlreadyLoggedInProblem = new LLFailedLoginResponse("presence", |
79 | "You appear to be already logged in. " + | 84 | "You appear to be already logged in. " + |
80 | "If this is not the case please wait for your session to timeout. " + | 85 | "If this is not the case please wait for your session to timeout. " + |
@@ -145,6 +150,7 @@ namespace OpenSim.Services.LLLoginService | |||
145 | private UUID agentID; | 150 | private UUID agentID; |
146 | private UUID sessionID; | 151 | private UUID sessionID; |
147 | private UUID secureSessionID; | 152 | private UUID secureSessionID; |
153 | private UUID realID; | ||
148 | 154 | ||
149 | // Login Flags | 155 | // Login Flags |
150 | private string dst; | 156 | private string dst; |
@@ -228,8 +234,13 @@ namespace OpenSim.Services.LLLoginService | |||
228 | public LLLoginResponse(UserAccount account, AgentCircuitData aCircuit, GridUserInfo pinfo, | 234 | public LLLoginResponse(UserAccount account, AgentCircuitData aCircuit, GridUserInfo pinfo, |
229 | GridRegion destination, List<InventoryFolderBase> invSkel, FriendInfo[] friendsList, ILibraryService libService, | 235 | GridRegion destination, List<InventoryFolderBase> invSkel, FriendInfo[] friendsList, ILibraryService libService, |
230 | string where, string startlocation, Vector3 position, Vector3 lookAt, List<InventoryItemBase> gestures, string message, | 236 | string where, string startlocation, Vector3 position, Vector3 lookAt, List<InventoryItemBase> gestures, string message, |
237 | <<<<<<< HEAD | ||
231 | GridRegion home, IPEndPoint clientIP, string mapTileURL, string searchURL, string currency, | 238 | GridRegion home, IPEndPoint clientIP, string mapTileURL, string searchURL, string currency, |
232 | string DSTZone, string destinationsURL, string avatarsURL, string classifiedFee, int maxAgentGroups) | 239 | string DSTZone, string destinationsURL, string avatarsURL, string classifiedFee, int maxAgentGroups) |
240 | ======= | ||
241 | GridRegion home, IPEndPoint clientIP, string mapTileURL, string profileURL, string openIDURL, string searchURL, string currency, | ||
242 | string DSTZone, string destinationsURL, string avatarsURL, UUID realID, string classifiedFee) | ||
243 | >>>>>>> avn/ubitvar | ||
233 | : this() | 244 | : this() |
234 | { | 245 | { |
235 | FillOutInventoryData(invSkel, libService); | 246 | FillOutInventoryData(invSkel, libService); |
@@ -242,6 +253,7 @@ namespace OpenSim.Services.LLLoginService | |||
242 | AgentID = account.PrincipalID; | 253 | AgentID = account.PrincipalID; |
243 | SessionID = aCircuit.SessionID; | 254 | SessionID = aCircuit.SessionID; |
244 | SecureSessionID = aCircuit.SecureSessionID; | 255 | SecureSessionID = aCircuit.SecureSessionID; |
256 | RealID = realID; | ||
245 | Message = message; | 257 | Message = message; |
246 | BuddList = ConvertFriendListItem(friendsList); | 258 | BuddList = ConvertFriendListItem(friendsList); |
247 | StartLocation = where; | 259 | StartLocation = where; |
@@ -383,6 +395,7 @@ namespace OpenSim.Services.LLLoginService | |||
383 | private void FillOutRegionData(GridRegion destination) | 395 | private void FillOutRegionData(GridRegion destination) |
384 | { | 396 | { |
385 | IPEndPoint endPoint = destination.ExternalEndPoint; | 397 | IPEndPoint endPoint = destination.ExternalEndPoint; |
398 | if (endPoint == null) return; | ||
386 | SimAddress = endPoint.Address.ToString(); | 399 | SimAddress = endPoint.Address.ToString(); |
387 | SimPort = (uint)endPoint.Port; | 400 | SimPort = (uint)endPoint.Port; |
388 | RegionX = (uint)destination.RegionLocX; | 401 | RegionX = (uint)destination.RegionLocX; |
@@ -473,6 +486,7 @@ namespace OpenSim.Services.LLLoginService | |||
473 | SessionID = UUID.Random(); | 486 | SessionID = UUID.Random(); |
474 | SecureSessionID = UUID.Random(); | 487 | SecureSessionID = UUID.Random(); |
475 | AgentID = UUID.Random(); | 488 | AgentID = UUID.Random(); |
489 | RealID = UUID.Zero; | ||
476 | 490 | ||
477 | Hashtable InitialOutfitHash = new Hashtable(); | 491 | Hashtable InitialOutfitHash = new Hashtable(); |
478 | InitialOutfitHash["folder_name"] = "Nightclub Female"; | 492 | InitialOutfitHash["folder_name"] = "Nightclub Female"; |
@@ -518,6 +532,7 @@ namespace OpenSim.Services.LLLoginService | |||
518 | responseData["http_port"] = (Int32)SimHttpPort; | 532 | responseData["http_port"] = (Int32)SimHttpPort; |
519 | 533 | ||
520 | responseData["agent_id"] = AgentID.ToString(); | 534 | responseData["agent_id"] = AgentID.ToString(); |
535 | responseData["real_id"] = RealID.ToString(); | ||
521 | responseData["session_id"] = SessionID.ToString(); | 536 | responseData["session_id"] = SessionID.ToString(); |
522 | responseData["secure_session_id"] = SecureSessionID.ToString(); | 537 | responseData["secure_session_id"] = SecureSessionID.ToString(); |
523 | responseData["circuit_code"] = CircuitCode; | 538 | responseData["circuit_code"] = CircuitCode; |
@@ -613,6 +628,7 @@ namespace OpenSim.Services.LLLoginService | |||
613 | map["sim_ip"] = OSD.FromString(SimAddress); | 628 | map["sim_ip"] = OSD.FromString(SimAddress); |
614 | 629 | ||
615 | map["agent_id"] = OSD.FromUUID(AgentID); | 630 | map["agent_id"] = OSD.FromUUID(AgentID); |
631 | map["real_id"] = OSD.FromUUID(RealID); | ||
616 | map["session_id"] = OSD.FromUUID(SessionID); | 632 | map["session_id"] = OSD.FromUUID(SessionID); |
617 | map["secure_session_id"] = OSD.FromUUID(SecureSessionID); | 633 | map["secure_session_id"] = OSD.FromUUID(SecureSessionID); |
618 | map["circuit_code"] = OSD.FromInteger(CircuitCode); | 634 | map["circuit_code"] = OSD.FromInteger(CircuitCode); |
@@ -924,6 +940,12 @@ namespace OpenSim.Services.LLLoginService | |||
924 | set { secureSessionID = value; } | 940 | set { secureSessionID = value; } |
925 | } | 941 | } |
926 | 942 | ||
943 | public UUID RealID | ||
944 | { | ||
945 | get { return realID; } | ||
946 | set { realID = value; } | ||
947 | } | ||
948 | |||
927 | public Int32 CircuitCode | 949 | public Int32 CircuitCode |
928 | { | 950 | { |
929 | get { return circuitCode; } | 951 | get { return circuitCode; } |