Basics
Guides
API Reference
Basics
Guides
API Reference
[25:7] extends: FunctionCallDelegate
Wraps an AussomFunctionCallHandler (subclass of FXGL's abstract FunctionCallHandler) so Aussom code can resolve function-call lines from a DialogueGraph (e.g. "give_item sword 1"). Two surfaces:
FunctionCallHandler ()
Creates a new FunctionCallHandler. Use onHandle to wire the fallback before passing this to CutsceneService.startDialogueSceneFull.
adopt (object Ajo)
Wraps an existing FunctionCallHandler AussomJavaObject.
Ajo is an AussomJavaObject around a FunctionCallHandler.A new wrapper.onHandle (callback Cb)
Registers the fallback handler called when no delegate method matches the dialogue function-call line.
Cb is a callback (functionName, argsList) -> any.this objectaddFunctionCallDelegate (object DelegateObj)
Adds a Java delegate whose methods will be scanned and dispatched by name when a dialogue function-call line matches.
DelegateObj is an AussomJavaObject around a FunctionCallDelegate.this objectremoveFunctionCallDelegate (object DelegateObj)
Removes a previously-added delegate.
DelegateObj is an AussomJavaObject around a FunctionCallDelegate.this objectexists (string FunctionName, int ParamCount)
Returns whether a function with the given name and parameter count is registered through a delegate.
FunctionName is the name of the function.ParamCount is the number of parameters.A bool.getRfc ()
Returns the underlying ReflectionFunctionCaller as a raw AJO (the engine's dispatch table). Wrap with the ReflectionFunctionCaller wrapper if you need typed access.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.