Add missing action result types to proto and remove generator hook (#5082)

- Add HERO_STAT_GAINED (151) and PROFESSION_GAINED (152) to
  action_result_type.proto to maintain parity with the Scala enum
- Remove update-action-result-types pre-commit hook and script
  (no longer needed with simplified Scala enum approach)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-08 19:14:16 -08:00
committed by GitHub
co-authored by Claude Opus 4.5
parent b825cdb140
commit 4f39e16b80
3 changed files with 2 additions and 11 deletions
-7
View File
@@ -35,10 +35,3 @@ repos:
entry: ./scripts/pre-commit-gazelle.sh
files: '(\.go|\.proto|BUILD\.bazel|BUILD|WORKSPACE|WORKSPACE\.bazel|\.bzl)$'
pass_filenames: false
- repo: local
hooks:
- id: update-action-result-types
name: update-action-result-types
language: system
entry: ./scripts/updateActionResultTypes.sh
files: 'src/main/protobuf/net/eagle0/eagle/common/action_result_type.proto'
-4
View File
@@ -1,4 +0,0 @@
#!/usr/bin/env bash
bazel run //src/main/go/net/eagle0/build/action_result_type_build_file_generator \
${PWD}/src/main/scala/net/eagle0/eagle/model/action_result/types/
@@ -157,4 +157,6 @@ enum ActionResultType {
HEROES_RETURNED_BY_ALLY = 148;
QUEST_DECLINED = 149;
HERO_BACKSTORIES_UPDATED = 150;
HERO_STAT_GAINED = 151;
PROFESSION_GAINED = 152;
}