@@ -411,7 +411,7 @@ namespace gameanalytics
411411 out[" user_id" ] = getUserId ();
412412
413413 // remote configs configurations
414- if (getInstance ()._configurations .is_object () && !getInstance ()._configurations .empty ())
414+ if (getInstance ()._gameRemoteConfigsJson .is_object () && !getInstance ()._gameRemoteConfigsJson .empty ())
415415 {
416416 out[" configurations_v3" ] = getInstance ().getRemoteConfigAnnotations ();
417417 }
@@ -895,7 +895,7 @@ namespace gameanalytics
895895
896896 json contents;
897897
898- for (auto & obj : getInstance ()._configurations )
898+ for (auto & obj : getInstance ()._gameRemoteConfigsJson )
899899 {
900900 if (obj.contains (" key" ) && obj.contains (" value" ))
901901 {
@@ -913,7 +913,7 @@ namespace gameanalytics
913913 void GAState::populateConfigurations (json& sdkConfig)
914914 {
915915 std::lock_guard<std::recursive_mutex> guard (_mtx);
916- _configurations = {};
916+ _gameRemoteConfigsJson = {};
917917
918918 try
919919 {
@@ -933,7 +933,7 @@ namespace gameanalytics
933933
934934 if (!key.empty () && configuration.contains (" value" ) && client_ts_adjusted > start_ts && client_ts_adjusted < end_ts)
935935 {
936- _configurations [key] = configuration;
936+ _gameRemoteConfigsJson [key] = configuration;
937937 logging::GALogger::d (" configuration added: %s" , configuration.dump (JSON_PRINT_INDENT).c_str ());
938938 }
939939 }
@@ -942,7 +942,7 @@ namespace gameanalytics
942942
943943 _remoteConfigsIsReady = true ;
944944
945- std::string const configStr = _configurations .dump ();
945+ std::string const configStr = _gameRemoteConfigsJson .dump ();
946946 for (auto & listener : _remoteConfigsListeners)
947947 {
948948 listener->onRemoteConfigsUpdated (configStr);
@@ -1161,7 +1161,7 @@ namespace gameanalytics
11611161 json GAState::getRemoteConfigAnnotations ()
11621162 {
11631163 json configs;
1164- for (json& obj : _configurations )
1164+ for (json& obj : _gameRemoteConfigsJson )
11651165 {
11661166 json cfg;
11671167 cfg[" vsn" ] = utilities::getOptionalValue<int >(obj, " vsn" , 0 );
0 commit comments