Sunday, July 17, 2016

FMod - Extension interaction

In addition to last week's changes to Abiathar's standard tools, I have also been making some small expansions to allow for interaction between extensions. First, though, I added a field to the extension metadata class to let extensions declare a long description for use in the extension information dialog separate from the short description that appears in crash reports.

I also added to that class a field for a delegate to return information ("measurements") that the extension exposes. No extensions currently support anything like that - since it's new - but it could be helpful if people use it. There's a new function on IAbiatharState that retrieves the extension object corresponding to an extension's name, or null of that extension is not present.

These features will be helpful in developing an extension that I have an idea for.

No comments:

Post a Comment