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

Update Wrath IPC to correct Enums #751

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

Taurenkey
Copy link
Contributor

Currently, passing the enums as is will change the wrong setting as enums are number values behind the scenes, and not strings. So for example, in current version of AD the Lowest_Current DPSRotationMode would be passed as 1 due to being the second item in the enumeration. However on the Wrath side, the value 1 corresponds to Highest_Max, so that's what it gets changed to (even if the UI shows otherwise, that's something I'm addressing that side).

Going forward it will be safer to push enums with their corresponding values on the Wrath side, which will normally be an index value (unless an item is removed however I am making similar changes to Wrath to put their values in to prevent breaks like this).

If this is merged and released before next Wrath update, the Wrath UI will show incorrectly but will function properly behind the scenes.

@erdelf erdelf merged commit 93d6c13 into ffxivcode:master Jan 8, 2025
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