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:
35
BLHX.Server.Game/Handlers/P60.cs
Normal file
35
BLHX.Server.Game/Handlers/P60.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p60;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P60
|
||||
{
|
||||
[PacketHandler(Command.Cs60037)]
|
||||
static void GuildInfoHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc60000()
|
||||
{
|
||||
Guild = new()
|
||||
{
|
||||
DonateTasks = [1],
|
||||
TechIds = [8, 0, 18, 6, 8, 0, 16, 0, 24, 0, 24, 0, 40, 0, 48, 0, 56, 0, 64, 0],
|
||||
BenefitTime = 1,
|
||||
WeeklyTaskFlag = 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs60102)]
|
||||
static void GuildUserInfoHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc60103()
|
||||
{
|
||||
UserInfo = new()
|
||||
{
|
||||
DonateTasks = [1, 20, 4]
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user