docs: update sidebar and documentation to include greg hooks registry

- Added new items to the sidebar for 'greg-hooks-and-events' and 'greg-hooks-registry' under the Framework and Reference categories, respectively.
- Enhanced the documentation layout by including references to the greg hooks registry in various guides and topics, improving accessibility to hook-related information.
- Updated descriptions in the documentation to clarify the purpose and usage of the greg hooks and their registry.

This commit aims to improve the visibility and usability of the greg hooks registry within the documentation.
This commit is contained in:
Marvin
2026-04-10 03:36:30 +02:00
parent 8ad5acafda
commit ee3f30e502
13 changed files with 292 additions and 97 deletions

View File

@@ -31,6 +31,16 @@ $gzip.CopyTo($out)
$gzip.Dispose(); $out.Dispose(); $in.Dispose()
```
## JSON hook registry (gregFramework)
The **gregFramework** repo also ships a **structured** hook list for IL2CPP Harmony patches:
- **Path:** `greg_hooks.json` at repo root (and a build-staged copy under `gregCore/framework/gregFramework/`).
- **Purpose:** canonical `greg.<DOMAIN>.<Action>` ids, `patchTarget`, `payloadSchema`, and optional `legacy` aliases for `GregCompatBridge`.
- **Docs:** [greg hooks registry (IL2CPP)](/wiki/reference/greg-hooks-registry).
This file is **generated** from Il2CppInterop sources; it is not one of the gzip archives above.
## Pipeline usage
- Prefer reading `.gz` directly from scripts when possible.