protected ComponentSolverShim(BombCommander bombCommander, BombComponent bombComponent, string moduleType) : base(bombCommander, bombComponent) { // Passing null to the BombCommander argument here because _unshimmed is only used to run RespondToCommandInternal(); we don’t want it to award strikes/solves etc. because this object already does that _unshimmed = ComponentSolverFactory.CreateDefaultModComponentSolver(null, bombComponent, moduleType, bombComponent.GetModuleDisplayName()); modInfo = _unshimmed.modInfo; }
protected ComponentSolverShim(TwitchModule module, string moduleType) : base(module) { // Passing null to the BombCommander argument here because Unshimmed is only used to run RespondToCommandInternal(); we don’t want it to award strikes/solves etc. because this object already does that Unshimmed = ComponentSolverFactory.CreateDefaultModComponentSolver(module, moduleType, module.BombComponent.GetModuleDisplayName(), false); ModInfo = Unshimmed.ModInfo; }