Referencia de funciones
Godot 4 · GDScript · Setup & session
is_ready
True once the session is active and all tables have loaded at least once.
Synchronous (returns directly)
Signature
is_ready() -> boolWhat it does
Reports the combined readiness of the lifecycle: session active and the initial table load finished.
Parameters
This function takes no parameters.
How to call it
Read it any time, or just react to the tables_loaded signal instead of polling.
Returns: bool (true once data is ready to display).
Example
if Gamdato.is_ready():
show_leaderboard(Gamdato.get_table_data(1))Use cases
- Gate UI that needs leaderboard data until the first load completes.
- Decide whether to show a spinner or the real ranking.