OpenSim
|
Public Member Functions | |
void | Initialise (IConfigSource config) |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More... | |
void | AddRegion (Scene scene) |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More... | |
void | RemoveRegion (Scene scene) |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More... | |
void | RegionLoaded (Scene s) |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More... | |
void | PostInitialise () |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More... | |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | HandleAvatarPickerRequest (IClientAPI client, UUID avatarID, UUID RequestID, string query) |
List< UserData > | GetUserData (string query, int page_size, int page_number) |
UUID | GetUserIdByName (string name) |
Get user ID by the given name. More... | |
UUID | GetUserIdByName (string firstName, string lastName) |
Get user ID by the given name. More... | |
string | GetUserName (UUID uuid) |
string | GetUserHomeURL (UUID userID) |
string | GetUserServerURL (UUID userID, string serverType) |
string | GetUserUUI (UUID userID) |
bool | GetUserUUI (UUID userID, out string uui) |
bool | GetUser (UUID uuid, out UserData userdata) |
void | AddUser (UUID uuid, string first, string last) |
Add a user. More... | |
void | AddUser (UUID uuid, string first, string last, string homeURL) |
Add a user. More... | |
void | AddUser (UUID id, string creatorData) |
Add a user. More... | |
bool | IsLocalGridUser (UUID uuid) |
Protected Member Functions | |
virtual void | AddAdditionalUsers (string query, List< UserData > users) |
void | Init () |
void | RegisterConsoleCmds () |
Protected Attributes | |
bool | m_Enabled |
List< Scene > | m_Scenes = new List<Scene>() |
IServiceThrottleModule | m_ServiceThrottle |
Dictionary< UUID, UserData > | m_UserCache = new Dictionary<UUID, UserData>() |
bool | m_DisplayChangingHomeURI = false |
Properties | |
bool | IsSharedModule [get] |
virtual string | Name [get] |
Type | ReplaceableInterface [get] |
Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase | |
string | Name [get] |
Type | ReplaceableInterface [get] |
If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More... | |
Definition at line 54 of file UserManagementModule.cs.
|
inlineprotectedvirtual |
Reimplemented in OpenSim.Region.CoreModules.Framework.UserManagement.HGUserManagementModule.
Definition at line 283 of file UserManagementModule.cs.
|
inline |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 106 of file UserManagementModule.cs.
|
inline |
Add a user.
The UUID is related to the name without any other checks being performed, such as user account presence.
uuid | |
firstName | |
lastName |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 660 of file UserManagementModule.cs.
|
inline |
Add a user.
The arguments apart from uuid are formed into a creatorData string and processing proceeds as for the AddUser(UUID uuid, string creatorData) method.
uuid | |
firstName | |
profileURL |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 677 of file UserManagementModule.cs.
|
inline |
Add a user.
If an account is found for the UUID, then the names in this will be used rather than any information extracted from creatorData.
uuid | |
creatorData | The creator data for this user. |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 727 of file UserManagementModule.cs.
|
inline |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 144 of file UserManagementModule.cs.
|
inline |
Definition at line 567 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Framework.IPeople.
Definition at line 291 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 484 of file UserManagementModule.cs.
|
inline |
Get user ID by the given name.
name |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 445 of file UserManagementModule.cs.
|
inline |
Get user ID by the given name.
firstName | |
lastName |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 454 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 477 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 494 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 534 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 541 of file UserManagementModule.cs.
|
inline |
|
inlineprotected |
Definition at line 821 of file UserManagementModule.cs.
|
inline |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 69 of file UserManagementModule.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IUserManagement.
Definition at line 810 of file UserManagementModule.cs.
|
inline |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised.
Implements OpenSim.Region.Framework.Interfaces.ISharedRegionModule.
Definition at line 140 of file UserManagementModule.cs.
|
inline |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 134 of file UserManagementModule.cs.
|
inlineprotected |
Definition at line 827 of file UserManagementModule.cs.
|
inline |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 122 of file UserManagementModule.cs.
|
protected |
Definition at line 65 of file UserManagementModule.cs.
|
protected |
Definition at line 58 of file UserManagementModule.cs.
|
protected |
Definition at line 59 of file UserManagementModule.cs.
|
protected |
Definition at line 61 of file UserManagementModule.cs.
|
protected |
Definition at line 63 of file UserManagementModule.cs.
|
get |
Definition at line 92 of file UserManagementModule.cs.
|
get |
Definition at line 97 of file UserManagementModule.cs.
|
get |
Definition at line 102 of file UserManagementModule.cs.