For example, you need to level up your character. I want to write in CloudScript. I want to read a predefined character table from the database, compute this table data and send it to the client (frontend).
Is there any way to do this?
For example, you need to level up your character. I want to write in CloudScript. I want to read a predefined character table from the database, compute this table data and send it to the client (frontend).
Is there any way to do this?
You can call the Client API ExecuteCloudScript on clients to execute a specific CloudScript functions that host on the handler, the result returned by the function will be contained in the response of this API. Then you can parse the API response and extract the data you need on the cliens. For more information about how to use the CloudScript, you can check the documentation -- Writing custom CloudScript - PlayFab | Microsoft Docs. Besides, please note don’t exceed the limits of the CloudScript usage when using the CloudScript, you can navigate to [Game Manager]->[Title settings]->[Limits] (https://developer.playfab.com/en-US/c/[YourTitleID]/limits) to check more detailed usage limits of your title.
1 Person is following this question.