source code checkin

This commit is contained in:
Brett Hewitson 2021-01-07 16:23:23 +10:00
parent 5f8fb2c825
commit 7e57b72e35
675 changed files with 168433 additions and 0 deletions

View file

@ -0,0 +1,11 @@
namespace ServerManagerTool.Enums
{
public enum AvailabilityStatus
{
Unknown,
NeedPublicIP,
Unavailable,
WaitingForPublication,
Available
}
}

View file

@ -0,0 +1,9 @@
namespace ServerManagerTool.Enums
{
public enum LogEventType
{
All,
Chat,
Event
}
}

View file

@ -0,0 +1,15 @@
using System;
namespace ServerManagerTool.Enums
{
[Flags]
public enum PlayerFilterType
{
None = 0,
Offline = 0x1,
Online = 0x2,
Admin = 0x4,
Invalid = 0x10,
Whitelisted = 0x20,
}
}

View file

@ -0,0 +1,10 @@
namespace ServerManagerTool.Enums
{
public enum PlayerSortType
{
Online = 0,
Name = 1,
Tribe = 2,
LastOnline = 3,
}
}

View file

@ -0,0 +1,25 @@
namespace ServerManagerTool.Enums
{
public enum ServerProcessStatus
{
/// <summary>
/// The server binary could not be found
/// </summary>
NotInstalled,
/// <summary>
/// The server binary was found, but the process was not.
/// </summary>
Stopped,
/// <summary>
/// The server binary was found, the process was found, but no permissions to access the process.
/// </summary>
Unknown,
/// <summary>
/// The server process was found
/// </summary>
Running,
}
}

View file

@ -0,0 +1,14 @@
namespace ServerManagerTool.Enums
{
public enum ServerProcessType
{
Unknown = 0,
AutoBackup,
AutoUpdate,
AutoShutdown1,
AutoShutdown2,
Backup,
Shutdown,
Restart,
}
}

View file

@ -0,0 +1,9 @@
namespace ServerManagerTool.Enums
{
public enum ServerProfileCategory
{
Administration,
AutomaticManagement,
ServerFiles,
}
}

View file

@ -0,0 +1,13 @@
namespace ServerManagerTool.Enums
{
public enum ServerStatus
{
Unknown,
Stopping,
Stopped,
Initializing,
Running,
Updating,
Uninstalled
}
}

View file

@ -0,0 +1,40 @@
namespace ServerManagerTool.Enums
{
public enum WatcherServerStatus
{
/// <summary>
/// The server binary couldnot be found.
/// </summary>
NotInstalled,
/// <summary>
/// The server binary was found, but the process was not
/// </summary>
Stopped,
/// <summary>
/// The server binary was found, the process was found, but no permissions to access the process.
/// </summary>
Unknown,
/// <summary>
/// The server process was found, but the server is not responding on its port
/// </summary>
Initializing,
/// <summary>
/// The server is responding locally on its port, a local check was made
/// </summary>
RunningLocalCheck,
/// <summary>
/// The server is responding locally on its port, a public check was made
/// </summary>
RunningExternalCheck,
/// <summary>
/// The server is responding externally on its port
/// </summary>
Published,
}
}