function PlayFabReporter.fireEvent(y,U,C)assert(type(U)=="\115\116\114\105\110\103","\067\097\116\101\103\111\114\121 \109\117\115\116 \098\101 \097 \115\116\114\105\110\103")assert(type(C)=="\116\097\098\108\101","\086\097\108\117\101 \109\117\115\116 \098\101 \097 \106\115\111\110 \116\097\098\108\101")local L=pcall(HttpService.JSONEncode,HttpService,C)assert(L,"\086\097\108\117\101 \109\117\115\116 \098\101 \097 \118\097\108\105\100 \106\115\111\110 \116\097\098\108\101")y._reportingService:FireEvent(U,C)end return PlayFabReporter
-- category : (string) the name that will appear in the PlayFab event dashboard
-- value : (table) a json blob of data that contextualizes the event being sent
function PlayFabReporter:fireEvent(category, value)
	assert(type(category) == "string", "Category must be a string")
	assert(type(value) == "table", "Value must be a json table")

	local isValidJSON = pcall(HttpService.JSONEncode, HttpService, value)
	assert(isValidJSON, "Value must be a valid json table")

	-- pass the data down to AnalyticsService
	self._reportingService:FireEvent(category, value)
end

return PlayFabReporter
