summaryrefslogtreecommitdiff
path: root/param2type_string.go
blob: 6c2662134a8dd10d221f3e22bcbe0857921af3f9 (plain) (blame)
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
35
// 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]
	_ = x[P2ColorRotation-12]
}

const _Param2Type_name = "NibbleByteFlowingFaceDirMountedLeveledRotationMeshColorColorFaceDirColorMountedGlassLikeLevelColorRotation"

var _Param2Type_index = [...]uint8{0, 6, 10, 17, 24, 31, 38, 46, 50, 55, 67, 79, 93, 106}

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]]
}