mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
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:
@@ -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'
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user