mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 15:04:37 +01:00
strictly necessary handlers
This commit is contained in:
18
BLHX.Server.Game/Handlers/P34.cs
Normal file
18
BLHX.Server.Game/Handlers/P34.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p34;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P34
|
||||
{
|
||||
[PacketHandler(Command.Cs34001)]
|
||||
static void GetMetaPTHandler(Connection connection, Packet packet)
|
||||
{
|
||||
var req = packet.Decode<Cs34001>();
|
||||
connection.Send(new Sc34002()
|
||||
{
|
||||
MetaShipLists = req.GroupIds.Select(x => new MetaShipInfo() { GroupId = x }).ToList()
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user