Name valueHash, contentType, childIndex, States and the distance_map shader #50

Manually merged
github merged 1 commit from gh-pr/50/head into gh-pr/50/base 2026-11-26 20:05:53 +00:00
Owner

@⁠tarekmania on GitHub · 2026-11-23 14:32 UTC · original
tarekmania:field-names-batch2 → master · +9 −2 · 2 files · 1 commits · merged 2026-11-23 14:44 UTC

Five more names, each a joaat of the hash already in the code.

The script-doc fields in scriptdoc.rs are named only by their use right now. These are the actual names:

  • 817ed7a4 → valueHash (the attribute's "joaat of the value as text")
  • 2a8e416f → contentType (the attribute "type")
  • 01296aed → childIndex (the element's "first child")

Plus ebacf18c → States (the head-skin preset list) and the decal shader e05f1a42, which is joaat of distance_map (named in material.rs).

The four field names go into DERIVED_EXACT and resolve through lookup without a dictionary file. cargo test -p sixng-core --lib passes.

Found by hashing public GTA V name lists against the hashes in the code

**@⁠tarekmania** on GitHub · 2026-11-23 14:32 UTC · [original](https://github.com/holdmysocks/SixNG/pull/50) `tarekmania:field-names-batch2` → `master` · +9 −2 · 2 files · 1 commits · merged 2026-11-23 14:44 UTC Five more names, each a joaat of the hash already in the code. The script-doc fields in `scriptdoc.rs` are named only by their use right now. These are the actual names: - `817ed7a4` → `valueHash` (the attribute's "joaat of the value as text") - `2a8e416f` → `contentType` (the attribute "type") - `01296aed` → `childIndex` (the element's "first child") Plus `ebacf18c` → `States` (the head-skin preset list) and the decal shader `e05f1a42`, which is joaat of `distance_map` (named in `material.rs`). The four field names go into `DERIVED_EXACT` and resolve through `lookup` without a dictionary file. `cargo test -p sixng-core --lib` passes. Found by hashing public GTA V name lists against the hashes in the code
valueHash (817ed7a4), contentType (2a8e416f) and childIndex (01296aed) are the
script-doc element/attribute fields that scriptdoc.rs currently knows only by
use; States (ebacf18c) is the head-skin preset list. All four join
DERIVED_EXACT and resolve through lookup without a dictionary file. The decal
shader e05f1a42 is joaat(distance_map); named in material.rs.

cargo test -p sixng-core --lib passes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:05:51 +00:00
github manually merged commit 0f9250fbcc into gh-pr/50/base 2026-11-26 20:05:53 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.