Skip to content

Session Settings View Model Refactor#601

Merged
Bishbash777 merged 1 commit intoTorchAPI:masterfrom
WesternSpace:master
May 11, 2025
Merged

Session Settings View Model Refactor#601
Bishbash777 merged 1 commit intoTorchAPI:masterfrom
WesternSpace:master

Conversation

@WesternSpace
Copy link
Copy Markdown
Contributor

@WesternSpace WesternSpace commented May 11, 2025

Added missing settings, rearranged code layout to a cleaner layout, changed names and descriptions of
certain settings to match vanilla dedicated server GUI, and rearraged group assignments match vanilla dedicated server GUI.

Torch should now have settings that match the vanilla dedicated server GUI. There were at least 10+ settings that were missing in Torch's GUI.

The git changes may look messy, but I basically rewote the whole file as I was going through the settings in the vanilla dedicated server GUI. It may be better to look at the modified file itself to review.

Possible long term solution:
The view model could be rewitten where the settings are dynamically generated from the attributes on the members in MyObjectBuilder_SessionSettings, this would prevent issues where new settings are forgotten, and would allow settings to be removed and added without updating this file

Added missing settings, rearranged code layout to a
cleaner layout, changed names and descriptions of
certain settings to match vanilla dedicated server GUI,
and rearraged group assignments match vanilla dedicated server GUI.
@Bishbash777 Bishbash777 merged commit 4c572ae into TorchAPI:master May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants