From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- .../Include/SenClientCultureBackCompat_SenBoxArt.h | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h (limited to 'Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h') diff --git a/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h b/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h new file mode 100644 index 00000000..050d86bf --- /dev/null +++ b/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h @@ -0,0 +1,44 @@ +#pragma once + +#include "SenClientBoxArt.h" +#include "SenClientCultureBackCompat_SenCore.h" + +namespace Sentient +{ +#pragma warning(disable:4996) + + __declspec(deprecated("This function is deprecated. See the function body for an example of using the new API.")) + __inline HRESULT SenBoxArtDownloadExtraInfo( + const SenBoxArtInfo &boxArtInfo, + const SenCultureInfo *culture, + SenBoxArtExtraInfo *out_boxArtExtraInfo, + SenHandle *out_senHandle, + SenSysCompletedCallback userCallback, void *userCallbackData ) + { + return SenBoxArtDownloadExtraInfo(boxArtInfo, out_boxArtExtraInfo, out_senHandle, userCallback, userCallbackData); + } + + __declspec(deprecated("This function is deprecated, use SenBoxArtDownloadExtraInfo instead")) + __inline HRESULT SenBoxArtXMLGetTitle( + const SenXML &senXML, + const SenCultureInfo *culture, + size_t bufferLengthMax, + size_t *out_bufferLength, + wchar_t *out_buffer ) + { + return SenBoxArtXMLGetTitle(senXML, bufferLengthMax, out_bufferLength, out_buffer); + } + + __declspec(deprecated("This function is deprecated, use SenBoxArtDownloadExtraInfo instead")) + __inline HRESULT SenBoxArtXMLGetDescription( + const SenXML &senXML, + const SenCultureInfo *culture, + size_t bufferLengthMax, + size_t *out_bufferLength, + wchar_t *out_buffer ) + { + return SenBoxArtXMLGetDescription(senXML, bufferLengthMax, out_bufferLength, out_buffer); + } + +#pragma warning(default:4996) +} \ No newline at end of file -- cgit v1.2.3