SteamApiExtensions extension
Extensions on SteamApi to generate ffi code
- on
Methods
-
generate(
{required String path, required String target}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
This is entrypoint for code generation. Generates code according to the SteamApi definition by traversing all fields and emitting necessary code -
generateCallbackIdMap(
{required String path, required IOSink exportSink, Set< String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates callback id map by type to make it easier to lookup callback ids -
generateDispatch(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for dispatch -
generateDl(
{required String path}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for accessing the library file -
generateSteamApi(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for common steam apis -
generateSteamGameServer(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for steam game server -
generateUnknownEnumValueException(
{required String path, required IOSink exportSink}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates exception for enums