コード例 #1
0
 /// <summary>
 /// Changes to a specific <see cref="CustomPlatform"/> and saves the choice
 /// </summary>
 /// <param name="index">The index of the new platform in <see cref="AllPlatforms"/></param>
 internal static void SetPlatformAndShow(int index)
 {
     CurrentPlatform = AllPlatforms[index % AllPlatforms.Count];
     CONFIG.SetString("Data", "CustomPlatformPath", CurrentPlatform.platName + CurrentPlatform.platAuthor);
     PlatformLifeCycleManagement.InternalChangeToPlatform(index);
 }