Skip to content

OnConnectionQueue

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnConnectionQueue( Connection connection )
{
    Puts( "OnConnectionQueue works!" );
}

Location

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

Released under the MIT License.