all: remove koka code, move go to repo root
This commit is contained in:
34
sparktype_string.go
Normal file
34
sparktype_string.go
Normal file
@@ -0,0 +1,34 @@
|
||||
// Code generated by "stringer -type SparkType -trimprefix Spark"; 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[SparkStat-1]
|
||||
_ = x[SparkAptitude-2]
|
||||
_ = x[SparkUnique-3]
|
||||
_ = x[SparkSkill-4]
|
||||
_ = x[SparkRace-5]
|
||||
_ = x[SparkScenario-6]
|
||||
_ = x[SparkCarnival-7]
|
||||
_ = x[SparkDistance-8]
|
||||
_ = x[SparkHidden-9]
|
||||
_ = x[SparkSurface-10]
|
||||
_ = x[SparkStyle-11]
|
||||
}
|
||||
|
||||
const _SparkType_name = "StatAptitudeUniqueSkillRaceScenarioCarnivalDistanceHiddenSurfaceStyle"
|
||||
|
||||
var _SparkType_index = [...]uint8{0, 4, 12, 18, 23, 27, 35, 43, 51, 57, 64, 69}
|
||||
|
||||
func (i SparkType) String() string {
|
||||
idx := int(i) - 1
|
||||
if i < 1 || idx >= len(_SparkType_index)-1 {
|
||||
return "SparkType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _SparkType_name[_SparkType_index[idx]:_SparkType_index[idx+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user