1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 09:17:19 -04:00
OpenDiablo2/d2common/d2enum
gucio321 2e31f3d1ec
Move Gold Panel (#962)
* move gold panel
2020-12-12 01:39:26 -08:00
..
animation_frame_direction.go d2enum lint (#700) 2020-08-06 16:45:22 -04:00
animation_frame_event.go d2enum lint (#700) 2020-08-06 16:45:22 -04:00
animation_frame.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
composite_type_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
composite_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
difficulty.go save act and difficulty. Fixes #866 2020-11-25 11:51:20 +01:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
draw_effect.go lint fixes (#727) 2020-09-12 16:25:09 -04:00
encoding_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
equipped_slot.go D2items WIP (#646) 2020-07-30 10:14:15 -04:00
filter.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
game_event.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
hero_stance.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
hero_string2enum.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
hero_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
hero.go removed all 'wsl' lint errors (#836) 2020-10-25 17:28:40 -07:00
input_button.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
input_key.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
input_priority.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
inventory_item_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
item_affix_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
item_armor_class.go removed all golint lint errors (#833) 2020-10-25 16:23:55 -07:00
item_event_functions.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
item_events.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
item_quality.go d2enum lint (#700) 2020-08-06 16:45:22 -04:00
layer_stream_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
level_generation_types.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
level_teleport_flags.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
monster_alignment_type.go fixed monstats lint errors, added doc file for d2datadict (#494) 2020-06-29 18:46:31 -04:00
monster_animation_mode_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
monster_animation_mode.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
monster_combat_type.go fixed monstats lint errors, added doc file for d2datadict (#494) 2020-06-29 18:46:31 -04:00
monumod_const_index.go d2enum lint (#700) 2020-08-06 16:45:22 -04:00
npc_action_type.go Removed all TODO's in project (#831) 2020-10-25 18:36:12 -04:00
numeric_labels.go Move Gold Panel (#962) 2020-12-12 01:39:26 -08:00
object_animation_mode_string2enum.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
object_animation_mode_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
object_animation_mode.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
object_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
operator_type.go Resolved most lint errors in d2data and d2datadict (#499) 2020-06-30 09:17:07 -04:00
pet_icon_type.go d2enum lint (#700) 2020-08-06 16:45:22 -04:00
player_animation_mode_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
player_animation_mode.go Initial cast overlay implementation. Fix HeroSkill deserialization & map entities processing crashing for remote client. (#766) 2020-10-10 18:47:51 -04:00
quests.go moved max quests acts to d2enum 2020-12-04 10:43:33 +01:00
readme.md merged d2shared into the core package (#275) 2020-01-26 00:39:13 -05:00
region_id.go lint fixes (#615) 2020-07-23 12:56:50 -04:00
region_layer.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
render_type.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
skill_class.go Various lint error fixes and suppressions (#846) 2020-10-26 02:04:50 -07:00
terminal_category.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
tile.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
weapon_class_string2enum.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
weapon_class_string.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
weapon_class.go Refactored d2enum (#567) 2020-07-09 23:12:28 -04: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:

go generate

If you add any enums (e.g. AnimationMode), make sure to add the following to the end of the file:

//go:generate stringer -linecomment -type AnimationMode