chat_user::xbox_user_id
Returns the unique XBOX User ID of this user.Syntax
Parameters
None.Return value
Type: _Ret_z_ Returns a pointer to a null-terminated string that represents the unique XBOX User ID of this user.Remarks
This method returns a pointer to a null-terminated string that represents the unique XBOX User ID for this chat_user object. The memory for the returned string pointer remains valid for the life of thechat_user object, which is until the user has been removed by a call to the chat_manager::remove_user method. For more information about managing users with the local chat_manager instance for your app, see the Adding users to Game Chat 2 section in Using the Game Chat 2 C++ API.
Requirements
Header: GameChat2.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Intro to Game Chat 2chat_user::custom_user_context
chat_user
