Inheritance: withSIX.Mini.Core.Games.GameSettings
 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());
 }