Skip to content

[FEATURE] Enums #192

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: experiment/static-fields
Choose a base branch
from

Conversation

lemz1
Copy link

@lemz1 lemz1 commented Feb 19, 2025

DESCRIPTION

This pr adds the ability to define enums in scripts, which will be stored in the _scriptEnumDescriptor map.

You can import enums from other scripts doing it the way in regular haxe, meaning:

import my.enum.EnumName;

NOTE

This pr requires this pr to be merged.

@lemz1 lemz1 changed the title [Feature] Enums [FEATURE] Enums Feb 19, 2025
@lemz1 lemz1 force-pushed the feature/enums branch 5 times, most recently from 93e0bfe to 1364298 Compare February 21, 2025 11:37
@EliteMasterEric EliteMasterEric self-assigned this Feb 21, 2025
@lemz1 lemz1 force-pushed the feature/enums branch 3 times, most recently from 764c5a5 to 2d49198 Compare February 22, 2025 11:54
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.

2 participants