mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 00:34:38 +01:00
sorry moonlight team
This commit is contained in:
@@ -122,11 +122,11 @@ namespace AscNet.GameServer
|
||||
DisconnectProtocol();
|
||||
}
|
||||
|
||||
public void SendPush<T>(T push)
|
||||
public void SendPush<T>(string name, T push)
|
||||
{
|
||||
Packet.Push packet = new()
|
||||
{
|
||||
Name = typeof(T).Name,
|
||||
Name = name,
|
||||
Content = MessagePackSerializer.Serialize(push)
|
||||
};
|
||||
Send(new Packet()
|
||||
|
||||
Reference in New Issue
Block a user