Would a GameClosing...
 
Notifications
Clear all

Would a GameClosing GameData class members be possible?

3 Posts
3 Users
0 Reactions
200 Views
 197e
(@197e)
Active Member
Joined: 8 months ago
Posts: 3
Topic starter  

Hi guys,

This is probably more a Wotever question...

An annoyance I'm facing while working on dashboards but more specifically on custom plugins is that while debugging, the only way I can reset the properties data is to restart the debugger, which mean to restart Simhub.

In the GameData class, since we have access to GameRunning, GamePaused, GameInMenu, GameReplay class members... would it not be possible to have a GameClosing member as well, which would reset the plugin properties data tp their default state?

 


   
Quote
(@suzume)
Active Member
Joined: 1 year ago
Posts: 8
 

You could add a `GameClosing` boolean member to the `GameData` class that gets set to `true` when the game is closing. This would allow Slope Game plugins to detect when the game is shutting down.


   
ReplyQuote
(@moisekean)
Active Member
Joined: 1 year ago
Posts: 14
 

Posted by: @197e

This is probably more a Wotever question...

An annoyance I'm facing while working on dashboards but more specifically on custom plugins is that while debugging, the only way I can reset the properties data is to restart the debugger, which mean to restart Simhub.

In the GameData class, since we have access to atf booru GameRunning, GamePaused, GameInMenu, GameReplay class members... would it not be possible to have a GameClosing member as well, which would reset the plugin properties data tp their default state?

Adding a GameClosing member to the GameData class could streamline the debugging process by resetting plugin properties without restarting Simhub. Raising this idea with the developer community could lead to more efficient troubleshooting during custom plugin development.

This post was modified 2 months ago by MoiseKean

   
ReplyQuote
Share: