Wwise SDK 2024.1.5
|
Backend API to load and save custom data in XML format. More...
#include <CustomData.h>
Classes | |
struct | Interface |
Public Types | |
enum | : InterfaceTypeValue { k_interfaceType = AK_WWISE_PLUGIN_INTERFACE_TYPE_CUSTOM_DATA } |
The interface type, as provided by this plug-in. More... | |
enum | : InterfaceVersion { k_interfaceVersion = 1 } |
The interface version, as provided by this plug-in. More... | |
using | Instance = CCustomData::Instance |
Base instance type for providing custom data loading and saving. More... | |
![]() | |
using | HostInterfaceDefinition = HostInterfaceGlue< XmlReader, false > |
![]() | |
enum | |
enum | |
using | GluedInterface = typename CPPInstance::GluedInterface |
using | Instance = XmlReader |
using | CInstance = typename CPPInstance::Instance |
Public Member Functions | |
InterfacePtr | GetInterfacePointer () |
The C interface, fulfilled by your plug-in. More... | |
CCustomData::Instance * | GetInstancePointer () |
const CCustomData::Instance * | GetInstancePointer () const |
CustomData () | |
virtual | ~CustomData () |
virtual void | InitToDefault () |
Initializes the plug-in's custom data to its default values. More... | |
virtual bool | InitFromInstance (const CustomData &in_source) |
Copy the plug-in's custom data from another instance of the same plug-in. More... | |
virtual bool | InitFromWorkunit (XmlReader &in_reader) |
Load the custom data structure from the provided Work Unit's XML. More... | |
virtual bool | Save (XmlWriter &in_writer) |
Save custom data structure in the provided XML. More... | |
virtual void | OnDelete () |
OnDelete function is called when the user presses the "delete" button on a plug-in. More... | |
virtual bool | GetPluginData (const GUID &in_guidPlatform, AkPluginParamID in_idParam, DataWriter &in_dataWriter) const |
Obtains parameters that will be sent to the sound engine when Wwise is connected. More... | |
![]() | |
virtual | ~ak_wwise_plugin_cpp_base_instance () |
![]() | |
RequestedHostInterface () | |
Additional Inherited Members | |
![]() | |
XmlReader ::Interface & | g_xmlTextReaderInterface = HostInterfaceDefinition::g_cppinterface |
![]() | |
static GluedInterface | g_cppinterface |
The unique interface for this plug-in interface. More... | |
Backend API to load and save custom data in XML format.
The initialization of custom-data-aware plug-ins is done using one of three mutually exclusive possibilities:
![]() | Note: AK::Wwise::Plugin::The RequestXml class is automatically derived when providing CustomData in C++. |
Definition at line 194 of file CustomData.h.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise