feat(mosstank): add VTank-style automation PoC
This commit is contained in:
parent
f6fe0f2a4f
commit
4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions
28
src/AcDream.Plugin.Abstractions/NetworkAutomation.cs
Normal file
28
src/AcDream.Plugin.Abstractions/NetworkAutomation.cs
Normal 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>();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue