]> git.lizzy.rs Git - mt.git/blob - param1type_string.go
Add WaitGroup to SerializePkt
[mt.git] / param1type_string.go
1 // Code generated by "stringer -trimprefix P1 -type Param1Type"; 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[P1Nothing-0]
12         _ = x[P1Light-1]
13 }
14
15 const _Param1Type_name = "NothingLight"
16
17 var _Param1Type_index = [...]uint8{0, 7, 12}
18
19 func (i Param1Type) String() string {
20         if i >= Param1Type(len(_Param1Type_index)-1) {
21                 return "Param1Type(" + strconv.FormatInt(int64(i), 10) + ")"
22         }
23         return _Param1Type_name[_Param1Type_index[i]:_Param1Type_index[i+1]]
24 }