sorry moonlight team

This commit is contained in:
rfi 2023-10-14 20:03:04 +07:00
commit c09f868d28
1 changed files with 2 additions and 2 deletions

View File

@ -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()