aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenSuperstars.h
blob: 31e1eff49341b189d343668489387cbb77ef5674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#pragma once

#include "SenClientCultureBackCompat_SenCore.h"
#include "SenClientFame.h"
#include "SenClientAvatar.h"

namespace Sentient
{
	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenGetAwardMessage(
		int userIndex, 
		const SenCultureInfo *culture,
		SenAwardMessageData *out_awardData )
	{
		return SenGetAwardMessage(userIndex, out_awardData);
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenGetVIPLevelName(
		const SenCultureInfo *culture,
		unsigned int vipLevel,
		size_t maxNameLength,
		wchar_t *out_name)
	{
		return SenGetVIPLevelName(vipLevel, maxNameLength, out_name);
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenGetFameDisplayData(
		int userIndex, 
		const SenCultureInfo *culture,
		size_t startIndex, 
		size_t maxDisplayDataCount, 
		size_t *out_dataCount, 
		SenFameDisplayData *out_displayData )
	{
		return SenGetFameDisplayData(userIndex, startIndex, maxDisplayDataCount, out_dataCount, out_displayData);
	}


	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenAvatarDownloadExtraInfo(
		const SenAvatarInfo &avatarInfo,
		bool male,
		const SenCultureInfo *culture,
		SenAvatarExtraInfo *out_avatarExtraInfo,
		SenSysCompletedCallback userCallback, void *userCallbackData )
	{
		return SenAvatarDownloadExtraInfo(
			avatarInfo,
			male,
			culture,
			out_avatarExtraInfo,
			userCallback, userCallbackData );
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenAvatarXMLGetTitle(
		const SenXML &senXML,
		const SenCultureInfo *culture, // optional
		size_t bufferLengthMax,
		size_t *out_bufferLength,  // optional
		wchar_t *out_buffer )
	{
		return SenAvatarXMLGetTitle(senXML, bufferLengthMax, out_bufferLength, out_buffer);
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenAvatarXMLGetName(
		const SenXML &senXML,
		const SenCultureInfo *culture,
		size_t bufferLengthMax,
		size_t *out_bufferLength,  // optional
		wchar_t *out_buffer )
	{
		return SenAvatarXMLGetName(senXML, bufferLengthMax, out_bufferLength, out_buffer);
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenAvatarXMLGetDescription(
		const SenXML &senXML,
		const SenCultureInfo *culture, // optional
		size_t bufferLengthMax,
		size_t *out_bufferLength,  // optional
		wchar_t *out_buffer )
	{
		return SenAvatarXMLGetDescription(senXML, bufferLengthMax, out_bufferLength, out_buffer);
	}

	__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))   
	__inline HRESULT SenAvatarXMLGetPaletteName(
		const SenXML &senXML,
		int paletteIndex,
		const SenCultureInfo *culture, // optional
		size_t bufferLengthMax,
		size_t *out_bufferLength,  // optional
		wchar_t *out_buffer )
	{
		return SenAvatarXMLGetPaletteName(senXML, paletteIndex, bufferLengthMax, out_bufferLength, out_buffer);
	}
}