You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
/src/ROBOMERGE_ENGINE_Dev_Networking/Engine/Source/Runtime/Sockets/Private/BSDSockets/SocketsBSD.cpp - merging //UE4/Main/Engine/Source/Runtime/Sockets/Private/BSDSockets/SocketsBSD.cpp#20 -------------------------------------- Copying //UE4/Dev-Enterprise[at]4705006 to Dev-Main (//UE4/Dev-Main) #rb none #lockdown Nick.Penwarden #ROBOMERGE-OWNER: ryan.gerleve #ROBOMERGE-AUTHOR: francis.hurteau #ROBOMERGE-SOURCE: CL 4705151 in //UE4/Main/... #ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) [CL 4712032 by ryan gerleve in Dev-Networking branch]
47 lines
765 B
C#
47 lines
765 B
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace nDisplayLauncher.Cluster.Config
|
|
{
|
|
public enum ConfigurationVersion
|
|
{
|
|
//Unknown = 0,
|
|
Ver21, // 4.21 and older
|
|
Ver22
|
|
}
|
|
|
|
public static class ConfigurationVersionHelpers
|
|
{
|
|
public static ConfigurationVersion FromString(string Ver)
|
|
{
|
|
if (Ver.CompareTo("22") == 0)
|
|
{
|
|
return ConfigurationVersion.Ver22;
|
|
}
|
|
else
|
|
{
|
|
return ConfigurationVersion.Ver21;
|
|
}
|
|
}
|
|
|
|
public static string ToString(ConfigurationVersion Ver)
|
|
{
|
|
switch (Ver)
|
|
{
|
|
case ConfigurationVersion.Ver22:
|
|
return "22";
|
|
|
|
default:
|
|
return "21";
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|