C# Class OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule

Inheritance: ISharedRegionModule, IInventoryArchiverModule
Show file Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Property Type Description
m_pendingConsoleSaves List

Public Methods

Method Description
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream ) : bool
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream, object>.Dictionary options ) : bool
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, string savePath, object>.Dictionary options ) : bool
Close ( ) : void
DearchiveInventory ( string firstName, string lastName, string invPath, string pass, Stream loadStream ) : bool
DearchiveInventory ( string firstName, string lastName, string invPath, string pass, Stream loadStream, object>.Dictionary options ) : bool
DearchiveInventory ( string firstName, string lastName, string invPath, string pass, string loadPath, object>.Dictionary options ) : bool
Initialise ( Scene scene, IConfigSource source ) : void
InventoryArchiverModule ( ) : System
InventoryArchiverModule ( bool disablePresenceChecks ) : System
PostInitialise ( ) : void

Protected Methods

Method Description
CheckPresence ( UUID userId ) : bool

Check if the given user is present in any of the scenes.

GetUserInfo ( string firstName, string lastName, string pass ) : UserAccount

Get user information for the given name.

HandleLoadInvConsoleCommand ( string module, string cmdparams ) : void

Load inventory from an inventory file archive

HandleSaveInvConsoleCommand ( string module, string cmdparams ) : void

Save inventory to a file archive

TriggerInventoryArchiveSaved ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void

Trigger the inventory archive saved event.

Private Methods

Method Description
SaveInvConsoleCommandCompleted ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void
UpdateClientWithLoadedNodes ( UserAccount userInfo, HashSet loadedNodes ) : void

Notify the client of loaded nodes if they are logged in

Method Details

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream ) : bool
id System.Guid
firstName string
lastName string
invPath string
pass string
saveStream Stream
return bool

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream, object>.Dictionary options ) : bool
id System.Guid
firstName string
lastName string
invPath string
pass string
saveStream Stream
options object>.Dictionary
return bool

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string pass, string savePath, object>.Dictionary options ) : bool
id System.Guid
firstName string
lastName string
invPath string
pass string
savePath string
options object>.Dictionary
return bool

CheckPresence() protected method

Check if the given user is present in any of the scenes.
protected CheckPresence ( UUID userId ) : bool
userId UUID The user to check
return bool

Close() public method

public Close ( ) : void
return void

DearchiveInventory() public method

public DearchiveInventory ( string firstName, string lastName, string invPath, string pass, Stream loadStream ) : bool
firstName string
lastName string
invPath string
pass string
loadStream Stream
return bool

DearchiveInventory() public method

public DearchiveInventory ( string firstName, string lastName, string invPath, string pass, Stream loadStream, object>.Dictionary options ) : bool
firstName string
lastName string
invPath string
pass string
loadStream Stream
options object>.Dictionary
return bool

DearchiveInventory() public method

public DearchiveInventory ( string firstName, string lastName, string invPath, string pass, string loadPath, object>.Dictionary options ) : bool
firstName string
lastName string
invPath string
pass string
loadPath string
options object>.Dictionary
return bool

GetUserInfo() protected method

Get user information for the given name.
protected GetUserInfo ( string firstName, string lastName, string pass ) : UserAccount
firstName string
lastName string
pass string User password
return OpenSim.Services.Interfaces.UserAccount

HandleLoadInvConsoleCommand() protected method

Load inventory from an inventory file archive
protected HandleLoadInvConsoleCommand ( string module, string cmdparams ) : void
module string
cmdparams string
return void

HandleSaveInvConsoleCommand() protected method

Save inventory to a file archive
protected HandleSaveInvConsoleCommand ( string module, string cmdparams ) : void
module string
cmdparams string
return void

Initialise() public method

public Initialise ( Scene scene, IConfigSource source ) : void
scene OpenSim.Region.Framework.Scenes.Scene
source IConfigSource
return void

InventoryArchiverModule() public method

public InventoryArchiverModule ( ) : System
return System

InventoryArchiverModule() public method

public InventoryArchiverModule ( bool disablePresenceChecks ) : System
disablePresenceChecks bool
return System

PostInitialise() public method

public PostInitialise ( ) : void
return void

TriggerInventoryArchiveSaved() protected method

Trigger the inventory archive saved event.
protected TriggerInventoryArchiveSaved ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void
id System.Guid
succeeded bool
userInfo OpenSim.Services.Interfaces.UserAccount
invPath string
saveStream Stream
reportedException System.Exception
return void

Property Details

m_pendingConsoleSaves protected property

protected List m_pendingConsoleSaves
return List