feat: type_events in diff and tracker, joined with emulator signal literals

Diff gains a type_events axis keyed by (script type, event). The tracker
lists each type's original events (vftable list, or the nearest class
list up the constructor chain for Piklib 6.1) and where the emulator names
them: the type's class, Variable.java or other engine code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Patryk Gensch
2026-10-24 19:49:26 +02:00
co-authored by Claude Opus 5.5
parent cb03de47ac
commit 597733d8d7
9 changed files with 135 additions and 7 deletions
+5
View File
@@ -35,6 +35,11 @@ class Snapshot:
def events(self) -> list[dict]:
return self.raw.get("events", [])
@property
def type_events(self) -> list[dict]:
"""Events per script type, read through each type's own vftable (schema 6)."""
return self.raw.get("type_events", [])
@property
def fields(self) -> list[dict]:
return self.raw.get("fields", [])