Skip to main content

WT21 FMC Plugins

Introduction

WT21 FMC plugins allow you to extend the FMC, either through adding new pages, adding to existing pages or overwriting existing pages. FMC plugins must implement the WT21FmcAvionicsPlugin interface.

Importing Libraries

FMC plugins can import and use code from the following framework libraries:

  • @microsoft/msfs-sdk
  • @microsoft/msfs-wt21-shared
  • @microsoft/msfs-wt21-fmc

When building your plugin, you should configure your build tools to consume the above libraries as global externals.

Binder

In addition to the references passed to all WT21 plugins, FMC plugins are given the following additional references through binder:

  • The aircraft FMS object

Extending FMC functionality

To extend the displayed FMC functionality you should make use of the registerFmcExtensions(context) function. This function provides a context parameter of type FmcScreenPluginContext<WT21FmcPage, WT21FmcEvents> which can be used to extend the FMC framework.

For more information on using plugins with the FMC framework, see this page