Files
WinDurango/dlls/winrt_x/Implementation/Windows.Xbox.System.UserDisplayInfo.h
2025-11-07 15:57:20 +11:00

21 lines
553 B
C++

#pragma once
#include "Windows.Xbox.System.UserDisplayInfo.g.h"
namespace winrt::Windows::Xbox::System::implementation
{
struct UserDisplayInfo : UserDisplayInfoT<UserDisplayInfo>
{
UserDisplayInfo() = default;
UserDisplayInfo(hstring gamertag) : wdcfg(WinDurangoConfig::Instance()) {}
hstring Gamertag();
uint32_t GamerScore();
hstring ApplicationDisplayName();
hstring GameDisplayName();
int32_t Reputation();
UserAgeGroup AgeGroup();
Foundation::Collections::IVectorView<uint32_t> Privileges();
WinDurangoConfig& wdcfg;
};
}