Свойство | Тип | Описание | |
---|---|---|---|
m_archiveWriter | WhiteCore.Framework.Serialization.TarArchiveWriter | ||
m_assetGatherer | WhiteCore.Framework.SceneInfo.UuidGatherer | ||
m_assetUuids | AssetType>.Dictionary | ||
m_assetsToAdd | List |
||
m_defaultFolderToSave | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | ||
m_id | System.Guid | ||
m_registry | IRegistryCore | ||
m_userUuids | int>.Dictionary |
Метод | Описание | |
---|---|---|
CreateArchiveFolderName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.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 ( WhiteCore.Framework.Services.ClassHelpers.Inventory.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
|
|
CreateControlFile ( bool saveAssets ) : string |
Create the control file for a 0.1 version archive
|
|
Execute ( ) : void |
Execute the inventory write request
|
|
InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, |
Constructor
|
|
InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, |
Constructor
|
Метод | Описание | |
---|---|---|
ReceivedAllAssets ( ICollection |
||
SaveInvFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void |
Save an inventory folder
|
|
SaveInvItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase inventoryItem, string path ) : void | ||
SaveUsers ( ) : void |
Save information for the users that we've collected.
|
Метод | Описание | |
---|---|---|
CanUserArchiveObject ( UUID UserID, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase InvItem ) : bool |
Checks whether the user has permission to export an inventory item to an IAR.
|
public static CreateArchiveFolderName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : string | ||
folder | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | |
Результат | string |
public static CreateArchiveFolderName ( string name, UUID id ) : string | ||
name | string | |
id | UUID | |
Результат | string |
public static CreateArchiveItemName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : string | ||
item | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase | |
Результат | string |
public static CreateArchiveItemName ( string name, UUID id ) : string | ||
name | string | |
id | UUID | |
Результат | string |
public static CreateControlFile ( bool saveAssets ) : string | ||
saveAssets | bool | |
Результат | string |
public InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, |
||
id | System.Guid | |
module | WhiteCore.Modules.Archivers.InventoryArchiverModule | |
registry | IRegistryCore | |
userInfo | ||
invPath | string | |
saveStream | Stream | |
UseAssets | bool | |
folderBase | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | |
assetsToAdd | List |
|
checkPermissions | string | |
Результат | System |
public InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, |
||
id | System.Guid | |
module | WhiteCore.Modules.Archivers.InventoryArchiverModule | |
registry | IRegistryCore | |
userInfo | ||
invPath | string | |
savePath | string | |
UseAssets | bool | |
checkPermissions | string | |
Результат | System |
protected ReceivedAllAssets ( ICollection |
||
assetsFoundUuids | ICollection |
|
assetsNotFoundUuids | ICollection |
|
Результат | void |
protected SaveInvFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void | ||
inventoryFolder | WhiteCore.Framework.Services.ClassHelpers.Inventory.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 |
protected SaveInvItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase inventoryItem, string path ) : void | ||
inventoryItem | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase | |
path | string | |
Результат | void |
protected TarArchiveWriter,WhiteCore.Framework.Serialization m_archiveWriter | ||
Результат | WhiteCore.Framework.Serialization.TarArchiveWriter |
protected UuidGatherer,WhiteCore.Framework.SceneInfo m_assetGatherer | ||
Результат | WhiteCore.Framework.SceneInfo.UuidGatherer |
protected InventoryFolderBase,WhiteCore.Framework.Services.ClassHelpers.Inventory m_defaultFolderToSave | ||
Результат | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase |