]> git.lizzy.rs Git - mt.git/blob - hudtype_string.go
Add WaitGroup to SerializePkt
[mt.git] / hudtype_string.go
1 // Code generated by "stringer -type HUDType"; DO NOT EDIT.
2
3 package mt
4
5 import "strconv"
6
7 func _() {
8         // An "invalid array index" compiler error signifies that the constant values have changed.
9         // Re-run the stringer command to generate them again.
10         var x [1]struct{}
11         _ = x[ImgHUD-0]
12         _ = x[TextHUD-1]
13         _ = x[StatbarHUD-2]
14         _ = x[InvHUD-3]
15         _ = x[WaypointHUD-4]
16         _ = x[ImgWaypointHUD-5]
17 }
18
19 const _HUDType_name = "ImgHUDTextHUDStatbarHUDInvHUDWaypointHUDImgWaypointHUD"
20
21 var _HUDType_index = [...]uint8{0, 6, 13, 23, 29, 40, 54}
22
23 func (i HUDType) String() string {
24         if i >= HUDType(len(_HUDType_index)-1) {
25                 return "HUDType(" + strconv.FormatInt(int64(i), 10) + ")"
26         }
27         return _HUDType_name[_HUDType_index[i]:_HUDType_index[i+1]]
28 }