BattleCore Standard Library (BSL)

Overview

The BattleCore Standard Library (BSL) provides native functions exposed by the BattleCore firmware that your BattleScript code can call. All std:: libraries are available automatically; explicit import statements for std::* are not supported.

// No import needed
 std::console.log("Hello from BattleCore!");

Available libraries:

Notes

  • Game Actions have been removed from the API. Use explicit library calls and your own game logic instead.
  • These libraries are native and their implementations live on the device firmware; function signatures are stable, but behavior may evolve with firmware updates.

Related Topics