cgisca / PGSGP

Play Games Services plugin for Godot Game Engine - Android
MIT License
217 stars 61 forks source link

fun isSignedIn(): Boolean .. can't react on this with c# #61

Closed lefavilla closed 3 years ago

lefavilla commented 3 years ago

Hey Lads and Gents,

could you may overhaul the function

    fun isSignedIn(): Boolean {
        return signInController.isSignedIn()
    }

to send this boolean by a signal?

We C# guys can't simply say: bool signedIn = gps.CallDeferred("isSignedIn"); - to retrieve this bool.

If I missed something or you know the way to obtain this bool with C# I would like to hear this option.

Greetings~

Ps.> I like your work here. I am very happy that you build this service. This saved me alot of time!

lefavilla commented 3 years ago

bool signedIn = (bool)Call("isSignedIn"); fixed it