mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 06:54:51 +01:00
💀 strictly necessary login nitifies
This commit is contained in:
@@ -70,5 +70,10 @@ namespace BLHX.Server.Game.Handlers
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public static void NotifyRefluxData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc11752());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,11 @@ namespace BLHX.Server.Game.Handlers
|
||||
}
|
||||
}
|
||||
|
||||
public static void NotifyShipSkinData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc12201());
|
||||
}
|
||||
|
||||
public static void NotifyFleetData(this Connection connection)
|
||||
{
|
||||
if (connection.player is not null)
|
||||
@@ -26,7 +31,10 @@ namespace BLHX.Server.Game.Handlers
|
||||
connection.Send(new Sc12101()
|
||||
{
|
||||
GroupLists = [
|
||||
new Groupinfo() { Id = 1, ShipLists = [1, 2] }
|
||||
new Groupinfo() { Id = 1, ShipLists = [1, 2] },
|
||||
new Groupinfo() { Id = 2 },
|
||||
new Groupinfo() { Id = 11 },
|
||||
new Groupinfo() { Id = 12 }
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
16
BLHX.Server.Game/Handlers/P13.cs
Normal file
16
BLHX.Server.Game/Handlers/P13.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using BLHX.Server.Common.Proto.p13;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P13
|
||||
{
|
||||
}
|
||||
|
||||
static class P13ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyChapterData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc13001() { ReactChapter = new() });
|
||||
}
|
||||
}
|
||||
}
|
||||
24
BLHX.Server.Game/Handlers/P15.cs
Normal file
24
BLHX.Server.Game/Handlers/P15.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using BLHX.Server.Common.Proto.p15;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P15
|
||||
{
|
||||
}
|
||||
|
||||
static class P15ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyBagData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc15001()
|
||||
{
|
||||
ItemLists = [
|
||||
new Iteminfo() { Id = 20001, Count = 5 },
|
||||
new Iteminfo() { Id = 15003, Count = 10 },
|
||||
new Iteminfo() { Id = 50002, Count = 10 },
|
||||
new Iteminfo() { Id = 50001, Count = 10 }
|
||||
]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
16
BLHX.Server.Game/Handlers/P16.cs
Normal file
16
BLHX.Server.Game/Handlers/P16.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using BLHX.Server.Common.Proto.p16;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P16
|
||||
{
|
||||
}
|
||||
|
||||
static class P16ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyShopMonthData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc16200() { Month = (uint)DateTime.Now.Month });
|
||||
}
|
||||
}
|
||||
}
|
||||
22
BLHX.Server.Game/Handlers/P19.cs
Normal file
22
BLHX.Server.Game/Handlers/P19.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using BLHX.Server.Common.Proto.p19;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P19
|
||||
{
|
||||
}
|
||||
|
||||
static class P19ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyDormData(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc19001()
|
||||
{
|
||||
Lv = 1,
|
||||
FloorNum = 1,
|
||||
ExpPos = 2,
|
||||
LoadTime = (uint)DateTimeOffset.Now.ToUnixTimeSeconds()
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
23
BLHX.Server.Game/Handlers/P22.cs
Normal file
23
BLHX.Server.Game/Handlers/P22.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using BLHX.Server.Common.Proto.p22;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P22
|
||||
{
|
||||
}
|
||||
|
||||
static class P22ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyNavalAcademy(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc22001()
|
||||
{
|
||||
OilWellLevel = 1,
|
||||
GoldWellLevel = 1,
|
||||
ClassLv = 1,
|
||||
Class = new(),
|
||||
SkillClassNum = 2
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,4 +11,11 @@ namespace BLHX.Server.Game.Handlers
|
||||
connection.Send(new Sc26102());
|
||||
}
|
||||
}
|
||||
static class P26ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyGameRoom(this Connection connection)
|
||||
{
|
||||
connection.Send(new Sc26120());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user