Add SimConnect_SubscribeToSystemEvent handling #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds SimConnect_SubscribeToSystemEvent handling to the SimConnectClient
Usage example:
Changes Made
Additional Information
Some background on why I've implemented this:
I am a developer for a Virtual airline and have started using your library during my refactoring away from FSUIPC for Sim communication, we check for when a user has paused their sims to various actions. While implementing the new code I've noticed the only way to reliably check the pause state on MSFS is to use these Simconnect System Events. Which wasn't supported from what I could see so I decided to make a small PR to add the implementation.
Let me know if anything needs changing or if there is any points you would like to discuss.
Author Information
Discord Username: eoz.dll
Checklist: