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
Mostra file Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

public FinishedStartup ( ) : void
return void

GetAvatarArchiveFilenames() public method

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( ) : List
return List

GetAvatarArchiveFilenames() public method

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( bool fullName ) : List
fullName bool
return List

GetAvatarArchiveImages() public method

Gets the avatar archive images.
public GetAvatarArchiveImages ( ) : List
return List

GetAvatarArchives() public method

Gets all public avatar archives
public GetAvatarArchives ( ) : List
return List

HandleLoadAvatarArchive() protected method

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

HandleSaveAvatarArchive() protected method

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

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

LoadAvatarArchive() public method

public LoadAvatarArchive ( string fileName, UUID principalID ) : AvatarArchive
fileName string
principalID UUID
return Universe.Framework.ClientInterfaces.AvatarArchive

SaveAvatarArchive() public method

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.
return bool

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void