aboutsummaryrefslogtreecommitdiff
path: root/feed/v3attackcomplexity_string.go
blob: 12110c8a4335f96de9ec39750856aadcd86de2e9 (plain)
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
// Code generated by "stringer -linecomment -type=V3AttackComplexity"; DO NOT EDIT.

package feed

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[V3ACLow-0]
	_ = x[V3ACMedium-1]
	_ = x[V3ACHigh-2]
}

const _V3AttackComplexity_name = "LOWMEDIUMHIGH"

var _V3AttackComplexity_index = [...]uint8{0, 3, 9, 13}

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