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

Inheritance: IProfileModule, INonSharedRegionModule
Afficher le fichier Open project: nebadon2025/opensimulator

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

AvatarInterestsUpdate() public méthode

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. ///
Résultat void

AvatarPropertiesUpdate() public méthode

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

ClassifiedDelete() public méthode

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

ClassifiedInfoRequest() public méthode

public ClassifiedInfoRequest ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
queryClassifiedID UUID
remoteClient IClientAPI
Résultat void

ClassifiedInfoUpdate() public méthode

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. ///
Résultat void

ClassifiedsRequest() public méthode

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

Close() public méthode

Called as the instance is closed.
public Close ( ) : void
Résultat void

Initialise() public méthode

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. ///
Résultat void

NotesRequest() public méthode

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

NotesUpdate() public méthode

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. ///
Résultat void

PickDelete() public méthode

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

PickInfoRequest() public méthode

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

PickInfoUpdate() public méthode

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. ///
Résultat void

PicksRequest() public méthode

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

RegionLoaded() public méthode

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. ///
Résultat void

RemoveRegion() public méthode

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

RequestAvatarProperties() public méthode

public RequestAvatarProperties ( IClientAPI remoteClient, UUID avatarID ) : void
remoteClient IClientAPI
avatarID UUID
Résultat void

UpdateUserPreferences() public méthode

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. ///
Résultat void

UserPreferencesRequest() public méthode

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