refactor(plugins): プラグイン管理UIのグループ化表示および特定ゲーム専用プラグインの分離に対応

- ModPluginDefinition に IsGameSpecific, TargetGameKey, GroupName, DefaultEnabled を追加
- プリンセスシナジー専用プラグイン(AlwaysMaxHp/AlwaysMaxMp)を一般ゲーム一覧から除外し対象ゲーム限定で表示
- TkoolGameItem のプラグイン一覧を CommonPluginOptions と SpecificPluginOptions に分離
- プラグイン設定Expander内に「共通プラグイン」と「固有ゲーム専用プラグイン」のグループ分けUIを実装
- 右側詳細パネルのレイアウトを改善し、起動ボタンを上部固定したまま下部設定のみを開閉可能に変更
- 不要な旧プラグイン GameLauncher_Mod.js の削除および読み込み除外処理を徹底
This commit is contained in:
armonica committed 2026-10-09 10:48:20 +09:00
1 parent c0989362a9
commit 6f98860892
8 files changed
+273 -198

No files matched your search

+16 -3
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -31,7 +31,11 @@ namespace GameLauncher.Engines.Tkool
"BattleTurnRecover",
"MaxGainGold",
"MaxGainExp",
"InstantMessage"
"InstantMessage",
"GameLauncher_Mod",
"GameLauncherMod",
"GameLauncher_StandaloneMod",
"GameLauncherStandaloneMod"
];
private List<ModPluginDefinition> _availablePlugins = [];
@@ -86,7 +90,16 @@ namespace GameLauncher.Engines.Tkool
{
try
{
list.Add(ModPluginDefinition.FromFile(file));
var def = ModPluginDefinition.FromFile(file);
if (string.Equals(def.Id, "GameLauncher_Mod", StringComparison.OrdinalIgnoreCase) ||
string.Equals(def.Id, "GameLauncher_StandaloneMod", StringComparison.OrdinalIgnoreCase) ||
string.Equals(def.Id, "GameLauncherMod", StringComparison.OrdinalIgnoreCase) ||
string.Equals(def.Id, "GameLauncherStandaloneMod", StringComparison.OrdinalIgnoreCase))
{
continue;
}
list.Add(def);
}
catch { }
}