Sunday, July 9, 2017

Abiathar API - Other event bus stops

There are three Abiathar event bus stops not previous covered in this API series.

AbiatharPlaneStateChangeEvent is sent when the user changes the state of a plane (e.g. from Active to Hidden). It includes the ID of the affected plane and the new plane state.

AbiatharSelTileChangeEvent is sent when the selected tile for a plane changes. This includes only the ID of the affected plane. You can get the new selected tile from the SelTiles array on the state manager.

AbiatharPatchGenerationEvent is sent when the auto-generated section of the patches is being written. To add patches, call AddLine for every line. Do not include the starting and ending commands; Abiathar handles these for you.

No comments:

Post a Comment