C# Class Universe.Region.SceneManager

Manager for adding, closing, resetting, and restarting scenes.
Inheritance: ISceneManager, IApplicationPlugin
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_SimBase ISimulationBase
m_scenes List
m_selectedDataService ISimulationDataStore
m_simulationDataServices List
m_startupPlugins List

Public Methods

Method Description
ClearRegion ( IScene scene ) : void
Close ( ) : void
CloseRegion ( IScene scene, ShutdownType type, int delaySecs, bool killAgents ) : void

Shuts down a region and removes it from all running modules

CreateRegion ( RegionInfo regionInfo ) : bool

Creates and adds a region from supplied regioninfo.

DeleteRegion ( IScene scene ) : void
Dispose ( ) : void
FindCurrentRegionInfo ( ) : int>.Dictionary

Finds the current region info.

GetOARFilenames ( ) : List
GetRegionNames ( ) : List

Gets the available region names.

HandleStartupComplete ( List data ) : void
Initialize ( ISimulationBase simBase ) : void
PostInitialize ( ) : void
PostStart ( ) : void
PreStartup ( ISimulationBase simBase ) : void
RegionAtLocationExists ( int regionX, int regionY ) : bool

Checks if a Region exists at a location.

RegionNameExists ( string regionName ) : bool

Checks if a Region name already exists.

ReloadConfiguration ( IConfigSource config ) : void
RemoveRegion ( IScene scene ) : void
ResetRegion ( IScene scene ) : void
RestartRegion ( IScene scene, bool killAgents ) : void
SetRegionPrompt ( string region ) : void
Start ( ) : void
StartRegion ( ISimulationDataStore simData, RegionInfo regionInfo ) : void
StartRegions ( bool &newRegion ) : void

Protected Methods

Method Description
CloseModules ( IScene scene ) : void
Debug ( IScene scene, string args ) : void

Turn on some debugging values for Universe.

HandleLoadOar ( IScene scene, string cmdparams ) : void

Load a whole region from an opensimulator archive.

HandleSaveOar ( IScene scene, string cmdparams ) : void

Save a region to a file, including all the assets needed to restore it.

StartModules ( IScene scene ) : void
StartupCompleteModules ( ) : void

Private Methods

Method Description
AddConsoleCommands ( ) : void
CreateNewRegion ( string regionName ) : void

Creates the new region.

CreateNewRegionExtended ( IScene scene, string cmd ) : void

Creates the new region using addition options.

GetCmdRegionName ( string prompt ) : string
HandleChangeRegion ( IScene scene, string cmd ) : void

Handles the change region command.

HandleClearRegion ( IScene scene, string cmd ) : void

Handles the clear region command.

HandleCreateNewRegion ( IScene scene, string cmd ) : void

Handles the create new region command.

HandleDeleteRegion ( IScene scene, string cmd ) : void

Handles the delete region command.

HandleForceUpdate ( IScene scene, string args ) : void

Force resending of all updates to all clients in active region(s)

HandleModulesList ( IScene scene, string cmd ) : void

Load, Unload, and list Region modules in use

HandleModulesUnload ( IScene scene, string cmd ) : void

Load, Unload, and list Region modules in use

HandleReloadRegion ( IScene scene, string cmd ) : void

Handles the reload region command.

HandleResetRegion ( IScene scene, string cmd ) : void

Handles the reset region command.

HandleResizeObject ( IScene scene, string cmdparams ) : void

Resizes the scale of a primitive/object with the name specified

HandleRotateScene ( IScene scene, string cmdparams ) : void

Handles rotating an entire scene.

HandleSaveRegionConfig ( IScene scene, string cmd ) : void

Saves the region configuration.

HandleScaleScene ( IScene scene, string cmdparams ) : void

Handles scaling of a scene.

HandleSetRegionCapacity ( IScene scene, string cmd ) : void

Handles set region capacity.

HandleSetRegionInfinite ( IScene scene, string cmd ) : void

Handles set region infinite.

HandleSetRegionStartup ( IScene scene, string cmd ) : void

Handles set region startup.

HandleSetRegionVisibility ( IScene scene, string cmd ) : void

Handles set region neighbor visibility.

HandleShowMaturity ( IScene scene, string cmd ) : void

Handles the show maturity command.

HandleShowObjects ( IScene scene, string cmdparams ) : void

Handles object info displays.

HandleShowRegions ( IScene scene, string cmd ) : void

Display the current scene (region) details.

HandleShowUsers ( IScene scene, string cmd ) : void

Handles the show users command.

HandleTranslateScene ( IScene scene, string cmdparams ) : void

Handles moving all scene objects.

KickUserCommand ( IScene scene, string cmdparams ) : void

Kicks users off the region

RunCommand ( IScene scene, string cmdparams ) : void

Runs commands issued by the server console from the operator

SceneManager ( ) : System
SetDebugPacketLevel ( IScene scene, int newDebug ) : void

Set the debug packet level on the current scene. This level governs which packets are printed out to the console.

SetDebugPacketName ( IScene scene, string name, bool remove ) : void

Set the debug packet level on the current scene. This level governs which packets are printed out to the console.

TimedCloseRegion ( IScene scene, bool killAgents ) : void

Method Details

ClearRegion() public method

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

Close() public method

public Close ( ) : void
return void

CloseModules() protected method

protected CloseModules ( IScene scene ) : void
scene IScene
return void

CloseRegion() public method

Shuts down a region and removes it from all running modules
public CloseRegion ( IScene scene, ShutdownType type, int delaySecs, bool killAgents ) : void
scene IScene
type ShutdownType
delaySecs int
killAgents bool
return void

CreateRegion() public method

Creates and adds a region from supplied regioninfo.
public CreateRegion ( RegionInfo regionInfo ) : bool
regionInfo Universe.Framework.SceneInfo.RegionInfo Region info.
return bool

Debug() protected method

Turn on some debugging values for Universe.
protected Debug ( IScene scene, string args ) : void
scene IScene
args string
return void

DeleteRegion() public method

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

Dispose() public method

public Dispose ( ) : void
return void

FindCurrentRegionInfo() public method

Finds the current region info.
public FindCurrentRegionInfo ( ) : int>.Dictionary
return int>.Dictionary

GetOARFilenames() public method

public GetOARFilenames ( ) : List
return List

GetRegionNames() public method

Gets the available region names.
public GetRegionNames ( ) : List
return List

HandleLoadOar() protected method

Load a whole region from an opensimulator archive.
protected HandleLoadOar ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

HandleSaveOar() protected method

Save a region to a file, including all the assets needed to restore it.
protected HandleSaveOar ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

HandleStartupComplete() public method

public HandleStartupComplete ( List data ) : void
data List
return void

Initialize() public method

public Initialize ( ISimulationBase simBase ) : void
simBase ISimulationBase
return void

PostInitialize() public method

public PostInitialize ( ) : void
return void

PostStart() public method

public PostStart ( ) : void
return void

PreStartup() public method

public PreStartup ( ISimulationBase simBase ) : void
simBase ISimulationBase
return void

RegionAtLocationExists() public method

Checks if a Region exists at a location.
public RegionAtLocationExists ( int regionX, int regionY ) : bool
regionX int Region x.
regionY int Region y.
return bool

RegionNameExists() public method

Checks if a Region name already exists.
public RegionNameExists ( string regionName ) : bool
regionName string Region name to check.
return bool

ReloadConfiguration() public method

public ReloadConfiguration ( IConfigSource config ) : void
config IConfigSource
return void

RemoveRegion() public method

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

ResetRegion() public method

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

RestartRegion() public method

public RestartRegion ( IScene scene, bool killAgents ) : void
scene IScene
killAgents bool
return void

SetRegionPrompt() public method

public SetRegionPrompt ( string region ) : void
region string
return void

Start() public method

public Start ( ) : void
return void

StartModules() protected method

protected StartModules ( IScene scene ) : void
scene IScene
return void

StartRegion() public method

public StartRegion ( ISimulationDataStore simData, RegionInfo regionInfo ) : void
simData ISimulationDataStore
regionInfo Universe.Framework.SceneInfo.RegionInfo
return void

StartRegions() public method

public StartRegions ( bool &newRegion ) : void
newRegion bool
return void

StartupCompleteModules() protected method

protected StartupCompleteModules ( ) : void
return void

Property Details

m_SimBase protected_oe property

protected ISimulationBase m_SimBase
return ISimulationBase

m_scenes protected_oe property

protected List m_scenes
return List

m_selectedDataService protected_oe property

protected ISimulationDataStore m_selectedDataService
return ISimulationDataStore

m_simulationDataServices protected_oe property

protected List m_simulationDataServices
return List

m_startupPlugins protected_oe property

protected List m_startupPlugins
return List