Hello,
If I want to not find any sessions with SessionNames that contain the string “Hideout” and only find Sessions that include the word “Public”, Do I do this:
FOnlineSessionSettings SessionSettings{};
SessionSettings.Set(SEARCH_KEYWORDS, FString(“Public”), EOnlineDataAdvertisementType::ViaOnlineServiceAndPing);
SessionSettings.Set(SEARCH_EXCLUDE_UNIQUEIDS, FString(“Hideout”), EOnlineDataAdvertisementType::ViaOnlineServiceAndPing);
And then in my query settings:
SessionSearch = MakeShareable(new FOnlineSessionSearch);
SessionSearch->QuerySettings.Set(SEARCH_KEYWORDS, FString(“Public”), EOnlineComparisonOp::Equals);
SessionSearch->QuerySettings.Set(SEARCH_EXCLUDE_UNIQUEIDS, FString(“Hideout”), EOnlineComparisonOp::Equals);
Currently this is not working for me.