quantum-space-buddies/FizzyFacepunch/FizzySocketManager.cs

13 lines
378 B
C#
Raw Normal View History

2022-01-16 17:45:43 +00:00
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);
}
}