Fixed duplicating lobby results (forgot to use second array second time around).

Changed HasOnlineSubsystem to use a better function

Not running second search for AllServers enum when the subsystem isn't steam
Steam is the only subsystem that actually uses the flags that deal with that.


Former-commit-id: b07eadc87eaf82584ec63b6b4e91ace69fd5023f
This commit is contained in:
morden
2017-02-25 15:04:46 -05:00
parent cc9cc9b390
commit e9523733c1
4 changed files with 80 additions and 47 deletions

View File

@@ -99,9 +99,9 @@ enum class EBlueprintAsyncResultSwitch : uint8
UENUM(BlueprintType)
enum class EBPServerPresenceSearchType : uint8
{
AllServers,
ClientServersOnly,
DedicatedServersOnly,
AllServers
DedicatedServersOnly
};
// Wanted this to be switchable in the editor

View File

@@ -51,8 +51,9 @@ private:
// Internal callback when the session search completes, calls out to the public success/failure callbacks
void OnCompleted(bool bSuccess);
bool bRunSecondSearch;
bool bRunSecondSearch;
bool bIsOnSecondSearch;
TArray<FBlueprintSessionResult> SessionSearchResults;
private: