]> git.lizzy.rs Git - mt.git/blob - param2type_string.go
Add WaitGroup to SerializePkt
[mt.git] / param2type_string.go
1 // Code generated by "stringer -trimprefix P2 -type Param2Type"; 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[P2Nibble-0]
12         _ = x[P2Byte-1]
13         _ = x[P2Flowing-2]
14         _ = x[P2FaceDir-3]
15         _ = x[P2Mounted-4]
16         _ = x[P2Leveled-5]
17         _ = x[P2Rotation-6]
18         _ = x[P2Mesh-7]
19         _ = x[P2Color-8]
20         _ = x[P2ColorFaceDir-9]
21         _ = x[P2ColorMounted-10]
22         _ = x[P2GlassLikeLevel-11]
23         _ = x[P2ColorRotation-12]
24 }
25
26 const _Param2Type_name = "NibbleByteFlowingFaceDirMountedLeveledRotationMeshColorColorFaceDirColorMountedGlassLikeLevelColorRotation"
27
28 var _Param2Type_index = [...]uint8{0, 6, 10, 17, 24, 31, 38, 46, 50, 55, 67, 79, 93, 106}
29
30 func (i Param2Type) String() string {
31         if i >= Param2Type(len(_Param2Type_index)-1) {
32                 return "Param2Type(" + strconv.FormatInt(int64(i), 10) + ")"
33         }
34         return _Param2Type_name[_Param2Type_index[i]:_Param2Type_index[i+1]]
35 }