C# Класс OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_archiveWriter TarArchiveWriter
m_assetGatherer UuidGatherer
m_assetUuids AssetType>.Dictionary
m_id Guid
m_scene Scene
m_userUuids int>.Dictionary

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

Метод Описание
Create0p1ControlFile ( ) : string

Create the control file for a 0.1 version archive

CreateArchiveFolderName ( OpenSim.Framework.InventoryFolderBase folder ) : string

Create the archive name for a particular folder.

CreateArchiveFolderName ( string name, UUID id ) : string

Create an archive folder name given its constituent components

CreateArchiveItemName ( OpenSim.Framework.InventoryItemBase item ) : string

Create the archive name for a particular item.

CreateArchiveItemName ( string name, UUID id ) : string

Create an archive item name given its constituent components

Execute ( ) : void

Execute the inventory write request

InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, Stream saveStream ) : System

Constructor

InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, string savePath ) : System

Constructor

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

Метод Описание
ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void

Save an inventory folder

SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
SaveUsers ( ) : void

Save information for the users that we've collected.

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

Create0p1ControlFile() публичный статический Метод

Create the control file for a 0.1 version archive
public static Create0p1ControlFile ( ) : string
Результат string

CreateArchiveFolderName() публичный статический Метод

Create the archive name for a particular folder.
public static CreateArchiveFolderName ( OpenSim.Framework.InventoryFolderBase folder ) : string
folder OpenSim.Framework.InventoryFolderBase
Результат string

CreateArchiveFolderName() публичный статический Метод

Create an archive folder name given its constituent components
public static CreateArchiveFolderName ( string name, UUID id ) : string
name string
id UUID
Результат string

CreateArchiveItemName() публичный статический Метод

Create the archive name for a particular item.
public static CreateArchiveItemName ( OpenSim.Framework.InventoryItemBase item ) : string
item OpenSim.Framework.InventoryItemBase
Результат string

CreateArchiveItemName() публичный статический Метод

Create an archive item name given its constituent components
public static CreateArchiveItemName ( string name, UUID id ) : string
name string
id UUID
Результат string

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

Execute the inventory write request
public Execute ( ) : void
Результат void

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

Constructor
public InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, Stream saveStream ) : System
id Guid
module InventoryArchiverModule
scene Scene
userInfo UserAccount
invPath string
saveStream Stream
Результат System

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

Constructor
public InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, string savePath ) : System
id Guid
module InventoryArchiverModule
scene Scene
userInfo UserAccount
invPath string
savePath string
Результат System

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

protected ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
assetsFoundUuids ICollection
assetsNotFoundUuids ICollection
Результат void

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

Save an inventory folder
protected SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void
inventoryFolder InventoryFolderBase The inventory folder to save
path string The path to which the folder should be saved
saveThisFolderItself bool If true, save this folder itself. If false, only saves contents
Результат void

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

protected SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
inventoryItem InventoryItemBase
path string
Результат void

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

Save information for the users that we've collected.
protected SaveUsers ( ) : void
Результат void

Описание свойств

m_archiveWriter защищенное свойство

protected TarArchiveWriter m_archiveWriter
Результат TarArchiveWriter

m_assetGatherer защищенное свойство

protected UuidGatherer m_assetGatherer
Результат UuidGatherer

m_assetUuids защищенное свойство

protected Dictionary m_assetUuids
Результат AssetType>.Dictionary

m_id защищенное свойство

protected Guid m_id
Результат Guid

m_scene защищенное свойство

protected Scene m_scene
Результат Scene

m_userUuids защищенное свойство

protected Dictionary m_userUuids
Результат int>.Dictionary