mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
* Refactored animation mode enum * More d2enum changes * Refactored tile enum * Refactored weapon class enum * Refactored more enums * Refactored item event enum * Fixed init_functions animation mode * Removed string2enum from MonsterAnimationMode * Refactored ItemStatCost description * Last enum lint errors * Regenerated monster stringer file
28 lines
1.0 KiB
Go
28 lines
1.0 KiB
Go
package d2enum
|
|
|
|
//go:generate stringer -linecomment -type CompositeType -output composite_type_string.go
|
|
|
|
// CompositeType represents a composite type
|
|
type CompositeType int
|
|
|
|
// Composite types
|
|
const (
|
|
CompositeTypeHead CompositeType = iota // HD
|
|
CompositeTypeTorso // TR
|
|
CompositeTypeLegs // LG
|
|
CompositeTypeRightArm // RA
|
|
CompositeTypeLeftArm // LA
|
|
CompositeTypeRightHand // RH
|
|
CompositeTypeLeftHand // LH
|
|
CompositeTypeShield // SH
|
|
CompositeTypeSpecial1 // S1
|
|
CompositeTypeSpecial2 // S2
|
|
CompositeTypeSpecial3 // S3
|
|
CompositeTypeSpecial4 // S4
|
|
CompositeTypeSpecial5 // S5
|
|
CompositeTypeSpecial6 // S6
|
|
CompositeTypeSpecial7 // S7
|
|
CompositeTypeSpecial8 // S8
|
|
CompositeTypeMax
|
|
)
|