Skip to main content

XGameUiUiCallbacks

Struct containing pointers to dev-defined UI callbacks.

Syntax

Parameters

showPlayerProfileCardCallback
Type: XGameUiShowPlayerProfileCardUiCallback*
Handler for XGameUiShowPlayerProfileCardAsync, or null for system UI. showPlayerPickerCallback
Type: XGameUiShowPlayerPickerUiCallback*
Handler for XGameUiShowPlayerPickerAsync, or null for system UI. showSendGameInviteCallback
Type: XGameUiShowSendGameInviteUiCallback*
Handler for XGameUiShowSendGameInviteAsync, or null for system UI. showAchievementsCallback
Type: XGameUiShowAchievementsUiCallback*
Handler for XGameUiShowAchievementsAsync, or null for system UI. showMultiplayerActivityGameInviteCallback
Type: XGameUiShowMultiplayerActivityGameInviteUiCallback*
Handler for XGameUiShowMultiplayerActivityGameInviteAsync, or null for system UI. showMessageDialogCallback
Type: XGameUiShowMessageDialogUiCallback*
Handler for XGameUiShowMessageDialogAsync, or null for system UI. showErrorDialogCallback
Type: XGameUiShowErrorDialogUiCallback*
Handler for XGameUiShowErrorDialogAsync, or null for system UI. showTextEntryCallback
Type: XGameUiShowTextEntryUiCallback*
Handler for XGameUiShowTextEntryAsync, or null for system UI.

Remarks

This struct is passed to XGameUiSetUiCallbacks. Any callback fields that are non-zero will be used in place of the existing system UI for the corresponding XGameUi API. The developer can include a context pointer for each callback that will be passed into the callback.

Requirements

Header: XGameUi.h Supported platforms: Supported only on Steam Deck

See also

XGameUI XGameUiSetUiCallbacks
Last modified on August 4, 2026