> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameUiPlayerPickerInfo

> XGameUiPlayerPickerInfo

# XGameUiPlayerPickerInfo

Struct encapsulating user information to be used by the developer’s custom player picker UI.

## Syntax

```cpp theme={null}
struct XGameUiPlayerPickerInfo {
    XUserHandle requestingUser;
    const char* promptText;
    uint32_t selectFromPlayersCount;
    const uint64_t* selectFromPlayers;
    uint32_t preSelectedPlayersCount;
    const uint64_t* preSelectedPlayers;
    uint32_t minSelectionCount;
    uint32_t maxSelectionCount;
};
```

## Members

*requestingUser*\
Type: XUserHandle

Handle of the user that requested the UI.

*promptText*\
Type: const char\*

The prompt display text.

*selectFromPlayersCount*\
Type: uint32\_t

The number of players that the caller can select from.

*selectFromPlayers*\
Type: const uint64\_t\*

A pointer to a list of player IDs that the caller can select from.

*preSelectedPlayersCount*\
Type: uint32\_t

The number of players that are pre-selected when the UI is presented.

*preSelectedPlayers*\
Type: const uint64\_t\*

A pointer to a list of player IDs that are pre-selected when the UI is presented.

*minSelectionCount*\
Type: uint32\_t

The minimum number of people the caller must select.

*maxSelectionCount*\
Type: uint32\_t

The maximum number of people the caller can select.

## Requirements

**Header:** XGameUi.h

**Supported platforms:** Supported only on Steam Deck

## See also

[XGameUI](/reference/system/xgameui/xgameui_members)
[XGameUiShowPlayerPickerUiCallback](/reference/system/xgameui/functions/xgameuishowplayerpickeruicallback)


## Related topics

- [XGameUiShowPlayerPickerUiCallback](/reference/system/xgameui/functions/xgameuishowplayerpickeruicallback.md)
- [XGameUiShowPlayerPickerResult](/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
- [XGameUiSetPlayerPickerUiResponse](/reference/system/xgameui/functions/xgameuisetplayerpickeruiresponse.md)
- [XGameUiShowPlayerPickerAsync](/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md)
- [XGameUiShowPlayerPickerResultCount](/reference/system/xgameui/functions/xgameuishowplayerpickerresultcount.md)
