6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
46 lines
825 B
C#
46 lines
825 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Server
|
|
{
|
|
|
|
/// <summary>
|
|
/// 服务器状态
|
|
/// </summary>
|
|
public enum ServerState
|
|
{
|
|
/// <summary>
|
|
/// 关闭状态
|
|
/// </summary>
|
|
Close = 0,
|
|
|
|
/// <summary>
|
|
/// 启动中
|
|
/// </summary>
|
|
Starting = 1,
|
|
|
|
/// <summary>
|
|
/// 运行中
|
|
/// </summary>
|
|
Runing = 2,
|
|
|
|
/// <summary>
|
|
/// 停止中
|
|
/// </summary>
|
|
Stoping = 3,
|
|
|
|
/// <summary>
|
|
/// 停止
|
|
/// </summary>
|
|
Stop = 4,
|
|
|
|
/// <summary>
|
|
/// 服务器意外终止
|
|
/// </summary>
|
|
Error = 5
|
|
}
|
|
}
|