You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defget_inclusions(self, sound_bank: GUID|Name|ProjectPath) ->tuple[str, str]:
""" https://www.audiokinetic.com/library/edge/?source=SDK&id=ak_wwise_core_soundbank_getinclusions.html \n Retrieves a SoundBank's inclusion list. :param sound_bank: The GUID, name, or project path of the SoundBank to get inclusions from. :return: An array of SoundBank inclusions. """
The return type is hinted as tuple[str, str], but in fact it returns tuple[str, list[str, list[str]]]. From the Audiokinetic documentation, the return data is:
Name
Type
Description
inclusions
array
An array of inclusions.
inclusions [...]
object
A SoundBank inclusion.
inclusions[...].object *
string
The ID (GUID) of the object to add to / remove from the SoundBank's inclusion list.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
inclusions[...].filter *
array
Specifies what relations are being included.
inclusions[...].filter [...]
string
Specifies one of the inclusion types. Possible values:
events
structures
media
It would make sense to have a dataclass called `InclusionEntry` (or similar), then have the return type as `tuple[GUID, InclusionEntry]`.
The text was updated successfully, but these errors were encountered:
The function works, but the return type is wrong:
The return type is hinted as
tuple[str, str]
, but in fact it returnstuple[str, list[str, list[str]]]
. From the Audiokinetic documentation, the return data is:An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
The text was updated successfully, but these errors were encountered: