(Translated by https://www.hiragana.jp/)
ReflectionFunctionCaller add call() for Objects, not just Strings · Issue #1389 · AlmasB/FXGL · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReflectionFunctionCaller add call() for Objects, not just Strings #1389

Open
AlmasB opened this issue Oct 26, 2024 · 1 comment
Open

ReflectionFunctionCaller add call() for Objects, not just Strings #1389

AlmasB opened this issue Oct 26, 2024 · 1 comment
Labels
type:new feature Adding a feature that isn't currently present

Comments

@AlmasB
Copy link
Owner

AlmasB commented Oct 26, 2024

In addition to:

fun call(functionName: String, args: List<String>): Any {
        return call(functionName, args.toTypedArray())
    }

val data = SomeClass()
call(fName, data)

@AlmasB AlmasB added the type:new feature Adding a feature that isn't currently present label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:new feature Adding a feature that isn't currently present
Projects
None yet
Development

No branches or pull requests

2 participants
@AlmasB and others