版本

menu_open
Wwise SDK 2022.1.13

◆ ReadElementString

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

Reads simple text-only elements, and increments the pointer.

Since strings can span multiple content elements, this method will read all the sequential string-like elements and append them, returning one simple string. This function also works with empty nodes and multiple lines.

If no processing or incrementing is warranted, Read, MoveToContent and GetValue should be used instead.

This method goes past the ending element node, or the equivalent of calling Read once more.

备注: The string is available until the next Host operation. If storing is required, a copy should be made at the earliest convenience.
参数
[in]in_thisCurrent reader instance of this interface.
返回
The string of the current nodes, an empty string if the value is empty. The buffer is owned by Authoring and is valid until the next API call.

在文件 HostXml.h311 行定义.

被这些函数引用 AK.Wwise::Plugin::V1::XmlReader::ReadElementString().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅