mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 22:44:36 +01:00
player dbs...
This commit is contained in:
22
BLHX.Server.Game/Handlers/P12.cs
Normal file
22
BLHX.Server.Game/Handlers/P12.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using BLHX.Server.Common.Proto.p12;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal static class P12
|
||||
{
|
||||
}
|
||||
|
||||
static class P12ConnectionNotifyExtensions
|
||||
{
|
||||
public static void NotifyShipData(this Connection connection)
|
||||
{
|
||||
if (connection.player is not null)
|
||||
{
|
||||
connection.Send(new Sc12001()
|
||||
{
|
||||
Shiplists = connection.player.Ships.Select(x => x.ToProto()).ToList()
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user