Server storage retrieval logic

Thanks for the suggestions! I hadn’t come across this, probably my very bad searching skills, but I then should use(As per docs):

var limit = 100 # default is 10.
var objects : NakamaAPI.ApiStorageObjectList = yield(client.list_storage_objects_async(session, "saves", session.user_id, limit), "completed")

And work my way through it. There is a limit there, of objects to list, will it throw an error if the stored objects are less than the limit? I imagine not, right? I’ll start coding and testing! Thank you.

Edit I’m getting a problem with that, even though I wrote all the ghosts as permission level 2 (Global read), The above code call only retrieves the current user’s data. Did I miss anything?

Apparently Unity has a different methos call for both User’s and Everyone else:

An issue when trying list public objects in Unity - Heroic Labs

And even tought Godot also has the list_users_storage_objects_async function, I get an error saying it expects 5 arguments.
For that, the fifth arument should be null, an empty string:

yield(NakamaGlobals.client.list_users_storage_objects_async(session, collection_name, session.user_id, limit, ""), "completed")

And while this code works, the result is the same, only my current user get’s listed.

Aside from my problem, the docs could be updated to include this second form of storage listing