// Code generated by "stringer -type AbilityValueUsage -trimprefix ValueUsage -linecomment"; DO NOT EDIT. package horse 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[ValueUsageDirect-1] _ = x[ValueUsageTeamSpeed-3] _ = x[ValueUsageTeamStamina-4] _ = x[ValueUsageTeamPower-5] _ = x[ValueUsageTeamGuts-6] _ = x[ValueUsageTeamWit-7] } const ( _AbilityValueUsage_name_0 = "directly" _AbilityValueUsage_name_1 = "scaling with team Speedscaling with team Staminascaling with team Powerscaling with team Gutsscaling with team Wit" ) var ( _AbilityValueUsage_index_1 = [...]uint8{0, 23, 48, 71, 93, 114} ) func (i AbilityValueUsage) String() string { switch { case i == 1: return _AbilityValueUsage_name_0 case 3 <= i && i <= 7: i -= 3 return _AbilityValueUsage_name_1[_AbilityValueUsage_index_1[i]:_AbilityValueUsage_index_1[i+1]] default: return "AbilityValueUsage(" + strconv.FormatInt(int64(i), 10) + ")" } }