Download

List SessionSettings

I’m trying to print out my SessionSettings in the log I think I need to iterate through all of the settings doing something like this:

for (i == 0; i++; i < Result.Session.SessionSettings.Settings.Num) {
UE_LOG(LogOnlineGame, Log, TEXT(“Settings: %s, %s”), Result.Session.SessionSettings.Settings*);
}

But that won’t work. Can someone suggest a snippet to output each setting to the log? I’m having trouble figuring out how to iterate through all the settings from the documentation. The array doesn’t seem to support a numeric index.

Do I need to do something like this?

Result.Session.SessionSettings.Settings.CreateIterator()

If so, how do I use this iterator?