-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathparam2type_string.go
34 lines (28 loc) · 974 Bytes
/
param2type_string.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
27
28
29
30
31
32
33
34
// Code generated by "stringer -trimprefix P2 -type Param2Type"; DO NOT EDIT.
package mt
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[P2Nibble-0]
_ = x[P2Byte-1]
_ = x[P2Flowing-2]
_ = x[P2FaceDir-3]
_ = x[P2Mounted-4]
_ = x[P2Leveled-5]
_ = x[P2Rotation-6]
_ = x[P2Mesh-7]
_ = x[P2Color-8]
_ = x[P2ColorFaceDir-9]
_ = x[P2ColorMounted-10]
_ = x[P2GlassLikeLevel-11]
}
const _Param2Type_name = "NibbleByteFlowingFaceDirMountedLeveledRotationMeshColorColorFaceDirColorMountedGlassLikeLevel"
var _Param2Type_index = [...]uint8{0, 6, 10, 17, 24, 31, 38, 46, 50, 55, 67, 79, 93}
func (i Param2Type) String() string {
if i >= Param2Type(len(_Param2Type_index)-1) {
return "Param2Type(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Param2Type_name[_Param2Type_index[i]:_Param2Type_index[i+1]]
}