horse: go generate

This commit is contained in:
2026-08-02 02:37:24 -04:00
parent efcdf5d525
commit 9521b5e7c5
3 changed files with 14 additions and 9 deletions
+5 -1
View File
@@ -26,6 +26,7 @@ func _() {
_ = x[AbilityRushedChance-29]
_ = x[AbilityAccel-31]
_ = x[AbilityLaneChange-35]
_ = x[AbilityActivateRare-37]
}
const (
@@ -35,7 +36,8 @@ const (
_AbilityType_name_3 = "Current speedCurrent speed"
_AbilityType_name_4 = "Target speedLane change speedRushed chance"
_AbilityType_name_5 = "Acceleration"
_AbilityType_name_6 = "Forced lane change"
_AbilityType_name_6 = "Set target lane"
_AbilityType_name_7 = "Activate rare skills"
)
var (
@@ -67,6 +69,8 @@ func (i AbilityType) String() string {
return _AbilityType_name_5
case i == 35:
return _AbilityType_name_6
case i == 37:
return _AbilityType_name_7
default:
return "AbilityType(" + strconv.FormatInt(int64(i), 10) + ")"
}