# The stateManager.getQualifiers() method
This documents the `stateManager.getQualifiers()` method.

This method has input parameters. The function could easily be defined as:
```ts
function getQualifiers(tournamentGuid: string): QualifierEvent[] | undefined {
    // backend logic
}
```
## General usage:
```ts
const qualifiers: QualifierEvent[] | undefined = taClient.stateManager.getQualifiers(tournamentGuid);
```

This method will return either an array of the `QualifierEvent` object or undefined. A `QualifierEvent` can be described by the following TypeScript Interface:
```ts
interface QualifierEvent {
    /**
     * @generated from protobuf field: string guid = 1;
     */
    guid: string;
    /**
     * @generated from protobuf field: string name = 2;
     */
    name: string;
    /**
     * @generated from protobuf field: bytes image = 3;
     */
    image: Uint8Array;
    /**
     * @generated from protobuf field: proto.discord.Channel info_channel = 4;
     */
    infoChannel?: {
        /**
         * @generated from protobuf field: string id = 1;
         */
        id: string;
        /**
         * @generated from protobuf field: string name = 2;
         */
        name: string;
    };
    /**
     * @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5;
     */
    qualifierMaps: Map[];
    /**
     * @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6;
     */
    flags: QualifierEvent_EventSettings;
    /**
     * @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7;
     */
    sort: QualifierEvent_LeaderboardSort;
}
```
<div class="info-box">
    <span class="material-icons">info</span>
    <div>
        <strong>Good to know:</strong> For the sake of simplification, the type of <code>infoChannel</code> has been substituted. Find the documentation on the original type <a href="/documentation#Modals/4-modals-Channel">here: Modals -> Channel</a>
    </div>
</div>

For the definition of the `QualifierEvent_EventSettings` look at the [Enums -> QualifierEvent_EventSettings](/documentation#Enums/5-QualifierEvent_EventSettings) and for the `QualifierEvent_LeaderboardSort` look at the [Enums -> QualifierEvent_EventSettings](/documentation#Enums/5-QualifierEvent_LeaderboardSort) page.

<div class="info-box">
    <span class="material-icons">info</span>
    <div>
        <strong>Example:</strong> A direct implementation example is not present, since this method is not used in ShyyTAUI. 
    </div>
</div>