C# Class Universe.Modules.Restart.RestartModule

Inheritance: INonSharedRegionModule, IRestartModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

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

Méthode Description
BuildSaveFileName ( string regionName ) : string

Method Details

AbortRestart() public méthode

public AbortRestart ( string message ) : void
message string
Résultat void

AddConsoleCommands() protected méthode

Adds the console commands.
protected AddConsoleCommands ( ) : void
Résultat void

AddRegion() public méthode

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

Close() public méthode

public Close ( ) : void
Résultat void

DeserializeUsers() protected méthode

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

DoOneNotice() public méthode

public DoOneNotice ( ) : int
Résultat int

EventManager_OnStartupFullyComplete() protected méthode

protected EventManager_OnStartupFullyComplete ( IScene scene, List data ) : void
scene IScene
data List
Résultat void

HandleHelp() protected méthode

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

HandleRegionRestart() protected méthode

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

HandleRegionRestartAbort() protected méthode

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

Initialize() public méthode

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

OnTimer() protected méthode

protected OnTimer ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
Résultat void

RegionLoaded() public méthode

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

RemoveRegion() public méthode

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

RestartScene() public méthode

This causes the region to restart immediately.
public RestartScene ( ) : void
Résultat void

ScheduleRestart() public méthode

public ScheduleRestart ( UUID initiator, string message, int alerts, bool notice ) : void
initiator UUID
message string
alerts int
notice bool
Résultat void

SerializeScene() public méthode

Serializes the scene.
public SerializeScene ( ) : void
Résultat void

SerializeUsers() protected méthode

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

SetTimer() public méthode

public SetTimer ( int intervalSeconds ) : void
intervalSeconds int
Résultat void

restartRegionSerialized() protected méthode

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

Property Details

m_Alerts protected_oe property

protected List m_Alerts
Résultat List

m_CountdownTimer protected_oe property

protected Timer m_CountdownTimer
Résultat Timer

m_DialogModule protected_oe property

protected IDialogModule m_DialogModule
Résultat IDialogModule

m_Initiator protected_oe property

protected UUID m_Initiator
Résultat UUID

m_Message protected_oe property

protected string m_Message
Résultat string

m_Notice protected_oe property

protected bool m_Notice
Résultat bool

m_RestartBegin protected_oe property

protected DateTime m_RestartBegin
Résultat DateTime

m_scene protected_oe property

protected IScene m_scene
Résultat IScene