feat(mosstank): add VTank-style automation PoC

This commit is contained in:
Erik 2026-08-27 18:57:21 +02:00
parent f6fe0f2a4f
commit 4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions

View file

@ -0,0 +1,28 @@
namespace AcDream.Plugin.Abstractions;
/// <summary>
/// One other live acdream client discovered by the host's local peer service.
/// The shape mirrors UtilityBelt's ClientData expression contract.
/// </summary>
public readonly record struct PluginNetworkClient(
uint ClientId,
uint PlayerId,
string Name,
string WorldName,
PluginNavigationPosition Position,
IReadOnlyList<string> Tags,
uint CurrentHealth,
uint CurrentMana,
uint CurrentStamina,
uint MaxHealth,
uint MaxMana,
uint MaxStamina,
float Heading);
/// <summary>Read-only discovery of other local acdream client processes.</summary>
public interface INetworkAutomation
{
bool IsAvailable => false;
IReadOnlyList<PluginNetworkClient> CaptureClients() =>
Array.Empty<PluginNetworkClient>();
}