I need to call client API ExecuteCloudScript each time when the player logs in. Right now, I call client API ExecuteCloudScript 3 times one after another when the player logs in because I have 3 different CloudScript functions.
I do the following things in the ExecuteCloudScript calls:
-First ExecuteCloudScript call: I call Title Player Internal Data to get one key/value pair.
Then, I only make the next 3 client API calls if the player has a working account:
-Second ExecuteCloudScript call: I call Title Player Internal Data to get one key/value pair.
-Third ExecuteCloudScript call: I call Title Player Read Only Data to get one key/value pair.
-Fourth client API call, I call PlayFabProfilesAPI.GetProfile when the player logs in to get his profile language.
Would it be better to make less client API calls when the player logs in? I could change the Title Player Read Only Data call to a Title Player Internal Data call because the key/value pair doesn't need to be in Read Only Data.
Does it cost me more money if I do it like this? Would it be cheaper if I change my code and if I make less client API calls and if I would only use 1 CloudScript function for everything instead of 3 different CloudScript functions?