/** * Assign a platform as a member of the given group */ public static void RegisterPlatformWithGroup(STTargetPlatform InPlatform, STPlatformGroup InGroup) { // find or add the list of groups for this platform PlatformGroupDictionary.GetOrAddNew(InGroup).Add(InPlatform); }
/** * Retrieve the list of platforms in this group (if any) */ public static List<STTargetPlatform> GetPlatformsInGroup(STPlatformGroup InGroup) { List<STTargetPlatform> PlatformList; PlatformGroupDictionary.TryGetValue(InGroup, out PlatformList); return PlatformList; }