summaryrefslogtreecommitdiff
path: root/particletextureflags_string.go
blob: 5e5bdf188e229a9ff7435d9f28828e4b456d04fc (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
// Code generated by "stringer -linecomment -type ParticleTextureFlags"; 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[Animated-1]
}

const _ParticleTextureFlags_name = "Animated"

var _ParticleTextureFlags_index = [...]uint8{0, 8}

func (i ParticleTextureFlags) String() string {
	i -= 1
	if i >= ParticleTextureFlags(len(_ParticleTextureFlags_index)-1) {
		return "ParticleTextureFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
	}
	return _ParticleTextureFlags_name[_ParticleTextureFlags_index[i]:_ParticleTextureFlags_index[i+1]]
}