Hello,
I have a question regarding the "client_Focus_change" event.
I pulled out some data and I noticed that the EntityType is associated only with "title_player_account". Why the "EntityType: player" is missing from this event? Is there any way we can introduce this value within the EntityType?
If not, is it possible to implement a new parameter called "player_id" within "client_focus_change" event? How?
Thank you!
Answer by SethDu · Dec 08, 2020 at 02:44 AM
There is no Entity Type named “Player”. Please check the all types on Available Built-In Entity Types - PlayFab | Microsoft Docs. I believe what you have mentioned about “player” is a terminology in classic data model, meanwhile “client_focus_change” is generated by entity API. You may learn more about Entity data model from Entities quickstart - PlayFab | Microsoft Docs.
Client focus tracking is a feature, which is only implemented on Unity SDK, If you dig into the source code of SDK, the event is generate by WriteEvents API call, you are able to modify the source code to add additional information, or directly call the API.
Please understand that both classic data model and entity model can be used in your projects and feel free to tell us if you have any other questions.
Looking for a viable way to save our mutiple json files. 1 Answer
How do I read Entity Title Data Objects from my Backend server? 1 Answer
Is there a way to Send Data between Clients ? 1 Answer
Create table in data explorer(advanced) 2 Answers
How to distinguish data between development version and live version in PlayFab? 1 Answer