// Code generated by "stringer -type RaceDifficulty -trimprefix Difficulty"; DO NOT EDIT. package replay 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[DifficultyEasy-1] _ = x[DifficultyNormal-2] _ = x[DifficultyHard-3] _ = x[DifficultyVeryHard-4] _ = x[DifficultyExtreme-5] _ = x[difficultyMax-6] } const _RaceDifficulty_name = "EasyNormalHardVeryHardExtremedifficultyMax" var _RaceDifficulty_index = [...]uint8{0, 4, 10, 14, 22, 29, 42} func (i RaceDifficulty) String() string { idx := int(i) - 1 if i < 1 || idx >= len(_RaceDifficulty_index)-1 { return "RaceDifficulty(" + strconv.FormatInt(int64(i), 10) + ")" } return _RaceDifficulty_name[_RaceDifficulty_index[idx]:_RaceDifficulty_index[idx+1]] }