Facepunch.Steamworks Wiki

Steamworks.ConnectionManager

Fields

bool Connected
The actual connection we're managing -> the connection to server, used to receive/send data to server

Properties

The last received ConnectionInfo
string ConnectionName { get; set; }
An optional interface to use instead of deriving
System.Int64 UserData { get; set; }

Methods

void Close()
Client is connected. They move from connecting to Connections
We're trying to connect!
Responsible of handling server state by using "info. State"
The connection has been closed remotely or disconnected locally. Check data.State for details.
void OnMessage( System.IntPtr data, int size, System.Int64 messageNum, System.Int64 recvTime, int channel )
void Receive( int bufferSize = 32 )