// Copyright © Gamesmiths Guild. using Godot; namespace Gamesmiths.Forge.Godot.Resources.Statescript; /// /// Represents a connection between two nodes in the Statescript graph. /// [Tool] public partial class StatescriptConnection : Resource { /// /// Gets or sets the source node id. /// [Export] public string FromNode { get; set; } = string.Empty; /// /// Gets or sets the source port index. /// [Export] public int OutputPort { get; set; } /// /// Gets or sets the destination node id. /// [Export] public string ToNode { get; set; } = string.Empty; /// /// Gets or sets the destination port index. /// [Export] public int InputPort { get; set; } }