C# Класс OpenSim.Region.CoreModules.Avatar.UserProfiles.UserProfileModule

Наследование: IProfileModule, INonSharedRegionModule
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FindPresence OpenSim.Region.Framework.Scenes.ScenePresence
GetProfileData bool
GetUserAccountData bool
GetUserGatekeeperURI bool
GetUserProfileServerURI bool
JsonRpcRequest bool
JsonRpcRequest bool
OnClientClosed void
OnNewClient void
cacheForeignImage void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

AddRegion() публичный Метод

Adds the region.
public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene /// Scene. ///
Результат void

AvatarInterestsUpdate() публичный Метод

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. ///
Результат void

AvatarPropertiesUpdate() публичный Метод

Updates the avatar properties.
public AvatarPropertiesUpdate ( IClientAPI remoteClient, OpenSim.Framework.UserProfileData newProfile ) : void
remoteClient IClientAPI /// Remote client. ///
newProfile OpenSim.Framework.UserProfileData /// New profile. ///
Результат void

ClassifiedDelete() публичный Метод

Classifieds delete.
public ClassifiedDelete ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
queryClassifiedID UUID /// Query classified I. ///
remoteClient IClientAPI /// Remote client. ///
Результат void

ClassifiedInfoRequest() публичный Метод

public ClassifiedInfoRequest ( UUID queryClassifiedID, IClientAPI remoteClient ) : void
queryClassifiedID UUID
remoteClient IClientAPI
Результат void

ClassifiedInfoUpdate() публичный Метод

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. ///
Результат void

ClassifiedsRequest() публичный Метод

Handles the avatar classifieds request.
public ClassifiedsRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
Результат void

Close() публичный Метод

Called as the instance is closed.
public Close ( ) : void
Результат void

Initialise() публичный Метод

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. ///
Результат void

NotesRequest() публичный Метод

Handles the avatar notes request.
public NotesRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
Результат void

NotesUpdate() публичный Метод

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. ///
Результат void

PickDelete() публичный Метод

Delete a Pick
public PickDelete ( IClientAPI remoteClient, UUID queryPickID ) : void
remoteClient IClientAPI /// Remote client. ///
queryPickID UUID /// Query pick I. ///
Результат void

PickInfoRequest() публичный Метод

Handles the pick info request.
public PickInfoRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
Результат void

PickInfoUpdate() публичный Метод

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. ///
Результат void

PicksRequest() публичный Метод

Handles the avatar picks request.
public PicksRequest ( Object sender, string method, List args ) : void
sender Object /// Sender. ///
method string /// Method. ///
args List /// Arguments. ///
Результат void

RegionLoaded() публичный Метод

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. ///
Результат void

RemoveRegion() публичный Метод

Removes the region.
public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene /// Scene. ///
Результат void

RequestAvatarProperties() публичный Метод

public RequestAvatarProperties ( IClientAPI remoteClient, UUID avatarID ) : void
remoteClient IClientAPI
avatarID UUID
Результат void

UpdateUserPreferences() публичный Метод

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. ///
Результат void

UserPreferencesRequest() публичный Метод

Users the preferences request.
public UserPreferencesRequest ( IClientAPI remoteClient ) : void
remoteClient IClientAPI /// Remote client. ///
Результат void