-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweapon_class.go
26 lines (23 loc) · 1.15 KB
/
weapon_class.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package cof
//go:generate stringer -linecomment -type WeaponClass -output weapon_class_string.go
//go:generate string2enum -samepkg -linecomment -type WeaponClass -output weapon_class_string2enum.go
// WeaponClass represents a weapon class
type WeaponClass int
// Weapon classes
const (
WeaponClassNone WeaponClass = iota //
WeaponClassHandToHand // hth
WeaponClassBow // bow
WeaponClassOneHandSwing // 1hs
WeaponClassOneHandThrust // 1ht
WeaponClassStaff // stf
WeaponClassTwoHandSwing // 2hs
WeaponClassTwoHandThrust // 2ht
WeaponClassCrossbow // xbw
WeaponClassLeftJabRightSwing // 1js
WeaponClassLeftJabRightThrust // 1jt
WeaponClassLeftSwingRightSwing // 1ss
WeaponClassLeftSwingRightThrust // 1st
WeaponClassOneHandToHand // ht1
WeaponClassTwoHandToHand // ht2
)