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;
	}
	connection.state = Connection.State.InQueue;
	this.queue.Add(connection);
//---

Released under the MIT License.