Can I get access to Entity GetObjects/SetObjects methods from CloudScript? I see some undocumented calls here or here. Do 'server' variable really has GetEntity method? Or do we have 'entity' global variable?
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 });
2 People are following this question.