1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-27 01:25:35 +00:00
OpenDiablo2/d2common/d2enum
2019-11-10 17:36:25 -05:00
..
animation_frame.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
animation_mode_string.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
animation_mode.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
composite_type.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
draw_effect.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
hero_stance.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
hero.go Renamed files to lowercase. (#137) 2019-11-10 17:36:25 -05:00
layer_stream_type.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
orientation.go Renamed files to lowercase. (#137) 2019-11-10 17:36:25 -05:00
palette_defs.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
readme.md Restructured everything. (#128) 2019-11-10 03:36:53 -05:00
weapon_class_string.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
weapon_class_string2enum.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
weapon_class.go Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00

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