Skip to content

OnConnectionQueue

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnConnectionQueue( Network.Connection connection )
{
    Puts( "OnConnectionQueue works!" );
    return null;
}

Location

  • ConnectionQueue::Join(Network.Connection connection)
csharp
internal void Join(Connection connection)
{
	if (Interface.CallHook("OnConnectionQueue", connection) == null)
	{
		nextMessageTime = 0f;
		if ((Queued == 0 && !IsServerFull) || CanJumpQueue(connection))
		{
			JoinGame(connection);
//---

Released under the MIT License.