quantum-space-buddies/FizzyFacepunch/FizzySocketManager.cs
2022-01-16 17:45:43 +00:00

13 lines
378 B
C#

using Steamworks;
using Steamworks.Data;
using System;
public class FizzySocketManager : SocketManager
{
public Action<Connection, IntPtr, int> ForwardMessage;
public override void OnMessage(Connection connection, NetIdentity identity, IntPtr data, int size, long messageNum, long recvTime, int channel)
{
ForwardMessage(connection, data, size);
}
}