Merge remote-tracking branch 'runelite/master'
This commit is contained in:
@@ -75,6 +75,7 @@ public enum HotColdLocation
|
||||
DESERT_UZER(MASTER, new WorldPoint(3432, 3105, 0), DESERT, "West of Uzer.", BRASSICAN_MAGE),
|
||||
DESERT_POLLNIVNEACH(MASTER, new WorldPoint(3288, 2976, 0), DESERT, "West of Pollnivneach.", BRASSICAN_MAGE),
|
||||
DESERT_MTA(MASTER, new WorldPoint(3347, 3295, 0), DESERT, "Next to Mage Training Arena.", BRASSICAN_MAGE),
|
||||
DESERT_RUINS_OF_ULLEK(MASTER, new WorldPoint(3428, 2773, 0), DESERT, "South-east of Ruins of Ullek.", BRASSICAN_MAGE),
|
||||
DESERT_SHANTY(MASTER, new WorldPoint(3292, 3107, 0), DESERT, "South-west of Shantay Pass.", BRASSICAN_MAGE),
|
||||
DRAYNOR_MANOR_MUSHROOMS(BEGINNER, new WorldPoint(3096, 3379, 0), MISTHALIN, "Patch of mushrooms just northwest of Draynor Manor"),
|
||||
DRAYNOR_WHEAT_FIELD(BEGINNER, new WorldPoint(3120, 3282, 0), MISTHALIN, "Inside the wheat field next to Draynor Village"),
|
||||
|
||||
@@ -69,7 +69,9 @@ public class CrowdsourcingMovement
|
||||
int distance = nextPoint.distanceTo(lastPoint);
|
||||
if (distance > 2 || nextIsInInstance != lastIsInInstance)
|
||||
{
|
||||
MovementData data = new MovementData(lastPoint, nextPoint, lastIsInInstance, nextIsInInstance, ticksStill, lastClick);
|
||||
MovementData data = new MovementData(lastPoint, nextPoint, lastIsInInstance, nextIsInInstance,
|
||||
ticksStill, lastClick.getMenuAction(), lastClick.getId(), lastClick.getMenuOption(),
|
||||
lastClick.getMenuTarget(), lastClick.getParam0(), lastClick.getParam1());
|
||||
manager.storeEvent(data);
|
||||
}
|
||||
if (distance > 0)
|
||||
|
||||
@@ -27,8 +27,8 @@ package net.runelite.client.plugins.crowdsourcing.movement;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import net.runelite.api.MenuAction;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@@ -39,5 +39,10 @@ public class MovementData
|
||||
private final boolean fromInstance;
|
||||
private final boolean toInstance;
|
||||
private final int ticks;
|
||||
private MenuOptionClicked lastClick;
|
||||
private MenuAction menuAction;
|
||||
private int menuIdentifier;
|
||||
private String menuOption;
|
||||
private String menuTarget;
|
||||
private int param0;
|
||||
private int param1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user