carb::settings::appendToStringArray

Defined in omni/extras/SettingsHelpers.h

inline void carb::settings::appendToStringArray(const char *path, const std::vector<std::string> &values)

Appends a set of string values to the end of a setting key.

See also

carb::settings::ISettings

Parameters
  • path – The setting key path containing a string array. If the key does not exist it will be created. If the key is already present as a different type it will be changed to a string array.

  • values – A std::vector of string values to add to the end of the string array at the setting key