Skip to content

RadiantConnect: QueueEvents

QueueEvents provides hooks for monitoring party queue activity, matchmaking changes, and custom game creation. It allows developers to react to queue state changes and lobby events in real-time.

Danger

The events only work while the valorant game is in focus, being tabbed out will not work.


Overview

Access queue events through initiator.GameEvents (or your QueueEvents instance). Most events provide relevant IDs or data objects related to queues or custom games.


Events


OnCustomGameLobbyCreated

Description: Triggered when a party is converted into a custom game lobby.
Event Data: CustomGameData? — details about the custom game.


OnQueueChanged

Description: Triggered when the party’s queue is changed.
Event Data: string? — the new queue ID.


OnEnteredQueue

Description: Triggered when the party enters a matchmaking queue.
Event Data: string? — the queue ID the party entered.


OnLeftQueue

Description: Triggered when the party leaves a matchmaking queue.
Event Data: string? — the queue ID the party left.


OnTravelToMenu

Description: Triggered when the party returns to the menu.
Event Data: object? — no additional data.


OnMatchFound

Description: Triggered when a match is found for the party.
Event Data: object? — no additional data.


Handling Events

Subscribe to queue events like this:

C#
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
initiator.GameEvents.Queue.OnCustomGameLobbyCreated += customGame =>
{
    Console.WriteLine($"Custom game created: {customGame?.GameName}");
};

initiator.GameEvents.Queue.OnQueueChanged += queueId =>
{
    Console.WriteLine($"Queue changed: {queueId}");
};

initiator.GameEvents.Queue.OnEnteredQueue += queueId =>
{
    Console.WriteLine($"Entered queue: {queueId}");
};

initiator.GameEvents.Queue.OnLeftQueue += queueId =>
{
    Console.WriteLine($"Left queue: {queueId}");
};

initiator.GameEvents.Queue.OnTravelToMenu += _ =>
{
    Console.WriteLine("Traveling back to menu.");
};

initiator.GameEvents.Queue.OnMatchFound += _ =>
{
    Console.WriteLine("Match found!");
};