feat: initial commit - HJHA game server full source
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
This commit is contained in:
45
GlobalSever/GlobalManager/ServerState.cs
Normal file
45
GlobalSever/GlobalManager/ServerState.cs
Normal file
@ -0,0 +1,45 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user