Version

menu_open
Wwise SDK 2021.1.14

◆ GetValue

const char*(* ak_wwise_plugin_host_xml_v1::GetValue) (const struct ak_wwise_plugin_host_xml_reader_instance_v1 *in_this)

Returns the value of the current node being read.

This returns the textual representation of the current node's value. What the XML parser considers to be a value might not be what is expected, as the final text could be comprised of multiple values.

For example, this Item node has three content elements: <Item>1&number;3</Item>

For normal string retrieval, the ReadElementString will actually return the value of an XML with proper parsing applied.

Note: The string is available until the next Host operation. If storing is required, a copy should be made at the earliest convenience.
Parameters
[in] in_this Current reader instance of this interface.
Returns
The value of the current node, an empty string if the value is empty. The buffer is owned by Authoring and is valid until the next API call.

Definition at line 213 of file HostXml.h.

Referenced by AK.Wwise::Plugin::V1::XmlReader::GetValue().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise