Esempio n. 1
0
 public StartupBuilder(RealVirtualityGame game, ModListBuilder builder)
 {
     if (game == null)
     {
         throw new ArgumentNullException(nameof(game));
     }
     if (builder == null)
     {
         throw new ArgumentNullException(nameof(builder));
     }
     _supportsMods = true;
     //_supportsMissions = game.SupportsMissions();
     //_supportsServers = game.SupportsServers();
     _modListBuilder = builder;
 }
Esempio n. 2
0
            public StartupBuilder(RealVirtualityGame game)
            {
                if (game == null)
                {
                    throw new ArgumentNullException(nameof(game));
                }
                //_supportsMods = game.SupportsMods();
                //_supportsMissions = game.SupportsMissions();
                //_supportsServers = game.SupportsServers();

                if (_supportsMods)
                {
                    _modListBuilder = new ModListBuilder();
                }
            }
Esempio n. 3
0
 public RvMod(RealVirtualityGame game, IContentWithPackageName content)
 {
     _game    = game;
     _content = content;
     _myPath  = game.ContentPaths.Path.GetChildDirectoryWithName(content.PackageName);
 }
Esempio n. 4
0
 public RvContentScanner(RealVirtualityGame realVirtualityGame)
 {
     _realVirtualityGame = realVirtualityGame;
 }