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

d2sdifficulty: add some api? #26

Open
gucio321 opened this issue May 20, 2021 · 0 comments
Open

d2sdifficulty: add some api? #26

gucio321 opened this issue May 20, 2021 · 0 comments
Labels
code edits golang code enhancement New feature or request Normal Priority

Comments

@gucio321
Copy link
Owner

d2sdifficulty.Difficulty is a map-type. So I store pointer to it in main D2S structure, but the problem is, that reffering to a pointer-map is a bit... strange. it looks like `(*p.d2s.Difficulty)[d2enum.DifficultyNormal]. I suggest to add some api for this stuff or reduce this noise in some other way

@gucio321 gucio321 added code edits golang code enhancement New feature or request Normal Priority labels May 20, 2021
@gucio321 gucio321 reopened this May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code edits golang code enhancement New feature or request Normal Priority
Projects
None yet
Development

No branches or pull requests

1 participant