Skip to content

OnQueueCycle ​

Usage ​

  • Return a non-null value to override default behavior

Example Autogenerated ​

csharp
private object OnQueueCycle( int availableSlots )
{
    Puts( "OnQueueCycle works!" );
    return null;
}

Location ​

  • ConnectionQueue::Cycle(int availableSlots)
csharp
public void Cycle(int availableSlots)
{
	if (Interface.CallHook("OnQueueCycle", availableSlots) != null)
	{
		return;
	}
	if (Time.realtimeSinceStartup > nextCleanupReservedSlots)
	{
//---

Released under the MIT License.