question

Niklas Gawell avatar image
Niklas Gawell asked

Can I have access to GetQueueStatistics in CloudScript?

I would want access to queue statistics in CloudScript. I can get it client side, and using REST API, but I have yet to find the CloudScript function that gives me the same information. Is there one?

CloudScriptMatchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image
Seth Du answered

I have tried multiplayer.GetQueueStatistics() in Cloud Script and it works. Basically Multiplayer Server 2.0 related API, including matchmaking, can be called in “multiplayer” class.

In addition, we also recommend to use Azure function, which is more powerful and flexible, and the usage is the same as C# SDK.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Niklas Gawell avatar image
Niklas Gawell answered

Thanks, I'll check.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.