mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-04-28 13:29:41 -05:00
ea9a2facc0
This commit standardizes the logging mechanism by replacing calls to `Logger::NotImplemented()` with the new `LOG_NOTIMPLEMENTED()` macro across multiple files in the Microsoft Xbox Services and Kinect libraries. Function names in the debug logging macros have been updated to reflect the new naming conventions, changing `ExtractProjectName` to `RetrieveProjectName` and `ExtractFunctionName` to `RetrieveFunctionName`. Additionally, the `Logger` class has been enhanced to include structured logging capabilities with various log levels and context information for better traceability. New properties and methods have been introduced in several classes, while many implementations still remain to be completed. Overall, these changes improve maintainability and consistency in the logging framework across the Xbox development environment.
57 lines
2.7 KiB
C++
57 lines
2.7 KiB
C++
#include "pch.h"
|
|
#include "Microsoft.Xbox.Services.Multiplayer.Manager.MultiplayerGameSession.h"
|
|
#include "Microsoft.Xbox.Services.Multiplayer.Manager.MultiplayerGameSession.g.cpp"
|
|
|
|
|
|
namespace winrt::Microsoft::Xbox::Services::Multiplayer::Manager::implementation
|
|
{
|
|
hstring MultiplayerGameSession::CorrelationId()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Microsoft::Xbox::Services::Multiplayer::MultiplayerSessionReference MultiplayerGameSession::SessionReference()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Foundation::Collections::IVectorView<winrt::Microsoft::Xbox::Services::Multiplayer::Manager::MultiplayerMember> MultiplayerGameSession::Members()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Microsoft::Xbox::Services::Multiplayer::Manager::MultiplayerMember MultiplayerGameSession::Host()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
hstring MultiplayerGameSession::Properties()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Microsoft::Xbox::Services::Multiplayer::MultiplayerSessionConstants MultiplayerGameSession::SessionConstants()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Microsoft::Xbox::Services::Multiplayer::MultiplayerSessionReference> MultiplayerGameSession::TournamentTeams()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Microsoft::Xbox::Services::Tournaments::TournamentTeamResult> MultiplayerGameSession::TournamentTeamResults()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
bool MultiplayerGameSession::IsHost(hstring const& xboxUserId)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void MultiplayerGameSession::SetProperties(hstring const& name, hstring const& valueJson, winrt::Windows::Foundation::IInspectable const& context)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void MultiplayerGameSession::SetSynchronizedProperties(hstring const& name, hstring const& valueJson, winrt::Windows::Foundation::IInspectable const& context)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void MultiplayerGameSession::SetSynchronizedHost(winrt::Microsoft::Xbox::Services::Multiplayer::Manager::MultiplayerMember const& gameHost, winrt::Windows::Foundation::IInspectable const& context)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
}
|