mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 07:55:01 +01:00
22 lines
527 B
C#
22 lines
527 B
C#
using EpinelPS.Utils;
|
|
|
|
namespace EpinelPS.LobbyServer.Misc
|
|
{
|
|
[PacketPath("/resourcehosts2")]
|
|
public class CheckClientVersion : LobbyMsgHandler
|
|
{
|
|
protected override async Task HandleAsync()
|
|
{
|
|
ReqGetResourceHosts2 req = await ReadData<ReqGetResourceHosts2>();
|
|
|
|
ResGetResourceHosts2 r = new()
|
|
{
|
|
BaseUrl = GameConfig.Root.ResourceBaseURL,
|
|
Version = req.Version
|
|
};
|
|
|
|
await WriteDataAsync(r);
|
|
}
|
|
}
|
|
}
|