for Push.

This commit is contained in:
nobobo
2026-06-01 13:23:34 +09:00
parent 9e093ea99f
commit a6550e9928
93 changed files with 10393 additions and 0 deletions
@@ -0,0 +1,22 @@
using KssSmaPlaLib.AutoTest.Command.Definition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KssSmaPlaLib.AutoTest.Command.Alias
{
public class CommandAliasUxer
{
private static Dictionary<string, CommandEnumUxer.Command> _reverseMap = new Dictionary<string, CommandEnumUxer.Command>();
public static void SetAleiasDic(Dictionary<string, CommandEnumUxer.Command> dic)
{
_reverseMap = dic;
}
public static bool TryTranslate(string userCommand, out CommandEnumUxer.Command command)
=> _reverseMap.TryGetValue(userCommand, out command);
}
}