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