gdscript-api 0.1.0

The Godot engine model (classes, methods, signals, enums, …) generated from extension_api.json.
Documentation

gdscript-api — the Godot engine model, generated from extension_api.json.

The model (engine classes + inheritance chain, methods, properties, signals, enums, constants, singletons, utility functions, builtin Variant types) plus the hand-authored GDScript layer the dump omits (pseudo-constants + builtin functions). See plans/PHASE-2-IMPLEMENTATION-PLAYBOOK.md §4.

Shape

[model::ApiData] is the serializable root that xtask codegen-api rkyv-encodes into a binary blob; [EngineApi] deserializes it once, rebuilds the name indices, merges the hand-authored layer, and exposes the lookup API (lookup.rs). The model is Arc-shared and excluded from per-file timing, so the one-time deserialize is amortized.

Targets

Native builds embed the blob via include_bytes! ([bundled], behind the default bundled-api feature). The crate never touches std::fs/clocks/threads, so it builds for wasm32; there the blob is not embedded (Playbook §4.5) — the host fetches it and calls [EngineApi::from_bytes].