feat: add ScriptManager for VN Gaming

This commit is contained in:
2025-11-26 04:54:51 +09:00
parent 090f9da990
commit d7c5f3113a
11 changed files with 396 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
using System.Collections.Generic;
public class ScriptAction
{
public string Type { get; set; }
public Dictionary<string, object> Params { get; set; } = new Dictionary<string, object>();
public List<Dictionary<string, string>> Choices { get; set; }
public string GetParam(string key, string defaultValue = "")
{
return Params.ContainsKey(key) ? Params[key].ToString() : defaultValue;
}
}