Hello, we would like to send analytics event from an Unreal server with WriteCharacterEvent, but for specific CharacterId linked to account authenticate with Unreal client. We will authenticate our Unreal server with a dedicated server account, but we are not sure that Playfab will accept event for a CharacterId that does not belong to this dedicated server account. Will it work ? Or is there another solution to do so ? Thanks
Answer by jital · Apr 24, 2019 at 04:20 PM
Yes, this will work. The WriteCharacterEvent API call documentation states that the CharacterId parameter is for a character that belongs to a user. In PlayFab the server is not a user, so making this call does not require the supplied characterId to belong to the server. This Server API exists to prevent clients from writing fraudulent events to the Title.
Hello,
thanks for answer. Indeed, we didn't pay attention that they where 2 differents API, that's exactly what we were looking for. Thanks you