Dear Developers,
I would like to retrieve the names and representative character IDs of 25 people at a time by the Profile/GetProfiles API.
I plan to do so when displaying the group's application list, invitation list, members list, and friend list.
I have referred to the following page.
Please let me know the following two points.
Thanks in advance!
(additional information)
I use SetObjects to set the player name and some player-specific public information into the title_player_account entity object.
I've already succeeded in getting those data by GetProfiles.
Answer by Sarah Zhang · Nov 15, 2021 at 09:45 AM
>> When I get 25 title_player_account profiles by GetProfiles, is the Profile Read meter cost the same as when I get only 1 profile? If not, how much?
For clarification, the logic of evaluating the usage of Events also applies evaluating your usage of Profile, each 1 KB increases the meter count by 1. And for Profile Reads, this 1 KB calculation applies to the total data returned, regardless of the number of key value pairs. This means that writing 10 keys of 100 bytes each is 10 "ticks" of the profile write meter, since each key value pair write is a minimum of 1 KB, while a read of those 10 keys is 1 "tick", since it's a total of 1 KB. For more specific details on the usages, see Pricing meters.
So, generally, the meter of getting 25 title_player_account profiles will be higher than getting 1 profile via calling GetProfiles, unless the latter has a larger amount of profile data.
>> When I get 25 title_player_account profiles by GetProfiles, are there any factors that affect the price, such as higher meter consumption?
The pricing will depend on your subscription plan and the meter. Please check the pricing page - Pricing (playfab.com) and the documentations - Billing Summary + Base Rate - PlayFab | Microsoft Docs, Development Mode - PlayFab | Microsoft Docs to learn about the base rate of every plan and how we will charge you for the additional usage.
As the first answer said, the meter of Profile reads will only be affected by the total amount of the data you read monthly. You can read this documentation - PlayFab Consumption Best Practices - PlayFab | Microsoft Docs, spetically this section - Data and Statistics for the details of the best practice to reduce the consumption.
Thank you very much for your reply!
I have checked all the links you gave me.
Let me ask a similar question.
I use the following APIs to get the Player's UserReadOnlyData, UserInventory, and UserVirtualCurrency together.
Since these are also Profile Reads, is the cost calculated by the total data size returned?
Hello, Could you please answer the above question?
Perhaps I should re-post this as a separate question?
How do I retrieve DisplayName from a PlayerTitleId (Entity Id for a player in a Group)? 1 Answer
Does anybody know of a solid video tutorial for Entities (objects and files)? 1 Answer
ENTITY GLOBAL TITLE POLICY so that only members can read Entity Objects of an Entity Group 1 Answer
Exchanging Party network descriptors: shared group data vs group entities 1 Answer