C# Class OpenSim.Region.CoreModules.Avatar.UserProfiles.UserProfileModule

Inheritance: IProfileModule, INonSharedRegionModule
Show file Open project: nebadon2025/opensimulator

Private Properties

Property Type Description
FindPresence OpenSim.Region.Framework.Scenes.ScenePresence
GetProfileData bool
GetUserAccountData bool
GetUserGatekeeperURI bool
GetUserProfileServerURI bool
JsonRpcRequest bool
JsonRpcRequest bool
OnClientClosed void
OnNewClient void
cacheForeignImage void

Public Methods

Method Description
AddRegion ( Scene scene ) : void

Adds the region.

AvatarInterestsUpdate ( IClientAPI remoteClient, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages ) : void

Update the avatars interests .

AvatarPropertiesUpdate ( IClientAPI remoteClient, OpenSim.Framework.UserProfileData newProfile ) : void

Updates the avatar properties.

ClassifiedDelete ( UUID queryClassifiedID, IClientAPI remoteClient ) : void

Classifieds delete.

ClassifiedInfoRequest ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
ClassifiedInfoUpdate ( UUID queryclassifiedID, uint queryCategory, string queryName, string queryDescription, UUID queryParcelID, uint queryParentEstate, UUID querySnapshotID, System.Vector3 queryGlobalPos, byte queryclassifiedFlags, int queryclassifiedPrice, IClientAPI remoteClient ) : void

Classifieds info update.

ClassifiedsRequest ( Object sender, string method, List args ) : void

Handles the avatar classifieds request.

Close ( ) : void

Called as the instance is closed.

Initialise ( IConfigSource source ) : void

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.

NotesRequest ( Object sender, string method, List args ) : void

Handles the avatar notes request.

NotesUpdate ( IClientAPI remoteClient, UUID queryTargetID, string queryNotes ) : void

Avatars the notes update.

PickDelete ( IClientAPI remoteClient, UUID queryPickID ) : void

Delete a Pick

PickInfoRequest ( Object sender, string method, List args ) : void

Handles the pick info request.

PickInfoUpdate ( IClientAPI remoteClient, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled ) : void

Updates the userpicks

PicksRequest ( Object sender, string method, List args ) : void

Handles the avatar picks request.

RegionLoaded ( Scene scene ) : void

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.

RemoveRegion ( Scene scene ) : void

Removes the region.

RequestAvatarProperties ( IClientAPI remoteClient, UUID avatarID ) : void
UpdateUserPreferences ( bool imViaEmail, bool visible, IClientAPI remoteClient ) : void

Updates the user preferences.

UserPreferencesRequest ( IClientAPI remoteClient ) : void

Users the preferences request.

Private Methods

Method Description
FindPresence ( UUID clientID ) : ScenePresence

Finds the presence.

GetProfileData ( UserProfileProperties &properties, bool foreign, string serverURI, string &message ) : bool

Gets the profile data.

GetUserAccountData ( UUID userID, object>.Dictionary &userInfo ) : bool

Gets the user account data.

GetUserGatekeeperURI ( UUID userID, string &serverURI ) : bool

Gets the user gatekeeper server URI.

GetUserProfileServerURI ( UUID userID, string &serverURI ) : bool

Gets the user profile server UR.

JsonRpcRequest ( OSD &data, string method, string uri, string jsonId ) : bool

Sends json-rpc request with OSD parameter.

JsonRpcRequest ( object &parameters, string method, string uri, string jsonId ) : bool

Sends json-rpc request with a serializable type.

OnClientClosed ( UUID AgentId, Scene scene ) : void
OnNewClient ( IClientAPI client ) : void

Raises the new client event.

cacheForeignImage ( UUID agent, UUID imageID ) : void

Method Details

AddRegion() public method

Adds the region.
public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene /// Scene. ///
return void

AvatarInterestsUpdate() public method

Update the avatars interests .
public AvatarInterestsUpdate ( IClientAPI remoteClient, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages ) : void
remoteClient IClientAPI /// Remote client. ///
wantmask uint /// Wantmask. ///
wanttext string /// Wanttext. ///
skillsmask uint /// Skillsmask. ///
skillstext string /// Skillstext. ///
languages string /// Languages. ///
return void

AvatarPropertiesUpdate() public method

Updates the avatar properties.
public AvatarPropertiesUpdate ( IClientAPI remoteClient, OpenSim.Framework.UserProfileData newProfile ) : void
remoteClient IClientAPI /// Remote client. ///
newProfile OpenSim.Framework.UserProfileData /// New profile. ///
return void

ClassifiedDelete() public method

Classifieds delete.
public ClassifiedDelete ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
queryClassifiedID UUID /// Query classified I. ///
remoteClient IClientAPI /// Remote client. ///
return void

ClassifiedInfoRequest() public method

public ClassifiedInfoRequest ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
queryClassifiedID UUID
remoteClient IClientAPI
return void

ClassifiedInfoUpdate() public method

Classifieds info update.
public ClassifiedInfoUpdate ( UUID queryclassifiedID, uint queryCategory, string queryName, string queryDescription, UUID queryParcelID, uint queryParentEstate, UUID querySnapshotID, System.Vector3 queryGlobalPos, byte queryclassifiedFlags, int queryclassifiedPrice, IClientAPI remoteClient ) : void
queryclassifiedID UUID /// Queryclassified I. ///
queryCategory uint /// Query category. ///
queryName string /// Query name. ///
queryDescription string /// Query description. ///
queryParcelID UUID /// Query parcel I. ///
queryParentEstate uint /// Query parent estate. ///
querySnapshotID UUID /// Query snapshot I. ///
queryGlobalPos System.Vector3 /// Query global position. ///
queryclassifiedFlags byte /// Queryclassified flags. ///
queryclassifiedPrice int /// Queryclassified price. ///
remoteClient IClientAPI /// Remote client. ///
return void

ClassifiedsRequest() public method

Handles the avatar classifieds request.
public ClassifiedsRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
return void

Close() public method

Called as the instance is closed.
public Close ( ) : void
return void

Initialise() public method

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.
public Initialise ( IConfigSource source ) : void
source IConfigSource /// Source. ///
return void

NotesRequest() public method

Handles the avatar notes request.
public NotesRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
return void

NotesUpdate() public method

Avatars the notes update.
public NotesUpdate ( IClientAPI remoteClient, UUID queryTargetID, string queryNotes ) : void
remoteClient IClientAPI /// Remote client. ///
queryTargetID UUID /// Query target I. ///
queryNotes string /// Query notes. ///
return void

PickDelete() public method

Delete a Pick
public PickDelete ( IClientAPI remoteClient, UUID queryPickID ) : void
remoteClient IClientAPI /// Remote client. ///
queryPickID UUID /// Query pick I. ///
return void

PickInfoRequest() public method

Handles the pick info request.
public PickInfoRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
return void

PickInfoUpdate() public method

Updates the userpicks
public PickInfoUpdate ( IClientAPI remoteClient, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled ) : void
remoteClient IClientAPI /// Remote client. ///
pickID UUID /// Pick I. ///
creatorID UUID /// the creator of the pick ///
topPick bool /// Top pick. ///
name string /// Name. ///
desc string /// Desc. ///
snapshotID UUID /// Snapshot I. ///
sortOrder int /// Sort order. ///
enabled bool /// Enabled. ///
return void

PicksRequest() public method

Handles the avatar picks request.
public PicksRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
return void

RegionLoaded() public method

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.
public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene /// Scene. ///
return void

RemoveRegion() public method

Removes the region.
public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene /// Scene. ///
return void

RequestAvatarProperties() public method

public RequestAvatarProperties ( IClientAPI remoteClient, UUID avatarID ) : void
remoteClient IClientAPI
avatarID UUID
return void

UpdateUserPreferences() public method

Updates the user preferences.
public UpdateUserPreferences ( bool imViaEmail, bool visible, IClientAPI remoteClient ) : void
imViaEmail bool /// Im via email. ///
visible bool /// Visible. ///
remoteClient IClientAPI /// Remote client. ///
return void

UserPreferencesRequest() public method

Users the preferences request.
public UserPreferencesRequest ( IClientAPI remoteClient ) : void
remoteClient IClientAPI /// Remote client. ///
return void