C# Class Universe.Modules.Archivers.UniverseAvatarAppearanceArchiver

This module loads/saves the avatar's appearance from/down into an "Avatar Archive", also known as an AA.
Inheritance: IService, IAvatarAppearanceArchiver
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
FinishedStartup ( ) : void
GetAvatarArchiveFilenames ( ) : List

Gets the avatar archive filenames.

GetAvatarArchiveFilenames ( bool fullName ) : List

Gets the avatar archive filenames.

GetAvatarArchiveImages ( ) : List

Gets the avatar archive images.

GetAvatarArchives ( ) : List

Gets all public avatar archives

Initialize ( IConfigSource config, IRegistryCore registry ) : void
LoadAvatarArchive ( string fileName, UUID principalID ) : AvatarArchive
SaveAvatarArchive ( string fileName, UUID principalID, string folderName, UUID snapshotUUID, bool isPublic, bool isPortable ) : bool

Saves the avatar archive.

Start ( IConfigSource config, IRegistryCore registry ) : void

Méthodes protégées

Méthode Description
HandleLoadAvatarArchive ( IScene scene, string cmdparams ) : void

Handles loading of an avatar archive.

HandleSaveAvatarArchive ( IScene scene, string cmdparams ) : void

Handles saving of an avatar archive.

Private Methods

Méthode Description
ConvertXMLToAvatarAppearance ( OSDMap map ) : AvatarAppearance
CopyWearablesAndAttachments ( UUID destination, UUID source, AvatarAppearance avatarAppearance, InventoryFolderBase destinationFolder, UUID agentid, OSDMap itemsMap, List &items ) : AvatarAppearance
ExportArchiveImage ( UUID imageUUID, string archiveName, string filePath ) : void
GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
GiveInventoryItem ( UUID senderId, UUID recipient, InventoryItemBase item, InventoryFolderBase parentFolder ) : InventoryItemBase
LoadAssetBase ( OSDMap map ) : AssetBase
LoadAssets ( OSDMap assets ) : void
ResizeBitmap ( Image b, int nWidth, int nHeight, string name ) : Bitmap
SaveAsset ( UUID AssetID, AvatarArchive &archive, bool isPortable ) : void
SaveItem ( UUID ItemID, AvatarArchive &archive ) : void

Method Details

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

GetAvatarArchiveFilenames() public méthode

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( ) : List
Résultat List

GetAvatarArchiveFilenames() public méthode

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( bool fullName ) : List
fullName bool
Résultat List

GetAvatarArchiveImages() public méthode

Gets the avatar archive images.
public GetAvatarArchiveImages ( ) : List
Résultat List

GetAvatarArchives() public méthode

Gets all public avatar archives
public GetAvatarArchives ( ) : List
Résultat List

HandleLoadAvatarArchive() protected méthode

Handles loading of an avatar archive.
protected HandleLoadAvatarArchive ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
Résultat void

HandleSaveAvatarArchive() protected méthode

Handles saving of an avatar archive.
protected HandleSaveAvatarArchive ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

LoadAvatarArchive() public méthode

public LoadAvatarArchive ( string fileName, UUID principalID ) : AvatarArchive
fileName string
principalID UUID
Résultat Universe.Framework.ClientInterfaces.AvatarArchive

SaveAvatarArchive() public méthode

Saves the avatar archive.
public SaveAvatarArchive ( string fileName, UUID principalID, string folderName, UUID snapshotUUID, bool isPublic, bool isPortable ) : bool
fileName string File name.
principalID UUID Principal I.
folderName string Folder name.
snapshotUUID UUID Snapshot UUI.
isPublic bool If set to true is public.
isPortable bool If set to true create a portable archive.
Résultat bool

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void