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

Achievement Bit Unsigned Int Linter #287

Open
AsherGlick opened this issue May 19, 2024 · 0 comments
Open

Achievement Bit Unsigned Int Linter #287

AsherGlick opened this issue May 19, 2024 · 0 comments

Comments

@AsherGlick
Copy link
Owner

AsherGlick commented May 19, 2024

Achievement Bit / Achievement Bit Index is an unsigned int, it represent an index into an array. Any negative value is an invalid value, we should add a way to lint for this and when we do we can add the following tests back in to check that the linter catches the errors.

<POI AchievementBit="-2147483648" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementBit="-5" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
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

1 participant