mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Added GetUUID(first, last) on UserAgentsService so that we can finally make direct user connections.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user