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

Replace ColorId, HatId, PetId, SkinId with their respective enums #238

Closed
wants to merge 1 commit into from

Conversation

js6pak
Copy link
Member

@js6pak js6pak commented Dec 16, 2020

Description

Replace character customization ids with enums to reduce redundancy. Enums are compiled to numbers (type is specified after enum name) at runtime, so you can just use

IInnerPlayerControl.SetSkinAsync((SkinType) 123);

anyway.

Closes issues

@Alexejhero
Copy link
Contributor

@AeonLucid

@js6pak js6pak closed this Mar 1, 2021
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.

[API] Replace ColorId, HatId, PetId, SkinId with their respective enums
4 participants