バージョン

menu_open
virtual bool AK::Wwise::IWriteData::WritePascalString ( LPCWSTR  in_szString,
UINT32  in_uiStringLength  
) [pure virtual]

Writes a single-byte character string which does not need to be null-terminated. Strings are limited to 256 characters, and are stored as described below. Your run-time plug-in receives a blob of data (AK::IAkPluginParam::Init() and AK::IAkPluginParam::SetParamsBlock()) which you need to interpret.

  • BYTE: size_of_string
  • char[]: array_of_characters.
Note.gif
Note: "String" properties (as defined in the plugin's XML Description File - refer to Wwiseプラグイン XML 記述ファイル for more details) are utf-16 encoded. While you are free to store this string in soundbanks as as an ansi string, AK::IAkPluginParam::SetParam() will be passed an utf-16 string when you connect the authoring tool to the sound engine. Thus, WriteUtf16String() is the preferred method for sending strings to a plug-in.
戻り値:
True if successful, False otherwise
引数:
in_szString  The string to be written; conversion is made internally
in_uiStringLength  The string length, in number of characters

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう