question

PlayShifu avatar image
PlayShifu asked

How to call GetMultiplayerServerDetails from cloud api ?

From client I am unable to call GetMultiplayerServerDetails
so on forum I found to run this method on cloud
but what object should I use in cloud script to access that method
I find no documentation for cloud script is there anything

I need to invoke this method to get the list of servers and number of player connected to that server

,

From client I am unable to call GetMultiplayerServerDetails
so on forum I found to run this method on cloud
but what object should I use in cloud script to access that method
I find no documentation for cloud script is there anything

I need to invoke this method to get the list of servers and number of player connected to that server

CloudScriptmultiplayer
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

·
Rick Chen avatar image
Rick Chen answered

It is a multiplayer API, so you can use the predefined variable "multiplayer" to invoke this method on CloudScript. For example, "multiplayer.GetMultiplayerServerDetails".

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.