Name 963 more enum values #490

Manually merged
github merged 2 commits from github-bot/gh-490 into gh-pr/490/base 2026-11-28 12:19:02 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 18:41 UTC · original
holdmysocks:claude/enum-value-names-4 → master · +967 −1 · 2 files · 2 commits · merged 2026-11-28 12:14 UTC

Adds 963 enum value names. The table grows from 5,982 to 6,945 values.

How

  • Neighbour search (first commit, 59 names):
    • Each unnamed value gets its own search.
    • The prefixes and words come only from the named values within 20 values on either side, or within 80 where few are named.
    • One target per run keeps chance hits low, at about 0.1 expected over all runs.
  • Whole-name lists (second commit):
    • Full candidate names were checked against every unnamed value in the matching enums. The lists cover input actions, events, ped config and reset flags, combat attributes, VEH_ and lowercase vehicle bones, and weapon-info flags.
    • Each name is one exact hash compare, so the expected chance hits over all lists are near zero.
    • A value with more than one matching candidate is left out.
  • A second neighbour round ran over EVENT_, PCF_ and INPUT_. Its random-hash control run found nothing.

What

  • About 300 INPUT_ names.
  • About 180 EVENT_ names, including the EVENT_SHOCKING_ set.
  • About 130 PCF_ and CPED_ flag names.
  • About 230 plain-word values, such as combat attributes and vehicle bone names.
  • The rest are VEH_ bones, weapon flags and smaller enums.

The test adds a check for INPUT_VEH_MOVE_UP_ONLY.

**@⁠holdmysocks** on GitHub · 2026-11-27 18:41 UTC · [original](https://github.com/holdmysocks/SixNG/pull/490) `holdmysocks:claude/enum-value-names-4` → `master` · +967 −1 · 2 files · 2 commits · merged 2026-11-28 12:14 UTC Adds 963 enum value names. The table grows from 5,982 to 6,945 values. **How** - Neighbour search (first commit, 59 names): - Each unnamed value gets its own search. - The prefixes and words come only from the named values within 20 values on either side, or within 80 where few are named. - One target per run keeps chance hits low, at about 0.1 expected over all runs. - Whole-name lists (second commit): - Full candidate names were checked against every unnamed value in the matching enums. The lists cover input actions, events, ped config and reset flags, combat attributes, VEH_ and lowercase vehicle bones, and weapon-info flags. - Each name is one exact hash compare, so the expected chance hits over all lists are near zero. - A value with more than one matching candidate is left out. - A second neighbour round ran over EVENT_, PCF_ and INPUT_. Its random-hash control run found nothing. **What** - About 300 INPUT_ names. - About 180 EVENT_ names, including the EVENT_SHOCKING_ set. - About 130 PCF_ and CPED_ flag names. - About 230 plain-word values, such as combat attributes and vehicle bone names. - The rest are VEH_ bones, weapon flags and smaller enums. The test adds a check for INPUT_VEH_MOVE_UP_ONLY.
A per-value search takes the prefixes and words of the named values within
20 (or 80) values on either side. One target per run keeps the expected
chance hits at about 0.1 over all runs; a random-hash control run found none.
Mostly INPUT_ control names, plus AT_, CHAIN_, COVFLAG_, VEH_ and VFXGROUP_.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:46:42 +00:00
github-bot changed title from Name 59 more enum values from their named neighbours to Name 963 more enum values 2026-11-27 19:15:11 +00:00
github-bot referenced this pull request from a commit 2026-11-28 12:19:00 +00:00
github-bot changed target branch from master to gh-pr/490/base 2026-11-28 12:19:01 +00:00
github manually merged commit 57a9e44a03 into gh-pr/490/base 2026-11-28 12:19:02 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.