I am trying to call WriteTelemetryEvents from Unity
to log information before a player has logged in.
Am having trouble understanding the proper aruguments
and where I get them from.
WriteEventsRequest writeEventsRequest = new WriteEventsRequest(); List<EventContents> contentList = new List<EventContents>(); EventContents content = new EventContents(); PlayFabAuthenticationContext context = new PlayFabAuthenticationContext(); context.EntityToken = "???????????"; context.EntityType = "??????????"; context.EntityId = "??????????????"; context.ClientSessionTicket = "??????????????"; content.Name = "my_custom_event"; content.EventNamespace = "custom"; content.Entity = new PlayFab.EventsModels.EntityKey(); content.Entity.Id = "???????????"; content.Entity.Type = "????????????????"; content.PayloadJSON = "{'Name'='jack'}"; contentList.Add(content); writeEventsRequest.Events = contentList; writeEventsRequest.AuthenticationContext = context; PlayFabEventsAPI.WriteTelemetryEvents(writeEventsRequest, TResult, TError);