hkb_editor.workflows.update_name_ids
¶
find_missing_nameid_files
¶
find_missing_nameid_files(action_path: Path) -> list[str]
Return the names of the name ID files missing from action_path.
update_name_id_file
¶
update_name_id_file(
file_path: Path, known_names: Iterable[str]
) -> int
Append any names not yet listed in file_path. Returns how many.
Existing entries keep their index, since the game references them by number. Nothing is ever removed.
update_name_ids
¶
update_name_ids(
behavior: HavokBehavior, action_path: Path
) -> list[str]
Sync all name ID files in action_path with the behavior.
Returns the names of the files that could not be found; an empty list means everything was updated.