fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.ShutdownParams Class Reference

Describes the circumstances of server shutdown. More...

Public Member Functions

 ShutdownParams (ShutdownReason reason, TimeSpan delay, bool restart)
 
 ShutdownParams (ShutdownReason reason, TimeSpan delay, bool restart,[CanBeNull] string customReason,[CanBeNull] Player initiatedBy)
 

Properties

ShutdownReason Reason [get, set]
 
string ReasonString [get]
 
TimeSpan Delay [get, set]
 Delay before shutting down.
 
bool Restart [get, set]
 Whether the server is expected to restart itself after shutting down.
 
Player InitiatedBy [get, set]
 Player who initiated the shutdown. May be null or Console.
 

Detailed Description

Describes the circumstances of server shutdown.

Constructor & Destructor Documentation

fCraft.ShutdownParams.ShutdownParams ( ShutdownReason  reason,
TimeSpan  delay,
bool  restart 
)
fCraft.ShutdownParams.ShutdownParams ( ShutdownReason  reason,
TimeSpan  delay,
bool  restart,
[CanBeNull] string  customReason,
[CanBeNull] Player  initiatedBy 
)

Property Documentation

TimeSpan fCraft.ShutdownParams.Delay
getset

Delay before shutting down.

Player fCraft.ShutdownParams.InitiatedBy
getset

Player who initiated the shutdown. May be null or Console.

ShutdownReason fCraft.ShutdownParams.Reason
getset
string fCraft.ShutdownParams.ReasonString
get
bool fCraft.ShutdownParams.Restart
getset

Whether the server is expected to restart itself after shutting down.


The documentation for this class was generated from the following file: