forked from julianperrott/WowClassicGrindBot
-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: RemoteV3 new branch of AmeisenNavigation
Core: Added PathVisualizer. Currently PPather only works with Wotlk maps for viz. Not suitable for Cata maps. While using RemoteV3 and RemoteV1 is available as well, the generated paths and player positions can be visualized. Core: RemoteV3 uses new build of AmeisenNavigation which is more performant during startup and supports multiple mmaps versions.
- Loading branch information
Showing
8 changed files
with
185 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Text.Json; | ||
using System.Threading.Tasks; | ||
|
||
using PPather.Data; | ||
|
||
namespace Core; | ||
|
||
public interface IPathVizualizer : IDisposable | ||
{ | ||
HttpClient Client { get; } | ||
JsonSerializerOptions Options { get; } | ||
|
||
ValueTask DrawLines(List<LineArgs> lineArgs); | ||
ValueTask DrawSphere(SphereArgs args); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Text.Json; | ||
using System.Threading.Tasks; | ||
|
||
using PPather.Data; | ||
|
||
namespace Core; | ||
|
||
internal sealed class NoPathVisualizer : IPathVizualizer | ||
{ | ||
public HttpClient Client => throw new System.NotImplementedException(); | ||
|
||
public JsonSerializerOptions Options => throw new System.NotImplementedException(); | ||
|
||
public void Dispose() { } | ||
|
||
public ValueTask DrawLines(List<LineArgs> lineArgs) => ValueTask.CompletedTask; | ||
|
||
public ValueTask DrawSphere(SphereArgs args) => ValueTask.CompletedTask; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.