Наследование: withSIX.Mini.Core.Games.GameSettings
Пример #1
0
 public StarboundGame(Guid id, StarboundGameSettings settings) : base(id, settings) {
     _executables =
         new Lazy<IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem
             ? Metadata.GetExecutables().ToArray()
             : Metadata.GetExecutables().Skip(1).ToArray());
     _serverExecutables =
         new Lazy<IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem
             ? Metadata.GetServerExecutables().ToArray()
             : Metadata.GetServerExecutables().Skip(1).ToArray());
 }
Пример #2
0
 public StarboundGame(Guid id, StarboundGameSettings settings) : base(id, settings)
 {
     _executables =
         new Lazy <IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem
             ? Metadata.GetExecutables().ToArray()
             : Metadata.GetExecutables().Skip(1).ToArray());
     _serverExecutables =
         new Lazy <IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem
             ? Metadata.GetServerExecutables().ToArray()
             : Metadata.GetServerExecutables().Skip(1).ToArray());
 }