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 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]]
}