public CommandLineProcessor( IConsole console, ICommandBatchProcessor cbp, ICommandsAlias cal, ISyntaxAnalyser sa, IModuleManager modManager, IHookManager hookManager, IExternalParserExtension parserExt, ICommandLineProcessorSettings settings = null ) { _instanceId++; #if DBG_DI_INSTANCE System.Console.Out.WriteLine($"new CLP #{_InstanceId}"); #endif Console = console; ExternalParserExtension = parserExt; parserExt.CommandLineProcessor = this; SyntaxAnalyzer = sa; ModuleManager = modManager; HookManager = hookManager; _settings = settings; CommandBatchProcessor = cbp; CommandsAlias = cal; }
public RogueAssassinSpells(IHookManager hookManager, IObjectManager objectManager) { HookManager = hookManager; ObjectManager = objectManager; Player = ObjectManager?.Player; NextGCDSpell = DateTime.Now; NextCast = DateTime.Now; }
public WarriorFury(IObjectManager objectManager, ICharacterManager characterManager, IHookManager hookManager, IPathfindingHandler pathhandler, DefaultMovementEngine movement) { ObjectManager = objectManager; CharacterManager = characterManager; HookManager = hookManager; PathfindingHandler = pathhandler; MovementEngine = movement; spells = new WarriorFurySpells(hookManager, objectManager); }
public RogueAssassination2(IObjectManager objectManager, ICharacterManager characterManager, IHookManager hookManager, IPathfindingHandler pathhandler, DefaultMovementEngine movement) { ObjectManager = objectManager; CharacterManager = characterManager; HookManager = hookManager; PathfindingHandler = pathhandler; MovementEngine = movement; spells = new RogueAssassinSpells(hookManager, objectManager); }
public WarriorFurySpells(IHookManager hookManager, IObjectManager objectManager) { HookManager = hookManager; ObjectManager = objectManager; Player = ObjectManager.Player; IsInBerserkerStance = false; NextGCDSpell = DateTime.Now; NextStance = DateTime.Now; NextCast = DateTime.Now; }
public PaladinProtection(IObjectManager objectManager, ICharacterManager characterManager, IHookManager hookManager, IPathfindingHandler pathhandler, DefaultMovementEngine movement) { ObjectManager = objectManager; CharacterManager = characterManager; HookManager = hookManager; PathfindingHandler = pathhandler; MovementEngine = movement; Jumped = false; LastTargetCheck = DateTime.Now; }
public ModuleManager( //ISyntaxAnalyser syntaxAnalyser, IModuleCommandManager modComManager, IHookManager modHookManager, IModuleSet moduleSet ) { _modules = moduleSet; //_syntaxAnalyzer = syntaxAnalyser; ModuleCommandManager = modComManager; // new ModuleCommandManager(_syntaxAnalyzer, _modules); ModuleHookManager = modHookManager; // new ModuleHookManager(_modules); }
public InputService() { Mouse = new MouseHandler(); Keyboard = new KeyboardHandler(); if (ApplicationSettings.Instance.DebugEnabled) { _hookManager = new DebugHelperHookManager(); } else { _hookManager = new WinApiHookManager(); } }
public DeathknightBlood(IObjectManager objectManager, ICharacterManager characterManager, IHookManager hookManager) { ObjectManager = objectManager; CharacterManager = characterManager; HookManager = hookManager; }
/// <summary> /// Registers an IHookManager. /// </summary> /// <param name="containerType">The type of the <see cref="HookContainer" /> the <see cref="IHookManager" /> manages.</param> /// <param name="hookMgr">The IHookManager to register.</param> public static void RegisterManager(Type containerType, IHookManager hookMgr) { managers.Add(containerType, hookMgr); }
public DeathknightBlood(IObjectManager objectManager, IHookManager hookManager) { ObjectManager = objectManager; HookManager = hookManager; }