2022-01-18 11:04:07 +08:00
|
|
|
using Arrowgene.Ddon.Server;
|
2024-12-29 17:56:05 -08:00
|
|
|
using Arrowgene.Ddon.Shared.Entity.PacketStructure;
|
2022-01-18 11:04:07 +08:00
|
|
|
using Arrowgene.Ddon.Shared.Network;
|
2022-01-09 19:39:57 +08:00
|
|
|
using Arrowgene.Logging;
|
|
|
|
|
|
|
|
|
|
namespace Arrowgene.Ddon.GameServer.Handler
|
|
|
|
|
{
|
2024-12-29 17:56:05 -08:00
|
|
|
public class LoadingInfoLoadingGetInfoHandler : GameRequestPacketHandler<C2SConnectionGetLoginAnnouncementReq, S2CLoadingInfoLoadingGetInfoRes>
|
2022-01-09 19:39:57 +08:00
|
|
|
{
|
2022-01-18 11:04:07 +08:00
|
|
|
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(LoadingInfoLoadingGetInfoHandler));
|
2022-01-09 19:39:57 +08:00
|
|
|
|
|
|
|
|
public LoadingInfoLoadingGetInfoHandler(DdonGameServer server) : base(server)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override PacketId Id => PacketId.C2S_LOADING_INFO_LOADING_GET_INFO_REQ;
|
|
|
|
|
|
2024-12-29 17:56:05 -08:00
|
|
|
public override S2CLoadingInfoLoadingGetInfoRes Handle(GameClient client, C2SConnectionGetLoginAnnouncementReq request)
|
2022-01-09 19:39:57 +08:00
|
|
|
{
|
2024-12-29 17:56:05 -08:00
|
|
|
return new()
|
|
|
|
|
{
|
|
|
|
|
Info = Server.AssetRepository.LoadingInfoAsset
|
|
|
|
|
};
|
2022-01-09 19:39:57 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|