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

Strategy for conditional expansion compiliation #30

Open
Frostshake opened this issue Oct 21, 2024 · 0 comments
Open

Strategy for conditional expansion compiliation #30

Frostshake opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Frostshake
Copy link
Owner

Frostshake commented Oct 21, 2024

Need to decide on best strategy for conditionally handling expansion specific behaviour.

Currently have been using

if constexpr (CURRENT_EXPANSION == EXP...)
{..}

But of course this wont work for identifiers that are expansion specific.

Further thought needed.

Also noticed today, it appears constants (e.g spell id's) can change between expansions, see iceblock and cold snap.

@Frostshake Frostshake added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant