C# Class Universe.Modules.Estate.EstateInitializer

Inheritance: ISharedRegionStartupModule, IUniverseBackupModule
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_registry IRegistryCore

Public Methods

Method Description
BeginLoadModuleFromArchive ( IScene scene ) : void
Close ( IScene scene ) : void
DeleteRegion ( IScene scene ) : void
EndLoadModuleFromArchive ( IScene scene ) : void
FinishStartup ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
Initialize ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
LoadModuleFromArchive ( byte data, string filePath, TarArchiveReader type, IScene scene ) : void

Loads the estate settings from an archive.

PostFinishStartup ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
PostInitialize ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void

Saves the estate settings to an archive.

StartupComplete ( ) : void

Protected Methods

Method Description
ChangeEstate ( IScene scene, string cmd ) : void

Changes the region estate.

ChangeRegionEstate ( IScene scene, string cmd ) : void

Changes the region estate.

Private Methods

Method Description
CreateEstateInfo ( IScene scene ) : EstateSettings

Creates the estate info for a region.

GetUserEstateID ( IScene scene, IEstateConnector estateConnector ) : int
LinkRegionEstate ( UUID regionID, int estateID ) : EstateSettings

Links a region to an estate.

LinkSystemEstate ( UUID regionID, int estateID ) : EstateSettings

Links a region to a system estate.

Method Details

BeginLoadModuleFromArchive() public method

public BeginLoadModuleFromArchive ( IScene scene ) : void
scene IScene
return void

ChangeEstate() protected method

Changes the region estate.
protected ChangeEstate ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
return void

ChangeRegionEstate() protected method

Changes the region estate.
protected ChangeRegionEstate ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd parameters.
return void

Close() public method

public Close ( IScene scene ) : void
scene IScene
return void

DeleteRegion() public method

public DeleteRegion ( IScene scene ) : void
scene IScene
return void

EndLoadModuleFromArchive() public method

public EndLoadModuleFromArchive ( IScene scene ) : void
scene IScene
return void

FinishStartup() public method

public FinishStartup ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
scene IScene
source IConfigSource
simBase ISimulationBase
return void

Initialize() public method

public Initialize ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
scene IScene
source IConfigSource
simBase ISimulationBase
return void

LoadModuleFromArchive() public method

Loads the estate settings from an archive.
public LoadModuleFromArchive ( byte data, string filePath, TarArchiveReader type, IScene scene ) : void
data byte Data.
filePath string File path.
type Universe.Framework.Serialization.TarArchiveReader Type.
scene IScene Scene.
return void

PostFinishStartup() public method

public PostFinishStartup ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
scene IScene
source IConfigSource
simBase ISimulationBase
return void

PostInitialize() public method

public PostInitialize ( IScene scene, IConfigSource source, ISimulationBase simBase ) : void
scene IScene
source IConfigSource
simBase ISimulationBase
return void

SaveModuleToArchive() public method

Saves the estate settings to an archive.
public SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void
writer Universe.Framework.Serialization.TarArchiveWriter Writer.
scene IScene Scene.
return void

StartupComplete() public method

public StartupComplete ( ) : void
return void

Property Details

m_registry protected property

protected IRegistryCore m_registry
return IRegistryCore