Property | Type | Description | |
---|---|---|---|
archive | WhiteCore.Framework.Serialization.TarArchiveReader | ||
m_assetsIncluded | bool | ||
m_creatorIdForAssetId | UUID>.Dictionary | ||
m_merge | bool | ||
m_registry | IRegistryCore |
Method | Description | |
---|---|---|
AddInventoryItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : bool | ||
Close ( ) : void | ||
Execute ( bool loadAll ) : HashSet |
Execute the request
|
|
InventoryArchiveReadRequest ( IRegistryCore registry, |
||
LoadControlFile ( byte data ) : void |
Loads the archive.xml control file.
|
|
ReplicateArchivePathToUserInventory ( string iarPath, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase rootDestFolder, InventoryFolderBase>.Dictionary |
Replicate the inventory paths in the archive to the user's inventory as necessary.
|
Method | Description | |
---|---|---|
CreateFoldersForPath ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase destFolder, string iarPathExisting, string iarPathToReplicate, InventoryFolderBase>.Dictionary |
Create a set of folders for the given path.
|
|
LoadItem ( byte data, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase loadFolder ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase |
Load an item from the archive
|
|
ResolveDestinationFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase rootDestFolder, string &archivePath, InventoryFolderBase>.Dictionary |
Resolve a destination folder
|
Method | Description | |
---|---|---|
InventoryArchiveReadRequest ( ) : System | ||
LoadAsset ( string assetPath, byte data ) : bool |
Load an asset
|
public AddInventoryItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : bool | ||
item | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase | |
return | bool |
protected CreateFoldersForPath ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase destFolder, string iarPathExisting, string iarPathToReplicate, InventoryFolderBase>.Dictionary |
||
destFolder | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | /// The root folder from which the creation will take place. /// |
iarPathExisting | string | /// the part of the iar path that already exists /// |
iarPathToReplicate | string | /// The path to replicate in the user's inventory from iar /// |
resolvedFolders | InventoryFolderBase>.Dictionary | /// The folders that we have resolved so far for a given archive path. /// |
loadedNodes | HashSet |
/// Track the inventory nodes created. /// |
return | void |
public InventoryArchiveReadRequest ( IRegistryCore registry, |
||
registry | IRegistryCore | |
userInfo | ||
invPath | string | |
loadPath | string | |
merge | bool | |
overwriteCreator | UUID | |
return | System |
public LoadControlFile ( byte data ) : void | ||
data | byte | Data. |
return | void |
protected LoadItem ( byte data, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase loadFolder ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase | ||
data | byte | The raw item data |
loadFolder | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | |
return | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase |
public ReplicateArchivePathToUserInventory ( string iarPath, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase rootDestFolder, InventoryFolderBase>.Dictionary |
||
iarPath | string | The item archive path to replicate |
rootDestFolder | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | The root folder for the inventory load |
resolvedFolders | InventoryFolderBase>.Dictionary | /// The folders that we have resolved so far for a given archive path. /// This method will add more folders if necessary /// |
loadedNodes | HashSet |
/// Track the inventory nodes created. /// |
return | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase |
protected ResolveDestinationFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase rootDestFolder, string &archivePath, InventoryFolderBase>.Dictionary |
||
rootDestFolder | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase | /// The root folder for the inventory load /// |
archivePath | string | /// The item archive path to resolve. The portion of the path passed back is that /// which corresponds to the resolved destination folder. /// |
resolvedFolders | InventoryFolderBase>.Dictionary | /// The folders that we have resolved so far for a given archive path. /// |
return | WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase |
protected TarArchiveReader,WhiteCore.Framework.Serialization archive | ||
return | WhiteCore.Framework.Serialization.TarArchiveReader |
protected Dictionary |
||
return | UUID>.Dictionary |