Add TriggerActionFactory and related resources for button and logic sequence components

This commit is contained in:
2025-10-30 02:21:27 +01:00
parent f2ff758dcb
commit 2c126cd7ea
22 changed files with 250 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
using Godot;
using Godot.Collections;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class ButtonComponentResource : Resource
{
[Export] public string ChannelId { get; set; } = "default_channel";
[Export] public bool IsToggle { get; set; } = false;
[Export] public bool IsOneTimeUse { get; set; } = false;
[ExportGroup("Requirements")]
[Export] public Array<InteractionRequirementResource> Requirements { get; set; } = [];
}