mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 22:44:36 +01:00
strictly necessary handlers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using BLHX.Server.Common.Database;
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p11;
|
||||
using BLHX.Server.Common.Utils;
|
||||
using BLHX.Server.Game.Handlers;
|
||||
using ProtoBuf;
|
||||
using System.Buffers.Binary;
|
||||
using System.Net;
|
||||
@@ -117,6 +117,13 @@ namespace BLHX.Server.Game
|
||||
ns.Write(sendBuf);
|
||||
}
|
||||
|
||||
public void InitClientData()
|
||||
{
|
||||
this.NotifyPlayerData();
|
||||
this.NotifyStatisticsInit();
|
||||
this.NotifyShipData();
|
||||
}
|
||||
|
||||
public void SendHttpResponse(string rsp, string type = "text/plain")
|
||||
{
|
||||
tcpClient.GetStream().Write(Encoding.UTF8.GetBytes(
|
||||
|
||||
Reference in New Issue
Block a user