C# Class Universe.Modules.Restart.RestartModule

Inheritance: INonSharedRegionModule, IRestartModule
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_Alerts List
m_CountdownTimer Timer
m_DialogModule IDialogModule
m_Initiator UUID
m_Message string
m_Notice bool
m_RestartBegin DateTime
m_scene IScene

Public Methods

Method Description
AbortRestart ( string message ) : void
AddRegion ( IScene scene ) : void
Close ( ) : void
DoOneNotice ( ) : int
Initialize ( IConfigSource config ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
RestartScene ( ) : void

This causes the region to restart immediately.

ScheduleRestart ( UUID initiator, string message, int alerts, bool notice ) : void
SerializeScene ( ) : void

Serializes the scene.

SetTimer ( int intervalSeconds ) : void

Protected Methods

Method Description
AddConsoleCommands ( ) : void

Adds the console commands.

DeserializeUsers ( IScene scene ) : void
EventManager_OnStartupFullyComplete ( IScene scene, List data ) : void
HandleHelp ( IScene scene, string cmd ) : void

Handles the help command.

HandleRegionRestart ( IScene scene, string args ) : void

Handles the region restart command

HandleRegionRestartAbort ( IScene scene, string args ) : void

Handles the region restart abort command.

OnTimer ( object source, ElapsedEventArgs e ) : void
SerializeUsers ( IScene scene ) : void
restartRegionSerialized ( IScene scene ) : void

Private Methods

Method Description
BuildSaveFileName ( string regionName ) : string

Method Details

AbortRestart() public method

public AbortRestart ( string message ) : void
message string
return void

AddConsoleCommands() protected method

Adds the console commands.
protected AddConsoleCommands ( ) : void
return void

AddRegion() public method

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

Close() public method

public Close ( ) : void
return void

DeserializeUsers() protected method

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

DoOneNotice() public method

public DoOneNotice ( ) : int
return int

EventManager_OnStartupFullyComplete() protected method

protected EventManager_OnStartupFullyComplete ( IScene scene, List data ) : void
scene IScene
data List
return void

HandleHelp() protected method

Handles the help command.
protected HandleHelp ( IScene scene, string cmd ) : void
scene IScene Not used
cmd string Not used
return void

HandleRegionRestart() protected method

Handles the region restart command
protected HandleRegionRestart ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
return void

HandleRegionRestartAbort() protected method

Handles the region restart abort command.
protected HandleRegionRestartAbort ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
return void

Initialize() public method

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

OnTimer() protected method

protected OnTimer ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
return void

RegionLoaded() public method

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

RemoveRegion() public method

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

RestartScene() public method

This causes the region to restart immediately.
public RestartScene ( ) : void
return void

ScheduleRestart() public method

public ScheduleRestart ( UUID initiator, string message, int alerts, bool notice ) : void
initiator UUID
message string
alerts int
notice bool
return void

SerializeScene() public method

Serializes the scene.
public SerializeScene ( ) : void
return void

SerializeUsers() protected method

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

SetTimer() public method

public SetTimer ( int intervalSeconds ) : void
intervalSeconds int
return void

restartRegionSerialized() protected method

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

Property Details

m_Alerts protected_oe property

protected List m_Alerts
return List

m_CountdownTimer protected_oe property

protected Timer m_CountdownTimer
return Timer

m_DialogModule protected_oe property

protected IDialogModule m_DialogModule
return IDialogModule

m_Initiator protected_oe property

protected UUID m_Initiator
return UUID

m_Message protected_oe property

protected string m_Message
return string

m_Notice protected_oe property

protected bool m_Notice
return bool

m_RestartBegin protected_oe property

protected DateTime m_RestartBegin
return DateTime

m_scene protected_oe property

protected IScene m_scene
return IScene