Answer by Sarah Zhang · Jan 20 at 05:28 AM
Yes, there is an “entity” global variable defined in the CloudScript. You can find the corresponding code snippet in the CloudScript default reversion. Besides, when you want to use the caller’s entity to access the Entity API on CloudScript, you need to call the API ExecuteEntityCloudScript. Please check the following threads for more information.
In addition to “sever” and “entity”, there is also a “multiplayer” variable that can be used to access PlayFab Multiplayer API. The sample code could be something like this.
var apiResult = multiplayer.ListMultiplayerServers({ BuildId: buildId, Region: region });