using System; using System.Collections.Generic; #nullable enable namespace GameCult.Aetheria.State.Verse { public sealed class AetheriaRuntimeDaemonIntentState { public List Movements { get; } = new List(); public List WeaponGroups { get; } = new List(); public List Behaviors { get; } = new List(); public List Consumables { get; } = new List(); public List Docking { get; } = new List(); public List Wormholes { get; } = new List(); public List SensorPings { get; } = new List(); public bool HasAny => Movements.Count > 0 || SensorPings.Count > 0 || WeaponGroups.Count > 0 || Behaviors.Count > 0 || Consumables.Count > 0 || Docking.Count > 0 || Wormholes.Count > 0; } public sealed class AetheriaRuntimeDaemonMovementIntent { public string ActorEntityKey { get; set; } = ""; public double DirectionX { get; set; } public double DirectionY { get; set; } public double Magnitude { get; set; } } public sealed class AetheriaRuntimeDaemonWeaponGroupIntent { public string ActorEntityKey { get; set; } = ""; public int WeaponGroup { get; set; } = -1; public bool Fire { get; set; } public bool Active { get; set; } } public sealed class AetheriaRuntimeDaemonSensorPingIntent { public string ActorEntityKey { get; set; } = ""; } public sealed class AetheriaRuntimeDaemonBehaviorIntent { public string ActorEntityKey { get; set; } = ""; public int EquipmentIndex { get; set; } = -1; public int BehaviorIndex { get; set; } = -1; public bool Active { get; set; } public string TargetBodyKey { get; set; } = ""; public int TargetAsteroidIndex { get; set; } = -1; } public sealed class AetheriaRuntimeDaemonConsumableIntent { public string ActorEntityKey { get; set; } = ""; public string ItemKey { get; set; } = ""; } public sealed class AetheriaRuntimeDaemonDockingIntent { public string ActorEntityKey { get; set; } = ""; public string TargetEntityKey { get; set; } = ""; public bool Dock { get; set; } public bool Undock { get; set; } } public sealed class AetheriaRuntimeDaemonWormholeIntent { public string ActorEntityKey { get; set; } = ""; public int SourceZoneIndex { get; set; } = -1; public int TargetZoneIndex { get; set; } = -1; public double EntryWormholeX { get; set; } public double EntryWormholeZ { get; set; } public double ExitWormholeX { get; set; } public double ExitWormholeZ { get; set; } public string CommandId { get; set; } = ""; } }