#include "pch.h" #include "Microsoft.Xbox.Services.UserStatistics.UserStatisticsService.h" #include "Microsoft.Xbox.Services.UserStatistics.UserStatisticsService.g.cpp" namespace winrt::Microsoft::Xbox::Services::UserStatistics::implementation { winrt::event_token UserStatisticsService::StatisticChanged(winrt::Windows::Foundation::EventHandler const& __param0) { Logger::NotImplemented(); throw hresult_not_implemented(); } void UserStatisticsService::StatisticChanged(winrt::event_token const& __param0) noexcept { Logger::NotImplemented(); throw hresult_not_implemented(); } winrt::Windows::Foundation::IAsyncOperation UserStatisticsService::GetSingleUserStatisticsAsync(hstring xboxUserId, hstring serviceConfigurationId, hstring statisticName) { Logger::NotImplemented(); throw hresult_not_implemented(); } winrt::Windows::Foundation::IAsyncOperation UserStatisticsService::GetSingleUserStatisticsAsync(hstring xboxUserId, hstring serviceConfigurationId, winrt::Windows::Foundation::Collections::IVectorView statisticNames) { Logger::NotImplemented(); throw hresult_not_implemented(); } winrt::Windows::Foundation::IAsyncOperation> UserStatisticsService::GetMultipleUserStatisticsAsync(winrt::Windows::Foundation::Collections::IVectorView xboxUserIds, hstring serviceConfigurationId, winrt::Windows::Foundation::Collections::IVectorView statisticNames) { for (uint32_t i = 0; i < statisticNames.Size( ); i++) { Logger::Warning("[UserStatisticsService] GetMultipleUserStatisticsAsync [Statistic (%u)] [%ls]\n", i, statisticNames.GetAt(i).c_str( )); } co_return winrt::single_threaded_vector( ).GetView( ); } winrt::Windows::Foundation::IAsyncOperation> UserStatisticsService::GetMultipleUserStatisticsForMultipleServiceConfigurationsAsync(winrt::Windows::Foundation::Collections::IVectorView xboxUserIds, winrt::Windows::Foundation::Collections::IVectorView requestedServiceConfigurationStatisticsCollection) { Logger::NotImplemented(); throw hresult_not_implemented(); } winrt::Microsoft::Xbox::Services::UserStatistics::StatisticChangeSubscription UserStatisticsService::SubscribeToStatisticChange(hstring const& xboxUserId, hstring const& serviceConfigurationId, hstring const& statisticName) { Logger::NotImplemented(); throw hresult_not_implemented(); } void UserStatisticsService::UnsubscribeFromStatisticChange(winrt::Microsoft::Xbox::Services::UserStatistics::StatisticChangeSubscription const& subscription) { Logger::NotImplemented(); throw hresult_not_implemented(); } }