mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-06 22:50:30 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
26
server/FSO.Server.Database/DA/Shards/Shard.cs
Executable file
26
server/FSO.Server.Database/DA/Shards/Shard.cs
Executable file
|
@ -0,0 +1,26 @@
|
|||
namespace FSO.Server.Database.DA.Shards
|
||||
{
|
||||
public class Shard
|
||||
{
|
||||
public int shard_id;
|
||||
public string name;
|
||||
public int rank;
|
||||
public string map;
|
||||
public ShardStatus status;
|
||||
public string internal_host;
|
||||
public string public_host;
|
||||
public string version_name;
|
||||
public string version_number;
|
||||
public int? update_id; //new update system. set by whichever server is running the shard.
|
||||
}
|
||||
|
||||
public enum ShardStatus
|
||||
{
|
||||
Up,
|
||||
Down,
|
||||
Busy,
|
||||
Full,
|
||||
Closed,
|
||||
Frontier
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue