버전

menu_open
Wwise SDK 2021.1.14
AK.Wwise::Plugin::V1::CustomData Class Reference

Backend API to load and save custom data in XML format. More...

#include <CustomData.h>

Inheritance diagram for AK.Wwise::Plugin::V1::CustomData:
ak_wwise_plugin_custom_data_instance_v1 AK.Wwise::Plugin::RequestedHostInterface< XmlReader > ak_wwise_plugin_cpp_base_instance AK.Wwise::Plugin::HostInterfaceGlue< XmlReader, false > ak_wwise_plugin_instance_ptr ak_wwise_plugin_cpp_base_instance

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...
 
- Public Types inherited from AK.Wwise::Plugin::RequestedHostInterface< XmlReader >
using  HostInterfaceDefinition = HostInterfaceGlue< XmlReader, false >
 
- Public Types inherited from AK.Wwise::Plugin::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...
 
- Public Member Functions inherited from ak_wwise_plugin_cpp_base_instance
virtual  ~ak_wwise_plugin_cpp_base_instance ()
 
- Public Member Functions inherited from AK.Wwise::Plugin::RequestedHostInterface< XmlReader >
  RequestedHostInterface ()
 

Additional Inherited Members

- Public Attributes inherited from AK.Wwise::Plugin::RequestedHostInterface< XmlReader >
XmlReader ::Interface &  g_xmlTextReaderInterface = HostInterfaceDefinition::g_cppinterface
 
- Static Public Attributes inherited from AK.Wwise::Plugin::HostInterfaceGlue< XmlReader, false >
static GluedInterface  g_cppinterface
  The unique interface for this plug-in interface. More...
 

Detailed Description

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:

  • InitToDefault : Initializes a new instance using the default values
  • InitFromInstance : Initializes a new instance using the values provided by the original instance.
  • InitFromWorkunit : Initializes a new instance using the values provided in the Save method.
Note: AK::Wwise::Plugin::The RequestXml class is automatically derived when providing CustomData in C++.

Definition at line 195 of file CustomData.h.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요