mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-02 09:17:19 -04:00
.. | ||
AnimationFrame.go | ||
AnimationMode_string.go | ||
AnimationMode.go | ||
CompositeType.go | ||
DrawEffect.go | ||
Hero.go | ||
HeroStance.go | ||
Orientation.go | ||
PaletteDefs.go | ||
readme.md | ||
WeaponClass_string2enum.go | ||
WeaponClass_string.go | ||
WeaponClass.go |
OpenDiablo2 Enums
Items in this folder are compiled with two programs. You can obtain them by running the following:
go get golang.org/x/tools/cmd/stringer
go get github.com/mewspring/tools/cmd/string2enum
Once you have the tools installed, simply run the following command in this folder to regenerate the support files:
generate
If you add any new files, make sure to add the following to the end of the file:
//go:generate stringer -linecomment -type AnimationMode