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:
48
MrWu/DB/SqlTimer.cs
Normal file
48
MrWu/DB/SqlTimer.cs
Normal file
@ -0,0 +1,48 @@
|
||||
/********************************
|
||||
*
|
||||
* 作者:吴隆健
|
||||
* 创建时间: 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() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user