Josh Posted December 13, 2016 Share Posted December 13, 2016 Analytics:SetKeys("GAMEKEYxxxxxxxx","PRIVATEKEYxxxxxxxx")--Create a gameanalytics.com project to get these Analytics:Enable() Analytics:SendGenericEvent("Kill a mutant") Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
martyj Posted December 13, 2016 Share Posted December 13, 2016 Are network requests ran on a separate thread? Or will this be something that could lock up the UI? 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted December 13, 2016 Author Share Posted December 13, 2016 It presently could lock up the game. I am changing it to create a queue of events that are recorded and sent when the game shuts down. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
martyj Posted December 13, 2016 Share Posted December 13, 2016 Might be easier and more reliable to store them in a queue, then use an std::thread which checks the queue for events to be sent off. That way if the game crashes, (which in C++ land happens a lot), you can still have the data. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.