Esempio n. 1
0
 public CombatModule(
     CustomClasses customClasses,
     ObjectManager objectManager,
     PathModule pathModule)
 {
     CustomClasses = customClasses;
     ObjectManager = objectManager;
     PathModule    = pathModule;
 }
Esempio n. 2
0
 public MerchantModule(
     Inventory inventory,
     ObjectManager objectManager,
     PathModule pathModule)
 {
     Inventory     = inventory;
     ObjectManager = objectManager;
     PathModule    = pathModule;
 }
Esempio n. 3
0
 public NPCScanModule(
     ObjectManager objectManager,
     PathModule pathModule,
     ProfileLoader profileLoader,
     Skills skills)
 {
     ObjectManager = objectManager;
     PathModule    = pathModule;
     ProfileLoader = profileLoader;
     Skills        = skills;
 }
Esempio n. 4
0
 public void LootCorpse(WoWUnit corpse)
 {
     if (corpse.DistanceToPlayer < 2)
     {
         corpse.Interact(true);
     }
     else
     {
         PathModule.Traverse(corpse.Position);
     }
 }
Esempio n. 5
0
 public void InteractWithVendor(WoWUnit vendor)
 {
     if (!MerchantFrame.IsOpen)
     {
         if (vendor.DistanceToPlayer < 2)
         {
             vendor.Interact(false);
         }
         else
         {
             PathModule.Traverse(vendor.Position);
         }
     }
 }