FlashpointProject / launcher

Launcher for Flashpoint Archive
https://flashpointarchive.org
Other
971 stars 55 forks source link

Problems with extension API Game events #377

Open n0samu opened 2 years ago

n0samu commented 2 years ago

Describe the bug (Note that all functions I reference are in back/game/GameManager.ts)

The launcher's extension API's Game and Playlist events have some bugs and inconsistencies:

Expected behavior Here's how I'd personally expect the API to work:

Additional context In the Playlist Backup extension that I'm developing, I would like to get an event whenever the user updates a playlist so I can save the updated playlist to the backup file. Some of my expectations are motivated by this.