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
49 lines
928 B
C#
49 lines
928 B
C#
/********************************
|
|
*
|
|
* 作者:吴隆健
|
|
* 创建时间: 2019-06-06 16:34:39
|
|
*
|
|
********************************/
|
|
|
|
using System;
|
|
|
|
namespace MrWu.DB {
|
|
/// <summary>
|
|
/// 数据库定时器
|
|
/// </summary>
|
|
public class SqlTimer {
|
|
|
|
/// <summary>
|
|
/// 时间间隔单位秒
|
|
/// </summary>
|
|
public int interval;
|
|
|
|
/// <summary>
|
|
/// 下次运行的时间点
|
|
/// </summary>
|
|
public long runTime;
|
|
|
|
/// <summary>
|
|
/// 是否运行中
|
|
/// </summary>
|
|
public bool isRuning {
|
|
get;
|
|
internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 启动定时器
|
|
/// </summary>
|
|
public void Start() {
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 停止定时器
|
|
/// </summary>
|
|
public void Stop() {
|
|
|
|
}
|
|
}
|
|
}
|