C# Класс WhiteCore.Modules.Archivers.WhiteCoreAvatarAppearanceArchiver

This module loads/saves the avatar's appearance from/down into an "Avatar Archive", also known as an AA.
Наследование: IService, IAvatarAppearanceArchiver
Показать файл Открыть проект

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

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

Защищенные методы

Метод Описание
HandleLoadAvatarArchive ( IScene scene, string cmdparams ) : void

Handles loading of an avatar archive.

HandleSaveAvatarArchive ( IScene scene, string cmdparams ) : void

Handles saving of an avatar archive.

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

Метод Описание
ConvertXMLToAvatarAppearance ( OSDMap map ) : AvatarAppearance
CopyWearablesAndAttachments ( UUID destination, UUID source, AvatarAppearance avatarAppearance, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase destinationFolder, UUID agentid, OSDMap itemsMap, List &items ) : AvatarAppearance
ExportArchiveImage ( UUID imageUUID, string archiveName, string filePath ) : void
GetEncoderInfo ( string mimeType ) : ImageCodecInfo
GiveInventoryItem ( UUID senderId, UUID recipient, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase parentFolder ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
LoadAssetBase ( OSDMap map ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
LoadAssets ( OSDMap assets ) : void
ResizeBitmap ( System.Image b, int nWidth, int nHeight, string name ) : Bitmap
SaveAsset ( UUID AssetID, WhiteCore.Framework.ClientInterfaces.AvatarArchive &archive, bool isPortable ) : void
SaveItem ( UUID ItemID, WhiteCore.Framework.ClientInterfaces.AvatarArchive &archive ) : void

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

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

public FinishedStartup ( ) : void
Результат void

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

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( ) : List
Результат List

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

Gets the avatar archive filenames.
public GetAvatarArchiveFilenames ( bool fullName ) : List
fullName bool
Результат List

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

Gets the avatar archive images.
public GetAvatarArchiveImages ( ) : List
Результат List

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

Gets all public avatar archives
public GetAvatarArchives ( ) : List
Результат List

HandleLoadAvatarArchive() защищенный Метод

Handles loading of an avatar archive.
protected HandleLoadAvatarArchive ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
Результат void

HandleSaveAvatarArchive() защищенный Метод

Handles saving of an avatar archive.
protected HandleSaveAvatarArchive ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
Результат void

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

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void

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

public LoadAvatarArchive ( string fileName, UUID principalID ) : WhiteCore.Framework.ClientInterfaces.AvatarArchive
fileName string
principalID UUID
Результат WhiteCore.Framework.ClientInterfaces.AvatarArchive

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

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

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

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void