示例#1
0
 /**
  * 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);
 }
示例#2
0
 /**
  * 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;
 }