using System; using Facepunch.Steamworks.Data; namespace Facepunch.Steamworks { public interface IConnectionManager { /// /// We started connecting to this guy /// void OnConnecting( ConnectionInfo info ); /// /// Called when the connection is fully connected and can start being communicated with /// void OnConnected( ConnectionInfo info ); /// /// We got disconnected /// void OnDisconnected( ConnectionInfo info ); /// /// Received a message /// void OnMessage( IntPtr data, int size, long messageNum, long recvTime, int channel ); } }