[XAM/UI] - XamShowMarketplaceUI Improvements

- Replacing magic numbers
- Replacing unknown parameters
- Adding more xnotification ids
This commit is contained in:
The-Little-Wolf
2025-06-13 11:37:58 -07:00
committed by Radosław Gliński
parent 1d7973aea5
commit f65f044ee5
2 changed files with 41 additions and 27 deletions

View File

@@ -324,10 +324,16 @@ enum : XNotificationID {
kXNotificationLiveConnectionChanged = 0x02000001,
kXNotificationLiveInviteAccepted = 0x02000002,
kXNotificationLiveLinkStateChanged = 0x02000003,
kXNotificationLiveInvitedRecieved = 0x02000004,
kXNotificationLiveInvitedAnswerRecieved = 0x02000005,
kXNotificationLiveMessageListChanged = 0x02000006,
kXNotificationLiveContentInstalled = 0x02000007,
kXNotificationLiveMembershipPurchased = 0x02000008,
kXNotificationLiveVoicechatAway = 0x02000009,
kXNotificationLivePresenceChanged = 0x0200000A,
kXNotificationLivePointsBalanceChanged = 0x0200000B,
kXNotificationLivePlayerListChanged = 0x0200000C,
kXNotificationLiveItemPurchased = 0x0200000D,
// XNotification Friends
kXNotificationFriendsPresenceChanged = 0x04000001,
@@ -690,6 +696,17 @@ inline const std::map<XContentType, std::string> XContentTypeMap = {
{XContentType::kCommunityGame, "Community Game"},
};
enum class X_MARKETPLACE_OFFERING_TYPE : uint32_t {
Content = 0x00000002,
GameDemo = 0x00000020,
GameTrailer = 0x00000040,
Theme = 0x00000080,
Tile = 0x00000800,
Arcade = 0x00002000,
Video = 0x00004000,
Consumable = 0x00010000,
};
enum X_MARKETPLACE_ENTRYPOINT : uint32_t {
ContentList = 0,
ContentItem = 1,
@@ -703,6 +720,11 @@ enum X_MARKETPLACE_ENTRYPOINT : uint32_t {
ActiveDownloads = 12
};
enum X_MARKETPLACE_DOWNLOAD_ITEMS_ENTRYPOINTS : uint32_t {
FREEITEMS = 1000,
PAIDITEMS,
};
enum class XDeploymentType : uint32_t {
kOpticalDisc = 0,
kInstalledToHDD = 1, // Like extracted?