Ejemplo n.º 1
0
 /// <summary>
 /// Mouses over an alleged NPC. Left-clicks if the NPC text appears.
 /// </summary>
 /// <param name="ObjectsToCheck">alleged NPC</param
 /// <param name="click">set to false to skip clicking on the NPC</param>
 /// <param name="randomization">maximum number of pixels from the center of the blob that it is safe to click</param>
 /// <returns>true if a matching NPC is found and clicked on</returns>
 internal bool MouseOverDroppedItem(Blob item, bool click = true, int randomization = 5, int maxWait = 1000)
 {
     return(MouseOver(item.Center, RGBHSBRangeFactory.MouseoverTextDroppedItem(), click, randomization, maxWait));
 }