question

FENG LI avatar image
FENG LI asked

Call multiplayer api from cloudscript

Can I call multiplayer apis from cloudscript?

For example ListMultiplayerServers

CloudScript
10 |1200

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

1 Answer

·
FENG LI avatar image
FENG LI answered

Just get answered, we can do that.

1 comment
10 |1200

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

Sarah Zhang avatar image Sarah Zhang commented ·

We are able to use Multiplayer APIs with multiplayer. For example:

 
let region = args.Region;
let buildId = [bulidId];
let summaries = multiplayer.ListMultiplayerServers({ BuildId: buildId, Region: region }).MultiplayerServerSummaries;
log.debug(summaries);
2 Likes 2 ·

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.