Files
xiaoou e9616125ce 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
2026-07-07 12:02:15 +08:00

58 lines
1.0 KiB
C#

using System;
using Server.Data.Module;
using GameData;
namespace Server
{
/// <summary>
/// 服务管理
/// </summary>
public interface IServer
{
/// <summary>
/// 服务器状态
/// </summary>
ServerState state {
get;
set;
}
/// <summary>
/// 服务器名称
/// </summary>
string ServerName {
get;
}
/// <summary>
/// 模块单元
/// </summary>
ModuleUtile myUtil {
get;
}
/// <summary>
/// 模块类型
/// </summary>
ModuleType myType {
get;
}
/// <summary>
/// 服务器启动
/// </summary>
bool Start();
/// <summary>
/// 主进程
/// </summary>
void Loop();
/// <summary>
/// 服务器关闭
/// </summary>
void Close();
}
}