C# Class Universe.Region.SceneManager

Manager for adding, closing, resetting, and restarting scenes.
Inheritance: ISceneManager, IApplicationPlugin
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_SimBase ISimulationBase
m_scenes List
m_selectedDataService ISimulationDataStore
m_simulationDataServices List
m_startupPlugins List

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public ClearRegion ( IScene scene ) : void
scene IScene
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CloseModules() protected méthode

protected CloseModules ( IScene scene ) : void
scene IScene
Résultat void

CloseRegion() public méthode

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
Résultat void

CreateRegion() public méthode

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

Debug() protected méthode

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

DeleteRegion() public méthode

public DeleteRegion ( IScene scene ) : void
scene IScene
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FindCurrentRegionInfo() public méthode

Finds the current region info.
public FindCurrentRegionInfo ( ) : int>.Dictionary
Résultat int>.Dictionary

GetOARFilenames() public méthode

public GetOARFilenames ( ) : List
Résultat List

GetRegionNames() public méthode

Gets the available region names.
public GetRegionNames ( ) : List
Résultat List

HandleLoadOar() protected méthode

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

HandleSaveOar() protected méthode

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
Résultat void

HandleStartupComplete() public méthode

public HandleStartupComplete ( List data ) : void
data List
Résultat void

Initialize() public méthode

public Initialize ( ISimulationBase simBase ) : void
simBase ISimulationBase
Résultat void

PostInitialize() public méthode

public PostInitialize ( ) : void
Résultat void

PostStart() public méthode

public PostStart ( ) : void
Résultat void

PreStartup() public méthode

public PreStartup ( ISimulationBase simBase ) : void
simBase ISimulationBase
Résultat void

RegionAtLocationExists() public méthode

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

RegionNameExists() public méthode

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

ReloadConfiguration() public méthode

public ReloadConfiguration ( IConfigSource config ) : void
config IConfigSource
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

ResetRegion() public méthode

public ResetRegion ( IScene scene ) : void
scene IScene
Résultat void

RestartRegion() public méthode

public RestartRegion ( IScene scene, bool killAgents ) : void
scene IScene
killAgents bool
Résultat void

SetRegionPrompt() public méthode

public SetRegionPrompt ( string region ) : void
region string
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartModules() protected méthode

protected StartModules ( IScene scene ) : void
scene IScene
Résultat void

StartRegion() public méthode

public StartRegion ( ISimulationDataStore simData, RegionInfo regionInfo ) : void
simData ISimulationDataStore
regionInfo Universe.Framework.SceneInfo.RegionInfo
Résultat void

StartRegions() public méthode

public StartRegions ( bool &newRegion ) : void
newRegion bool
Résultat void

StartupCompleteModules() protected méthode

protected StartupCompleteModules ( ) : void
Résultat void

Property Details

m_SimBase protected_oe property

protected ISimulationBase m_SimBase
Résultat ISimulationBase

m_scenes protected_oe property

protected List m_scenes
Résultat List

m_selectedDataService protected_oe property

protected ISimulationDataStore m_selectedDataService
Résultat ISimulationDataStore

m_simulationDataServices protected_oe property

protected List m_simulationDataServices
Résultat List

m_startupPlugins protected_oe property

protected List m_startupPlugins
Résultat List