quantum-space-buddies/FizzyFacepunch/FizzySocketManager.cs

10 lines
355 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;
2022-01-16 17:45:43 +00:00
public override void OnMessage(Connection connection, NetIdentity identity, IntPtr data, int size, long messageNum, long recvTime, int channel) => ForwardMessage(connection, data, size);
2022-01-16 17:45:43 +00:00
}