aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
diff options
context:
space:
mode:
authordaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
committerdaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
commitb691c43c44ff180d10e7d4a9afc83b98551ff586 (patch)
tree3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
parentdef8cb415354ac390b7e89052a50605285f1aca9 (diff)
Initial commit
Diffstat (limited to 'Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h')
-rw-r--r--Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h44
1 files changed, 44 insertions, 0 deletions
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