Understand the purpose of Public game helpers
mainThe headers in include/helpers/ provide port-specific types and utilities designed for use by ordinary game headers. These helpers are intended to be consumed by mods that use the game feature.
Key Constraints for Developers:
- ABI Stability: These helpers must remain ABI stable within
GameServicemajor versions because they are exposed to external mods. - Dependency Restriction: Public interfaces for these helpers must not depend on internal
src/dusk/declarations. - Mod API Distinction: If you are developing an API specifically for mod use, do not place it in this directory. Instead, use mod services, which are individually versioned, support backwards compatibility, and manage per-mod runtime state.