using GameServer.Handlers.Attributes; using GameServer.Network; using Protocol; namespace GameServer.Handlers; internal class DailyActivityMessageHandler : MessageHandlerBase { public DailyActivityMessageHandler(KcpSession session) : base(session) { // DailyActivityMessageHandler. } [MessageHandler(MessageId.ActivityRequest)] public async Task OnActivityRequest(ReadOnlyMemory _) { await Session.Rpc.ReturnAsync(MessageId.ActivityResponse, new ActivityResponse()); } [MessageHandler(MessageId.LivenessRequest)] public async Task OnLivenessRequest(ReadOnlyMemory _) { await Session.Rpc.ReturnAsync(MessageId.LivenessResponse, new LivenessResponse()); } }