mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-14 20:53:30 +08:00
allow adding target points
This commit is contained in:
@@ -30,7 +30,7 @@ public class PathRecorder
|
||||
TaskControl.Logger.LogInformation("已创建初始路径点({x},{y})", waypoint.X, waypoint.Y);
|
||||
}
|
||||
|
||||
public void AddWaypoint()
|
||||
public void AddWaypoint(WaypointType waypointType = WaypointType.Transit)
|
||||
{
|
||||
var waypoint = new Model.Waypoint();
|
||||
var screen = TaskControl.CaptureToRectArea();
|
||||
@@ -38,7 +38,7 @@ public class PathRecorder
|
||||
position = MapCoordinate.Main2048ToGame(position);
|
||||
waypoint.X = position.X;
|
||||
waypoint.Y = position.Y;
|
||||
waypoint.WaypointType = Model.WaypointType.Transit;
|
||||
waypoint.WaypointType = waypointType;
|
||||
var motionStatus = Bv.GetMotionStatus(screen);
|
||||
switch (motionStatus)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user