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
28 lines
564 B
C#
28 lines
564 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Server
|
|
{
|
|
/// <summary>
|
|
/// 定时器处理者
|
|
/// </summary>
|
|
public interface ITimerProcessor
|
|
{
|
|
|
|
/// <summary>
|
|
/// 定时器
|
|
/// </summary>
|
|
/// <param name="Interval">定时器时间间隔 单位毫秒</param>
|
|
void OnTime(int Interval);
|
|
|
|
/// <summary>
|
|
/// 秒级定时器
|
|
/// </summary>
|
|
void SecondTime();
|
|
|
|
}
|
|
}
|