Added GetUUID(first, last) on UserAgentsService so that we can finally make direct user connections.

This commit is contained in:
Diva Canto
2012-03-17 21:27:28 -07:00
parent 441ef301a3
commit d1256536b5
6 changed files with 136 additions and 10 deletions

View File

@@ -566,6 +566,16 @@ namespace OpenSim.Services.HypergridService
return string.Empty;
}
public UUID GetUUID(String first, String last)
{
// Let's see if it's a local user
UserAccount account = m_UserAccountService.GetUserAccount(UUID.Zero, first, last);
if (account != null)
return account.PrincipalID;
else
return UUID.Zero;
}
}
class TravelingAgentInfo