C# Класс fCraft.ShutdownParams

Describes the circumstances of server shutdown.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart ) : System

Creates a ShutdownParams object with given reason/delay/restart flag.

ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart, [ customReason, [ initiatedBy ) : System

Creates a ShutdownParams object with given parameters. and may be null.

ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart ) : System
ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart, [ customReason, [ initiatedBy ) : System
ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart ) : System
ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart, string customReason, Player initiatedBy ) : System

Описание методов

ShutdownParams() публичный Метод

Creates a ShutdownParams object with given reason/delay/restart flag.
public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart ) : System
reason ShutdownReason
delay System.TimeSpan
restart bool
Результат System

ShutdownParams() публичный Метод

Creates a ShutdownParams object with given parameters. and may be null.
public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool restart, [ customReason, [ initiatedBy ) : System
reason ShutdownReason
delay System.TimeSpan
restart bool
customReason [
initiatedBy [
Результат System

ShutdownParams() публичный Метод

public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart ) : System
reason ShutdownReason
delay System.TimeSpan
killProcess bool
restart bool
Результат System

ShutdownParams() публичный Метод

public ShutdownParams ( ShutdownReason reason, System.TimeSpan delay, bool killProcess, bool restart, [ customReason, [ initiatedBy ) : System
reason ShutdownReason
delay System.TimeSpan
killProcess bool
restart bool
customReason [
initiatedBy [
Результат System

ShutdownParams() публичный Метод

public ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart ) : System
reason ShutdownReason
delay int
killProcess bool
restart bool
Результат System

ShutdownParams() публичный Метод

public ShutdownParams ( ShutdownReason reason, int delay, bool killProcess, bool restart, string customReason, Player initiatedBy ) : System
reason ShutdownReason
delay int
killProcess bool
restart bool
customReason string
initiatedBy Player
Результат System