C# Class OpenSim.OpenSimBase

Common OpenSimulator simulator code
Inheritance: RegionApplicationBase
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Свойство Type Description
CreateAccount ConsoleCommand
userStatsURI string

Protected Properties

Свойство Type Description
m_applicationRegistry IRegistryCore
m_autoCreateClientStack bool
m_clientServers List
m_config OpenSimConfigSource
m_configLoader ConfigurationLoader
m_configSettings ConfigSettings
m_moduleLoader ModuleLoader
m_plugins List
proxyOffset int
proxyUrl string

Méthodes publiques

Méthode Description
CloseRegion ( Scene scene ) : void

Remove a region from the simulator without deleting it permanently.

CloseRegion ( string name ) : void

Remove a region from the simulator without deleting it permanently.

CreateRegion ( RegionInfo regionInfo, IScene &scene ) : IClientNetworkServer

Execute the region creation process. This includes setting up scene infrastructure.

CreateRegion ( RegionInfo regionInfo, bool portadd_flag, IScene &scene ) : IClientNetworkServer

Execute the region creation process. This includes setting up scene infrastructure.

CreateRegion ( RegionInfo regionInfo, bool portadd_flag, bool do_post_init, IScene &mscene ) : IClientNetworkServer

Execute the region creation process. This includes setting up scene infrastructure.

GetAvatarNumber ( int &usernum ) : void

Get the number of the avatars in the Region server

GetRegionNumber ( int &regionnum ) : void

Get the number of regions

GetRunTime ( string &starttime, string &uptime ) : void

Get the start time and up time of Region server

OpenSimBase ( IConfigSource configSource ) : System

Constructor.

PopulateRegionEstateInfo ( RegionInfo regInfo ) : void

Load the estate information for the provided RegionInfo object.

RemoveRegion ( Scene scene, bool cleanup ) : void
RemoveRegion ( string name, bool cleanUp ) : void
ShutdownSpecific ( ) : void

Performs any last-minute sanity checking and shuts down the region server

handleRestartRegion ( RegionInfo whichRegion ) : void

Méthodes protégées

Méthode Description
AddPluginCommands ( ) : void
CreateClientStackManager ( ) : OpenSim.Region.ClientStack.ClientStackManager
CreateScene ( RegionInfo regionInfo, ISimulationDataService simDataService, IEstateDataService estateDataService, OpenSim.Framework.AgentCircuitManager circuitManager ) : Scene
GetHelpTopics ( ) : List
GetPhysicsScene ( string osSceneIdentifier ) : PhysicsScene
Initialize ( ) : void
LoadConfigSettings ( IConfigSource configSource ) : void
LoadPlugins ( ) : void
ReadExtraConfigSettings ( ) : void
SetupScene ( RegionInfo regionInfo, IClientNetworkServer &clientServer ) : Scene

Create a scene and its initial base structures.

SetupScene ( RegionInfo regionInfo, int proxyOffset, IConfigSource configSource, IClientNetworkServer &clientServer ) : Scene

Create a scene and its initial base structures.

ShutdownClientServer ( RegionInfo whichRegion ) : void
StartupSpecific ( ) : void

Performs startup specific to the region server, including initialization of the scene such as loading configuration from disk.

Private Methods

Méthode Description
HandleCommanderCommand ( string module, string cmd ) : void
HandleCommanderHelp ( string module, string cmd ) : void
ShutdownRegion ( Scene scene ) : void

Method Details

AddPluginCommands() protected méthode

protected AddPluginCommands ( ) : void
Résultat void

CloseRegion() public méthode

Remove a region from the simulator without deleting it permanently.
public CloseRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Résultat void

CloseRegion() public méthode

Remove a region from the simulator without deleting it permanently.
public CloseRegion ( string name ) : void
name string
Résultat void

CreateClientStackManager() protected méthode

protected CreateClientStackManager ( ) : OpenSim.Region.ClientStack.ClientStackManager
Résultat OpenSim.Region.ClientStack.ClientStackManager

CreateRegion() public méthode

Execute the region creation process. This includes setting up scene infrastructure.
public CreateRegion ( RegionInfo regionInfo, IScene &scene ) : IClientNetworkServer
regionInfo RegionInfo
scene IScene
Résultat IClientNetworkServer

CreateRegion() public méthode

Execute the region creation process. This includes setting up scene infrastructure.
public CreateRegion ( RegionInfo regionInfo, bool portadd_flag, IScene &scene ) : IClientNetworkServer
regionInfo RegionInfo
portadd_flag bool
scene IScene
Résultat IClientNetworkServer

CreateRegion() public méthode

Execute the region creation process. This includes setting up scene infrastructure.
public CreateRegion ( RegionInfo regionInfo, bool portadd_flag, bool do_post_init, IScene &mscene ) : IClientNetworkServer
regionInfo RegionInfo
portadd_flag bool
do_post_init bool
mscene IScene
Résultat IClientNetworkServer

CreateScene() protected méthode

protected CreateScene ( RegionInfo regionInfo, ISimulationDataService simDataService, IEstateDataService estateDataService, OpenSim.Framework.AgentCircuitManager circuitManager ) : Scene
regionInfo RegionInfo
simDataService ISimulationDataService
estateDataService IEstateDataService
circuitManager OpenSim.Framework.AgentCircuitManager
Résultat OpenSim.Region.Framework.Scenes.Scene

GetAvatarNumber() public méthode

Get the number of the avatars in the Region server
public GetAvatarNumber ( int &usernum ) : void
usernum int The first out parameter describing the number of all the avatars in the Region server
Résultat void

GetHelpTopics() protected méthode

protected GetHelpTopics ( ) : List
Résultat List

GetPhysicsScene() protected méthode

protected GetPhysicsScene ( string osSceneIdentifier ) : PhysicsScene
osSceneIdentifier string
Résultat PhysicsScene

GetRegionNumber() public méthode

Get the number of regions
public GetRegionNumber ( int &regionnum ) : void
regionnum int The first out parameter describing the number of regions
Résultat void

GetRunTime() public méthode

Get the start time and up time of Region server
public GetRunTime ( string &starttime, string &uptime ) : void
starttime string The first out parameter describing when the Region server started
uptime string The second out parameter describing how long the Region server has run
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

LoadConfigSettings() protected méthode

protected LoadConfigSettings ( IConfigSource configSource ) : void
configSource IConfigSource
Résultat void

LoadPlugins() protected méthode

protected LoadPlugins ( ) : void
Résultat void

OpenSimBase() public méthode

Constructor.
public OpenSimBase ( IConfigSource configSource ) : System
configSource IConfigSource
Résultat System

PopulateRegionEstateInfo() public méthode

Load the estate information for the provided RegionInfo object.
public PopulateRegionEstateInfo ( RegionInfo regInfo ) : void
regInfo RegionInfo /// A ///
Résultat void

ReadExtraConfigSettings() protected méthode

protected ReadExtraConfigSettings ( ) : void
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( Scene scene, bool cleanup ) : void
scene OpenSim.Region.Framework.Scenes.Scene
cleanup bool
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( string name, bool cleanUp ) : void
name string
cleanUp bool
Résultat void

SetupScene() protected méthode

Create a scene and its initial base structures.
protected SetupScene ( RegionInfo regionInfo, IClientNetworkServer &clientServer ) : Scene
regionInfo RegionInfo
clientServer IClientNetworkServer
Résultat Scene

SetupScene() protected méthode

Create a scene and its initial base structures.
protected SetupScene ( RegionInfo regionInfo, int proxyOffset, IConfigSource configSource, IClientNetworkServer &clientServer ) : Scene
regionInfo RegionInfo
proxyOffset int
configSource IConfigSource
clientServer IClientNetworkServer
Résultat Scene

ShutdownClientServer() protected méthode

protected ShutdownClientServer ( RegionInfo whichRegion ) : void
whichRegion RegionInfo
Résultat void

ShutdownSpecific() public méthode

Performs any last-minute sanity checking and shuts down the region server
public ShutdownSpecific ( ) : void
Résultat void

StartupSpecific() protected méthode

Performs startup specific to the region server, including initialization of the scene such as loading configuration from disk.
protected StartupSpecific ( ) : void
Résultat void

handleRestartRegion() public méthode

public handleRestartRegion ( RegionInfo whichRegion ) : void
whichRegion RegionInfo
Résultat void

Property Details

CreateAccount public_oe property

public ConsoleCommand CreateAccount
Résultat ConsoleCommand

m_applicationRegistry protected_oe property

protected IRegistryCore m_applicationRegistry
Résultat IRegistryCore

m_autoCreateClientStack protected_oe property

protected bool m_autoCreateClientStack
Résultat bool

m_clientServers protected_oe property

protected List m_clientServers
Résultat List

m_config protected_oe property

protected OpenSimConfigSource m_config
Résultat OpenSimConfigSource

m_configLoader protected_oe property

protected ConfigurationLoader m_configLoader
Résultat ConfigurationLoader

m_configSettings protected_oe property

protected ConfigSettings m_configSettings
Résultat ConfigSettings

m_moduleLoader protected_oe property

protected ModuleLoader m_moduleLoader
Résultat ModuleLoader

m_plugins protected_oe property

protected List m_plugins
Résultat List

proxyOffset protected_oe property

protected int proxyOffset
Résultat int

proxyUrl protected_oe property

protected string proxyUrl
Résultat string

userStatsURI public_oe property

public string userStatsURI
Résultat string