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:
27
GlobalSever/GlobalManager/ITimerProcessor.cs
Normal file
27
GlobalSever/GlobalManager/ITimerProcessor.cs
Normal file
@ -0,0 +1,27 @@
|
||||
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();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user