brainCloud V4 Client Changes

Paul from brainCloud
May 22 · 3 min read

Singleton Mode has been removed


Refactored RTT Registration

// Old code
_bc.EnableRTT(rttConnectionType, successCallback, failureCallback);
// New code
_bc.RTTService.EnableRTT(rttConnectionType, successCallback, failureCallback);

Wrapped Libraries in Unity / C#

// Old code
using JsonFx.Json;
// New code
using BrainCloud.JsonFx.Json;

Renamed the brainCloud Settings Plug-in in Unity

// Old code
using BrainCloudUnity.BrainCloudPlugin;
// New code
using BrainCloudUnity.BrainCloudSettingsDLL;
// Old code
id = BrainCloudPluginSettings.DEFAULT_TEMPLATE_ID_KEY
// New code
id = BaseBrainCloudSettings.DEFAULT_TEMPLATE_ID_KEY

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade