Skip to content

OnConnectionDequeue

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • ConnectionQueue::RemoveConnection(Network.Connection connection)
csharp
public void RemoveConnection(Connection connection)
{
	if (Interface.CallHook("OnConnectionDequeue", connection) != null)
	{
		return;
	}
	if (this.queue.Remove(connection))
	{
//---

Released under the MIT License.