Skip to content

Properly support enum and multiselect settings in game manager #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheStaticMage
Copy link

This PR properly supports the enum and multiselect settings in the Game Manager.

  • enum: Added the options field for the list of strings for the "enum" type
  • multiselect: Added this as a SettingType and also added settings field

This should all be backward compatible since the options and settings fields are optional.

I need this for a custom game I'm working on. With these settings I am able to have proper configuration for my game as shown here. I copy/pasted in some settings from the existing trivia game to demonstrate that this actually works...

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant