Esempio n. 1
0
 /// <summary>
 /// Gets the object that validates plugin order for this game mode.
 /// </summary>
 /// <returns>The object that validates plugin order for this game mode.</returns>
 public override IPluginOrderValidator GetPluginOrderValidator()
 {
     if (m_povPluginOrderValidator == null)
     {
         m_povPluginOrderValidator = new GamebryoPluginOrderValidator(OrderedCriticalPluginNames);
     }
     return(m_povPluginOrderValidator);
 }
        public void SetUp()
        {
            _fakeTrueMaster  = new GamebryoPlugin("FakePath", "Fake Master", null, true, false);
            _fakeLightMaster = new GamebryoPlugin("FakePath", "Fake Light Master", null, false, true);
            _fakeBothMasters = new GamebryoPlugin("FakePath", "Fake True Light Master", null, true, true);
            _fakeRegularMod  = new GamebryoPlugin("FakePath", "Fake regular mod", null, false, false);

            _validator = new GamebryoPluginOrderValidator(new string[0]);
        }