using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; namespace World { public class EventHandlerMgr : BaseReloadableService { public override int GetServiceType() { return WorldServiceType.EventHandlerMgr; } //清空所有事件 public override void Dispose() { TriggerNewDayStart = null; TriggerServerStop = null; } // 新的一天开始 public delegate void NewDayStartEvent(long nowSec); public NewDayStartEvent TriggerNewDayStart; // 停服 public delegate void ServerStopEvent(); public ServerStopEvent TriggerServerStop; public void RegisterAllEventHandler() { } } }