Files
BoneSync/Facepunch.Steamworks/Networking/IConnectionManager.cs
2025-02-25 12:58:41 +02:00

28 lines
671 B
C#

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