the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 101 lines 3.4 kB view raw
1#pragma once 2 3#include "SenClientCultureBackCompat_SenCore.h" 4#include "SenClientFame.h" 5#include "SenClientAvatar.h" 6 7namespace Sentient 8{ 9 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 10 __inline HRESULT SenGetAwardMessage( 11 int userIndex, 12 const SenCultureInfo *culture, 13 SenAwardMessageData *out_awardData ) 14 { 15 return SenGetAwardMessage(userIndex, out_awardData); 16 } 17 18 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 19 __inline HRESULT SenGetVIPLevelName( 20 const SenCultureInfo *culture, 21 unsigned int vipLevel, 22 size_t maxNameLength, 23 wchar_t *out_name) 24 { 25 return SenGetVIPLevelName(vipLevel, maxNameLength, out_name); 26 } 27 28 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 29 __inline HRESULT SenGetFameDisplayData( 30 int userIndex, 31 const SenCultureInfo *culture, 32 size_t startIndex, 33 size_t maxDisplayDataCount, 34 size_t *out_dataCount, 35 SenFameDisplayData *out_displayData ) 36 { 37 return SenGetFameDisplayData(userIndex, startIndex, maxDisplayDataCount, out_dataCount, out_displayData); 38 } 39 40 41 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 42 __inline HRESULT SenAvatarDownloadExtraInfo( 43 const SenAvatarInfo &avatarInfo, 44 bool male, 45 const SenCultureInfo *culture, 46 SenAvatarExtraInfo *out_avatarExtraInfo, 47 SenSysCompletedCallback userCallback, void *userCallbackData ) 48 { 49 return SenAvatarDownloadExtraInfo( 50 avatarInfo, 51 male, 52 culture, 53 out_avatarExtraInfo, 54 userCallback, userCallbackData ); 55 } 56 57 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 58 __inline HRESULT SenAvatarXMLGetTitle( 59 const SenXML &senXML, 60 const SenCultureInfo *culture, // optional 61 size_t bufferLengthMax, 62 size_t *out_bufferLength, // optional 63 wchar_t *out_buffer ) 64 { 65 return SenAvatarXMLGetTitle(senXML, bufferLengthMax, out_bufferLength, out_buffer); 66 } 67 68 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 69 __inline HRESULT SenAvatarXMLGetName( 70 const SenXML &senXML, 71 const SenCultureInfo *culture, 72 size_t bufferLengthMax, 73 size_t *out_bufferLength, // optional 74 wchar_t *out_buffer ) 75 { 76 return SenAvatarXMLGetName(senXML, bufferLengthMax, out_bufferLength, out_buffer); 77 } 78 79 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 80 __inline HRESULT SenAvatarXMLGetDescription( 81 const SenXML &senXML, 82 const SenCultureInfo *culture, // optional 83 size_t bufferLengthMax, 84 size_t *out_bufferLength, // optional 85 wchar_t *out_buffer ) 86 { 87 return SenAvatarXMLGetDescription(senXML, bufferLengthMax, out_bufferLength, out_buffer); 88 } 89 90 __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) 91 __inline HRESULT SenAvatarXMLGetPaletteName( 92 const SenXML &senXML, 93 int paletteIndex, 94 const SenCultureInfo *culture, // optional 95 size_t bufferLengthMax, 96 size_t *out_bufferLength, // optional 97 wchar_t *out_buffer ) 98 { 99 return SenAvatarXMLGetPaletteName(senXML, paletteIndex, bufferLengthMax, out_bufferLength, out_buffer); 100 } 101}