WinRT - Better Debug

This commit is contained in:
Serenity
2025-06-03 00:54:43 -04:00
parent 212c7ab23b
commit 222cdf0a22
410 changed files with 2812 additions and 66933 deletions
@@ -6,41 +6,40 @@ namespace winrt::Windows::Xbox::System::implementation
{
hstring UserDisplayInfo::Gamertag()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [Gamertag] NOT IMPLEMENTED !!!!\n");
hstring gamertag = L"durangler" + m_gamertag;
Logger::NotImplemented( );
hstring gamertag = L"durangler" + m_gamertag;
return gamertag;
}
uint32_t UserDisplayInfo::GamerScore()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [GamerScore] NOT IMPLEMENTED !!!!\n");
return 0;
Logger::NotImplemented( );
Logger::NotImplemented(); return 0;
}
hstring UserDisplayInfo::ApplicationDisplayName()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [ApplicationDisplayName] NOT IMPLEMENTED !!!!\n");
Logger::NotImplemented( );
return winrt::to_hstring("WinDurango");
}
hstring UserDisplayInfo::GameDisplayName()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [GameDisplayName] NOT IMPLEMENTED !!!!\n");
Logger::NotImplemented( );
hstring gamertag = L"durangler" + m_gamertag;
return gamertag;
}
int32_t UserDisplayInfo::Reputation()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [Reputation] NOT IMPLEMENTED !!!!\n");
Logger::NotImplemented( );
return 1;
}
winrt::Windows::Xbox::System::UserAgeGroup UserDisplayInfo::AgeGroup()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [AgeGroup] NOT IMPLEMENTED !!!!\n");
Logger::NotImplemented( );
return UserAgeGroup::Unknown;
}
winrt::Windows::Foundation::Collections::IVectorView<uint32_t> UserDisplayInfo::Privileges()
{
printf("!!!!! Windows.Xbox.System.UserDisplayInfo [Privileges] NOT IMPLEMENTED !!!!\n");
Logger::NotImplemented( );
auto vector = winrt::single_threaded_vector<uint32_t>();
vector.Append(1);
return vector.GetView();