File tree Expand file tree Collapse file tree
api/src/main/java/eu/darkbot/api/managers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ public interface ShipWarpAPI extends API.Singleton {
1111
1212 /**
1313 * Open's ship warp window to update proxy data
14+ * @return true if done opening, false if more calls are required
1415 */
15- void updateShipList ();
16+ boolean updateShipList ();
1617
1718 /**
1819 * @return if Ship is near a station to warp for free
@@ -24,6 +25,26 @@ public interface ShipWarpAPI extends API.Singleton {
2425 */
2526 List <? extends Ship > getShips ();
2627
28+ /**
29+ * Works towards selecting a ship for warp, may require multiple calls
30+ * @param ship The ship to select for warping. Must be an instance obtained from {@link #getShips()}
31+ * @return true if done, false if failed or more calls are required
32+ */
33+ boolean clickShip (Ship ship );
34+
35+ /**
36+ * Works towards selecting a ship for warp, may require multiple calls
37+ * @param index The index in {@link #getShips()} to warp to. Out of bounds return false.
38+ * @return true if done, false if failed or more calls are required
39+ */
40+ boolean clickShip (int index );
41+
42+ /**
43+ * Works towards warping to the selected ship, may require multiple calls
44+ * @return true if done, false if more calls are required
45+ */
46+ boolean clickWarp ();
47+
2748 /**
2849 * In Game Ship representation to warp to
2950 */
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
2121 api(project(" :darkbot-shared" ))
2222}
2323
24- val apiVersion = " 0.9.8 "
24+ val apiVersion = " 0.9.9 "
2525
2626allprojects {
2727 group = " eu.darkbot"
You can’t perform that action at this time.
0 commit comments