umadump/replay: implement race sim decoding
ci/woodpecker/push/horsebot Pipeline was successful
ci/woodpecker/push/zenno Pipeline was successful

This commit is contained in:
2026-08-30 01:56:43 -04:00
parent 1f195024e1
commit 7085fea1b7
6 changed files with 12746 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
// Code generated by "stringer -type RunningStyle -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[StyleNone-0]
_ = x[StyleNige-1]
_ = x[StyleSenko-2]
_ = x[StyleSashi-3]
_ = x[StyleOikomi-4]
}
const _RunningStyle_name = "NONENIGESENKOSASHIOIKOMI"
var _RunningStyle_index = [...]uint8{0, 4, 8, 13, 18, 24}
func (i RunningStyle) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_RunningStyle_index)-1 {
return "RunningStyle(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _RunningStyle_name[_RunningStyle_index[idx]:_RunningStyle_index[idx+1]]
}