get mcc further

This commit is contained in:
Serenity
2025-06-02 21:13:14 -04:00
parent 32486afe00
commit 85374aa210
14 changed files with 236 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.GamePlayer.h"
#include "Windows.Xbox.Multiplayer.GamePlayer.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
hstring GamePlayer::XboxUserId()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
winrt::Windows::Foundation::DateTime GamePlayer::LastInvitedTime()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
winrt::Windows::Foundation::DateTime GamePlayer::PartyJoinTime()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Windows.Xbox.Multiplayer.GamePlayer.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct GamePlayer : GamePlayerT<GamePlayer>
{
GamePlayer() = default;
hstring XboxUserId();
winrt::Windows::Foundation::DateTime LastInvitedTime();
winrt::Windows::Foundation::DateTime PartyJoinTime();
};
}

View File

@@ -0,0 +1,11 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.h"
#include "Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayer> GamePlayerDeviceGroup::Players()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,12 @@
#pragma once
#include "Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct GamePlayerDeviceGroup : GamePlayerDeviceGroupT<GamePlayerDeviceGroup>
{
GamePlayerDeviceGroup() = default;
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayer> Players();
};
}

View File

@@ -0,0 +1,19 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.h"
#include "Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference GamePlayersChangedEventArgs::GameSession()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayer> GamePlayersChangedEventArgs::AvailablePlayers()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayerDeviceGroup> GamePlayersChangedEventArgs::AvailablePlayersGroupedByDevice()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct GamePlayersChangedEventArgs : GamePlayersChangedEventArgsT<GamePlayersChangedEventArgs>
{
GamePlayersChangedEventArgs() = default;
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference GameSession();
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayer> AvailablePlayers();
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Multiplayer::GamePlayerDeviceGroup> AvailablePlayersGroupedByDevice();
};
}

View File

@@ -0,0 +1,11 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.h"
#include "Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference GameSessionReadyEventArgs::GameSession()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,12 @@
#pragma once
#include "Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct GameSessionReadyEventArgs : GameSessionReadyEventArgsT<GameSessionReadyEventArgs>
{
GameSessionReadyEventArgs() = default;
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference GameSession();
};
}

View File

@@ -0,0 +1,15 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.h"
#include "Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference MatchStatusChangedEventArgs::MatchSession()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Multiplayer::MatchStatus MatchStatusChangedEventArgs::MatchStatus()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,13 @@
#pragma once
#include "Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct MatchStatusChangedEventArgs : MatchStatusChangedEventArgsT<MatchStatusChangedEventArgs>
{
MatchStatusChangedEventArgs() = default;
winrt::Windows::Xbox::Multiplayer::MultiplayerSessionReference MatchSession();
winrt::Windows::Xbox::Multiplayer::MatchStatus MatchStatus();
};
}

View File

@@ -0,0 +1,23 @@
#include "pch.h"
#include "Windows.Xbox.Multiplayer.MultiplayerSessionReference.h"
#include "Windows.Xbox.Multiplayer.MultiplayerSessionReference.g.cpp"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
MultiplayerSessionReference::MultiplayerSessionReference(hstring const& sessionName, hstring const& serviceConfigurationId, hstring const& sessionTemplateName)
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
hstring MultiplayerSessionReference::SessionName()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
hstring MultiplayerSessionReference::ServiceConfigurationId()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
hstring MultiplayerSessionReference::SessionTemplateName()
{
printf("%s called\n", __FUNCTION__); throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,21 @@
#pragma once
#include "Windows.Xbox.Multiplayer.MultiplayerSessionReference.g.h"
namespace winrt::Windows::Xbox::Multiplayer::implementation
{
struct MultiplayerSessionReference : MultiplayerSessionReferenceT<MultiplayerSessionReference>
{
MultiplayerSessionReference() = default;
MultiplayerSessionReference(hstring const& sessionName, hstring const& serviceConfigurationId, hstring const& sessionTemplateName);
hstring SessionName();
hstring ServiceConfigurationId();
hstring SessionTemplateName();
};
}
namespace winrt::Windows::Xbox::Multiplayer::factory_implementation
{
struct MultiplayerSessionReference : MultiplayerSessionReferenceT<MultiplayerSessionReference, implementation::MultiplayerSessionReference>
{
};
}

View File

@@ -468,6 +468,12 @@
<ClInclude Include="Implementation\Windows.Xbox.Media.GameTransportControlsPropertyChangedEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Media.SmoothStreamingSessionManager.h" />
<ClInclude Include="Implementation\Windows.Xbox.Media.SystemMediaTransportControls.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayer.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.MultiplayerSessionReference.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.Party.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.PartyChat.h" />
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.PartyChatMember.h" />
@@ -880,6 +886,12 @@
<ClCompile Include="Implementation\Windows.Xbox.Media.GameTransportControlsPropertyChangedEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Media.SmoothStreamingSessionManager.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Media.SystemMediaTransportControls.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayer.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.MultiplayerSessionReference.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.Party.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.PartyChat.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.PartyChatMember.cpp" />
@@ -1013,6 +1025,7 @@
<Midl Include="External\Windows.Xbox.Management.idl" />
<Midl Include="External\Windows.Xbox.Media.GameTransportControls.idl" />
<Midl Include="External\Windows.Xbox.Media.idl" />
<Midl Include="External\Windows.Xbox.Multiplayer.idl" />
<Midl Include="External\Windows.Xbox.Networking.idl" />
<Midl Include="External\Windows.Xbox.Services.idl" />
<Midl Include="External\Windows.Xbox.Shell.idl" />

View File

@@ -1333,6 +1333,24 @@
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.UserPartyAssociation.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayer.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.Multiplayer.MultiplayerSessionReference.cpp">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Implementation\Microsoft.Xbox.GameChat.TextMessageReceivedEventArgs.h">
@@ -2504,6 +2522,24 @@
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.UserPartyAssociation.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayer.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayerDeviceGroup.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GamePlayersChangedEventArgs.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.GameSessionReadyEventArgs.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.MatchStatusChangedEventArgs.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.Multiplayer.MultiplayerSessionReference.h">
<Filter>Implementation\Windows\Xbox\Multiplayer</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="winrt_x.def" />
@@ -2647,6 +2683,9 @@
<Midl Include="External\Windows.Xbox.SmartGlass.idl">
<Filter>External</Filter>
</Midl>
<Midl Include="External\Windows.Xbox.Multiplayer.idl">
<Filter>External</Filter>
</Midl>
</ItemGroup>
<ItemGroup>
<Natvis Include="imgui\misc\debuggers\imgui.natvis">