Skip to content

feat(api): expand ModelExtras API with comprehensive feature coverage and JSONC exports - #363

Open
CanerKaraca23 wants to merge 1 commit into
user-grinch:mainfrom
CanerKaraca23:feat/api-comprehensive-expansion
Open

CanerKaraca23 wants to merge 1 commit into
user-grinch:mainfrom
CanerKaraca23:feat/api-comprehensive-expansion

Conversation

@CanerKaraca23

Copy link
Copy Markdown
Collaborator

Summary

Expands ModelExtrasAPI with complete C-ABI exports (161 public API functions), enabling external ASI plugins, CLEO scripts, and modding tools to interface with all features and read parsed vehicle JSONC configuration data at runtime.

Key Additions

  • Feature Query API: Exposes runtime status and state getters for all vehicle features (doors, gauges, rollback bed, spoiler, roof, remaps, sirens, spotlights, neon, lights, plates).
  • JSONC Configuration Data Getters: Provides comprehensive C-ABI exports to retrieve vehicle JSON configuration properties (light dummy configs, sirens/rotators, gauges, license plates, exhausts, remaps, dirt, and model metadata).
  • Type-safe Wrappers & Error Handling: Guarantees defensive null checks and safe buffer copying across all exported API functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant