typedefs library
Various type definitions used throughout the engine.
Typedefs
- AngstromCallback = void Function(AngstromEngine engine)
- The type of a function which is called with an angstrom engine as its only parameter.
- ExamineObjectCallback = void Function(RoomObjectReference objectReference, AngstromEventHandlerState state)
- The type of a function which examines an object.
-
GameShortcutsBuilder
= List<
GameShortcut> Function(BuildContext context, List<GameShortcut> shortcuts) -
The type of a function which modifies a List of
GameShortcuts. - GetSound = Sound Function({required bool destroy, LoadMode loadMode, bool looping, Duration loopingStart, bool paused, SoundPosition position, double relativePlaySpeed, required SoundReference soundReference, double? volume})
-
The type of a function which converts a SoundReference path to a
Soundinstance. - NoRoomObjectsCallback = void Function(NoRoomObjects event, AngstromEventHandlerState state)
- The type of a function which will be used to handle NoRoomObjects events.