29 lines
864 B
Go
29 lines
864 B
Go
// Code generated by "stringer -type TemptationMode -linecomment"; 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[TemptationNull-0]
|
|
_ = x[TemptationPositionSashi-1]
|
|
_ = x[TemptationPositionSenko-2]
|
|
_ = x[TemptationPositionNige-3]
|
|
_ = x[TemptationBoost-4]
|
|
}
|
|
|
|
const _TemptationMode_name = "NULLPOSITION_SASHIPOSITION_SENKOPOSITION_NIGEBOOST"
|
|
|
|
var _TemptationMode_index = [...]uint8{0, 4, 18, 32, 45, 50}
|
|
|
|
func (i TemptationMode) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_TemptationMode_index)-1 {
|
|
return "TemptationMode(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _TemptationMode_name[_TemptationMode_index[idx]:_TemptationMode_index[idx+1]]
|
|
}
|