* minor renames
parent
79045abe68
commit
ce071417d4
|
@ -10,20 +10,20 @@ namespace OpenSim.Region.Communications.Local
|
||||||
{
|
{
|
||||||
public class LocalUserServices : UserManagerBase, IUserServices
|
public class LocalUserServices : UserManagerBase, IUserServices
|
||||||
{
|
{
|
||||||
private readonly CommunicationsLocal m_Parent;
|
private readonly CommunicationsLocal m_parent;
|
||||||
|
|
||||||
private readonly NetworkServersInfo serversInfo;
|
private readonly NetworkServersInfo m_serversInfo;
|
||||||
private readonly uint defaultHomeX ;
|
private readonly uint m_defaultHomeX ;
|
||||||
private readonly uint defaultHomeY;
|
private readonly uint m_defaultHomeY;
|
||||||
|
|
||||||
|
|
||||||
public LocalUserServices(CommunicationsLocal parent, NetworkServersInfo serversInfo)
|
public LocalUserServices(CommunicationsLocal parent, NetworkServersInfo serversInfo)
|
||||||
{
|
{
|
||||||
m_Parent = parent;
|
m_parent = parent;
|
||||||
this.serversInfo = serversInfo;
|
m_serversInfo = serversInfo;
|
||||||
|
|
||||||
defaultHomeX = this.serversInfo.DefaultHomeLocX;
|
m_defaultHomeX = this.m_serversInfo.DefaultHomeLocX;
|
||||||
defaultHomeY = this.serversInfo.DefaultHomeLocY;
|
m_defaultHomeY = this.m_serversInfo.DefaultHomeLocY;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UserProfileData SetupMasterUser(string firstName, string lastName)
|
public UserProfileData SetupMasterUser(string firstName, string lastName)
|
||||||
|
@ -41,7 +41,7 @@ namespace OpenSim.Region.Communications.Local
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine("Unknown Master User. Sandbox Mode: Creating Account");
|
Console.WriteLine("Unknown Master User. Sandbox Mode: Creating Account");
|
||||||
this.AddUserProfile(firstName, lastName, password, defaultHomeX, defaultHomeY);
|
this.AddUserProfile(firstName, lastName, password, m_defaultHomeX, m_defaultHomeY);
|
||||||
|
|
||||||
profile = base.GetUserProfile(firstName, lastName);
|
profile = base.GetUserProfile(firstName, lastName);
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ namespace OpenSim.Region.Communications.Local
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Parent.InvenServices.CreateNewUserInventory(profile.UUID);
|
m_parent.InvenServices.CreateNewUserInventory(profile.UUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
return profile;
|
return profile;
|
||||||
|
|
Loading…
Reference in New Issue