Skip to content
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

Allow to set integer values for EnumDiscriminants #241

Open
Shatur opened this issue Sep 27, 2022 · 2 comments
Open

Allow to set integer values for EnumDiscriminants #241

Shatur opened this issue Sep 27, 2022 · 2 comments

Comments

@Shatur
Copy link

Shatur commented Sep 27, 2022

EnumDiscriminants generates an enum without data, but it would be nice to be able to provide additional integer meta-information in C-style. There is EnumProperty, but it supports only strings.

@Peternator7
Copy link
Owner

This should be doable. I'm inclined to say EnumDiscriminants should copy over the discriminant value from the enum as well if they exist. Is this something you're interested in working on?

@ericmcbride
Copy link
Contributor

Ill pick this up

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

No branches or pull requests

3 participants