mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 06:54:51 +01:00
Home screen, some places unblocked slightly (shop, friends)
This commit is contained in:
@@ -60,7 +60,7 @@ namespace BLHX.Server.Game.Handlers
|
||||
EquipBagMax = 350,
|
||||
GmFlag = 1,
|
||||
Rank = 1,
|
||||
GuideIndex = 1,
|
||||
GuideIndex = 1000000,
|
||||
ChatRoomId = 1,
|
||||
RegisterTime = (uint)new DateTimeOffset(connection.player.CreatedAt).ToUnixTimeSeconds(),
|
||||
ShipCount = (uint)connection.player.Ships.Count,
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
using BLHX.Server.Common.Proto.p13;
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p13;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P13
|
||||
{
|
||||
[PacketHandler(Command.Cs13505)]
|
||||
static void RemasterInfoRequestHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc13506());
|
||||
}
|
||||
}
|
||||
|
||||
static class P13ConnectionNotifyExtensions
|
||||
|
||||
@@ -1,9 +1,21 @@
|
||||
using BLHX.Server.Common.Proto.p16;
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p16;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P16
|
||||
{
|
||||
[PacketHandler(Command.Cs16104)]
|
||||
static void GetChargeListHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc16105());
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs16106)]
|
||||
static void GetExchangeItemHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc16107());
|
||||
}
|
||||
}
|
||||
|
||||
static class P16ConnectionNotifyExtensions
|
||||
|
||||
@@ -13,5 +13,11 @@ namespace BLHX.Server.Game.Handlers
|
||||
Rank = 1
|
||||
});
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs18100)]
|
||||
static void GetMilitaryShopHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc18101());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,21 @@
|
||||
using BLHX.Server.Common.Proto.p22;
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p22;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P22
|
||||
{
|
||||
[PacketHandler(Command.Cs22101)]
|
||||
static void GetShopStreetHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc22102()
|
||||
{
|
||||
Street = new()
|
||||
{
|
||||
Lv = 1
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static class P22ConnectionNotifyExtensions
|
||||
|
||||
@@ -10,6 +10,12 @@ namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
connection.Send(new Sc26102());
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs26150)]
|
||||
static void GetMinigameShopHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc26151());
|
||||
}
|
||||
}
|
||||
static class P26ConnectionNotifyExtensions
|
||||
{
|
||||
|
||||
20
BLHX.Server.Game/Handlers/P50.cs
Normal file
20
BLHX.Server.Game/Handlers/P50.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p50;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P50
|
||||
{
|
||||
[PacketHandler(Command.Cs50014)]
|
||||
static void SearchFriendCommandHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc50015());
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs50016)]
|
||||
static void GetBlacklistHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc50017());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,12 @@ namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P60
|
||||
{
|
||||
[PacketHandler(Command.Cs60033)]
|
||||
static void GetGuildShopHandler(Connection connection, Packet packet)
|
||||
{
|
||||
connection.Send(new Sc60034());
|
||||
}
|
||||
|
||||
[PacketHandler(Command.Cs60037)]
|
||||
static void GuildInfoHandler(Connection connection, Packet packet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user