版本
menu

Wwise SDK 2025.1.0
ak_wwise_plugin_host_v2结构体 参考

API to request host's current state and services. 更多...

#include <Host.h>

类 ak_wwise_plugin_host_v2 继承关系图:
ak_wwise_plugin_host_v1 ak_wwise_plugin_interface_ptr

Public 类型

using Instance = ak_wwise_plugin_host_instance_v2
 Base host-provided instance type. 更多...
 
- Public 类型 继承自 ak_wwise_plugin_host_v1
using Instance = ak_wwise_plugin_host_instance_v1
 Base host-provided instance type. 更多...
 

Public 成员函数

 ak_wwise_plugin_host_v2 ()
 
- Public 成员函数 继承自 ak_wwise_plugin_host_v1
 ak_wwise_plugin_host_v1 (int in_version=1)
 
- Public 成员函数 继承自 ak_wwise_plugin_interface_ptr
constexpr ak_wwise_plugin_base_interface (decltype(m_interface) in_interface, decltype(m_version) in_version)
 
constexpr ak_wwise_plugin_base_interface ()
 
constexpr ak_wwise_plugin_base_interface (std::underlying_type< decltype(m_interface)>::type in_interface, decltype(m_version) in_version)
 

Public 属性

AK::Wwise::Plugin::LicenseID(* GetProjectLicenseID )(const struct ak_wwise_plugin_host_v2 *in_this)
 Obtain the project license ID 更多...
 
- Public 属性 继承自 ak_wwise_plugin_host_v1
GUID(* GetCurrentPlatform )(const struct ak_wwise_plugin_host_v1 *in_this)
 Retrieves the current platform identifier. 更多...
 
BasePlatformID(* GetCurrentBasePlatform )(const struct ak_wwise_plugin_host_v1 *in_this)
 Retrieves the current base platform identifier. 更多...
 
BasePlatformID(* GetDefaultNativeAuthoringPlaybackPlatform )(const struct ak_wwise_plugin_host_v1 *in_this)
 Retrieves the requested playback base platform of the Authoring tool. 更多...
 
GUID(* GetAuthoringPlaybackPlatform )(const struct ak_wwise_plugin_host_v1 *in_this)
 Retrieves the requested playback platform of the Authoring tool. 更多...
 
void(* NotifyInternalDataChanged )(struct ak_wwise_plugin_host_instance_v1 *in_this, AkPluginParamID in_idData, bool in_bMakeProjectDirty)
 Use this function to tell Wwise that something other than properties has changed within the plug-in. 更多...
 
void(* GetLicenseStatus )(const struct ak_wwise_plugin_host_instance_v1 *in_this, const GUID *in_guidPlatform, AK::Wwise::Plugin::LicenseType *out_eType, AK::Wwise::Plugin::LicenseStatus *out_eStatus, uint32_t *out_uDaysToExpiry)
 Obtain licensing status for the plug-in. 更多...
 
void(* GetAssetLicenseStatus )(const struct ak_wwise_plugin_host_instance_v1 *in_this, const GUID *in_guidPlatform, AkUInt32 in_uAssetID, AK::Wwise::Plugin::LicenseType *out_eType, AK::Wwise::Plugin::LicenseStatus *out_eStatus, uint32_t *out_uDaysToExpiry)
 Obtain licensing status for a plug-in-specific asset ID. 更多...
 
void(* WaapiCall )(const struct ak_wwise_plugin_host_v1 *in_this, const char *in_szUri, const char *in_szArgs, const char *in_szOptions, AK::IAkPluginMemAlloc *in_pAlloc, char **out_szResults, char **out_szError)
 Find and call the specified procedure. 更多...
 
- Public 属性 继承自 ak_wwise_plugin_interface_ptr
ak_wwise_plugin_interface_type m_interface: 32
 Interface type (see ak_wwise_plugin_interface_type) 更多...
 
uint32_t m_version: 32
 Version of the interface 更多...
 

详细描述

API to request host's current state and services.

If requested, this contains information on the current state of the host as well as generic operations.

For example, the currently selected platform, tools to post when internal plug-in data changed, or a way to make Waapi calls.

In order to be reactive to host's state, you should consider implementing ak_wwise_plugin_notifications_host_v1 notifications.

在文件 Host.h49 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅