the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 72 lines 2.7 kB view raw
1/******************************************************** 2* * 3* Copyright (C) Microsoft. All rights reserved. * 4* * 5********************************************************/ 6 7// Sentient Client UGC API - Backwards compat file for SenCulture removal 8// 9// Include this to get access to all UGC related backwards compatibility with the old SenCulture 10 11#pragma once 12 13#include "SenClientUGC.h" 14#include "SenClientCultureBackCompat_SenCore.h" 15 16 17namespace Sentient 18{ 19 /// @brief Retrieves a collection of feeds that are viewable by the 20 /// current user. 21 /// 22 /// @param[in] userIndex 23 /// The index of the initiating user on the console. 24 /// Note: This is NOT a XUID. 25 /// 26 /// @param[in] culture 27 /// This is the result of a call to SenCultureFind() or SenCultureGet*(). 28 /// You may also pass NULL to use the culture set with SenCultureSetCurrent(). 29 /// May be NULL for default culture. 30 /// 31 /// @param[in] maxResults 32 /// Used to indicate the number of items to be returned by @a out_feedInfo. 33 /// If the actual number of items exceeds this, you will receive an error. 34 /// 35 /// @param[out] out_feedInfo 36 /// Pointer to a collection of structures to fill with SenUGCFeedInfo data. 37 /// 38 /// @param[out] out_resultCount 39 /// The number of entries actually enumerated by the call. 40 /// 41 /// @param[in] userCallback 42 /// If this call returns a success code, 43 /// the userCallback will be called at the end of the 44 /// asynchronous process. 45 /// 46 /// @param[in] userCallbackData 47 /// Data to be passed to the @a userCallback on completion. 48 /// 49 /// @return Check SUCCEEDED( hresult ) or FAILED( hresult ) to determine success. 50 /// Specific values include: 51 /// E_POINTER: out_feedInfo or out_resultCount are null. 52 /// 53 /// @details <Insert detailed method documentation> 54 /// 55 /// @related SenUGCGetFeed() 56 /// 57 /// @deprecated Use SenUGCEnumerateFeeds() without SenCulture 58 /// 59 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 60 __inline HRESULT SenUGCEnumerateFeeds( 61 int userIndex, 62 const SenCultureInfo *culture, 63 size_t maxResults, 64 SenUGCFeedInfo *out_feedInfo, 65 size_t *out_resultCount, 66 SenSysCompletedCallback userCallback, 67 void *userCallbackData) 68 { 69 return SenUGCEnumerateFeeds(userIndex, maxResults, out_feedInfo, out_resultCount, userCallback, userCallbackData); 70 } 71 72} // namespace Sentient