Add server-managed balance configuration
This commit is contained in:
1 parent
67abdf13b0
commit
39ed4c3bf7
12 files changed
+289
-27
No files matched your search
@@ -394,6 +394,13 @@ func server_info() -> Dictionary:
|
||||
return _parse_rpc_result(result)
|
||||
|
||||
|
||||
func fetch_game_balance() -> Dictionary:
|
||||
if not is_authenticated():
|
||||
return {}
|
||||
var result = await client.rpc_async(session, "get_game_balance", "{}")
|
||||
return _parse_rpc_result(result)
|
||||
|
||||
|
||||
func submit_run(record: Dictionary) -> bool:
|
||||
if not is_authenticated():
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user