24 lines
581 B
C#
24 lines
581 B
C#
namespace Poe2Trade.Screen;
|
|
|
|
public record DetectedEnemy(
|
|
float Confidence,
|
|
int X, int Y, int Width, int Height,
|
|
int Cx, int Cy,
|
|
bool HealthBarConfirmed);
|
|
|
|
public record DetectionSnapshot(
|
|
IReadOnlyList<DetectedEnemy> Enemies,
|
|
long Timestamp,
|
|
float InferenceMs);
|
|
|
|
public record DetectedBoss(
|
|
string ClassName,
|
|
float Confidence,
|
|
int X, int Y, int Width, int Height,
|
|
int Cx, int Cy,
|
|
float VxPerMs = 0, float VyPerMs = 0);
|
|
|
|
public record BossSnapshot(
|
|
IReadOnlyList<DetectedBoss> Bosses,
|
|
long Timestamp,
|
|
float InferenceMs);
|