Пример #1
0
 public static void SetNewGamePlotStates(
     this SFXSaveGameFile target,
     SFXSaveGameFile legacyImport,
     SFXSaveGameFile plusImport)
 {
     if (legacyImport != null)
     {
         target.CopyMe2PlotData(legacyImport);
         target.SetPlayerPlotData();
         target.DoMe2PlotImport(legacyImport);
     }
     else if (plusImport != null)
     {
         target.DoMe3NewGamePlusImport(plusImport);
         target.SetPlayerPlotData();
     }
     else
     {
         target.SetPlayerPlotData();
         target.ApplyCanonPlots(Me1CanonPlotVariables);
         target.ApplyCanonPlots(Me2CanonPlotVariables);
     }
 }