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

Hide C-Side/Golden postcard if LevelSet has no C-Sides #378

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

coloursofnoise
Copy link
Member

Relatively simple hack to only show the C-Side Unlock Postcard if the level set has a C-Side.

Adds a public LevelSetStats.MaxAreaMode property that returns an int representation of the highest available AreaMode for the current level set.
Returning an int makes for a slightly simpler IL patch, and hopefully promotes compatibility with some future integration of the AltSidesHelper mod into Everest. This can easily be changed to return an AreaMode if desired.

@0x0ade 0x0ade merged commit 46b63e2 into EverestAPI:dev Sep 28, 2021
@coloursofnoise coloursofnoise deleted the hide-csidepostcard branch March 5, 2023 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants