Accessing new classes etc from Plugins

Godot 4.4.dev3.mono

Hey folks, I’m getting back into C# after an age away and am currently trying to write a mod-player for Godot using a precompiled .dll addon. The addon allows a new type of AudioStream type: AudioStreamMPT.

As such, I’m trying to get my MusicManagerAudioStreamPlayer script to load an asset that is now allowed by this plugin at runtime rather than click-dragging one into the AudioStreamPlayer in the editor.

However, my script has no idea what an AudioStreamMPT is, despite the player being able to play one!

Like I say, I’ve not touched C# for years, so I presume there’s some ‘using’ declarations I should be looking into.

Can someone point me in the right direction?

Thanks in advance.

Dene