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?
Answer by SethDu · Oct 12, 2020 at 07:57 AM
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.
[SERVER or Cloud Script] Retrieving Server CustomData or Tags without Client.GetCurrentGames 1 Answer
GetQueueStatistics in CloudScripts seems limited not per user 1 Answer
Issue communicating with REST server running on Multiplayer Server 1 Answer
Execute Cloud Script upon Matchmaking match found 1 Answer
Can Cloudscript call the server matchmaking functions? 1 Answer