Web3 手册改为章节阅读窗口,修复手册文本引号转义
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
80aa82c8f0
commit
d21dcebd18
7 files changed
+95
-2
No files matched your search
@@ -30,6 +30,7 @@ namespace Decentralized
|
||||
public const string LookTag = "PD_LOOK", BackTag = "PD_BACK", SeedTag = "PD_SEED", ClaimTag = "PD_CLAIM", ExposedTag = "PD_EXPOSED", MarkupTag = "PD_MARKUP", EditedTag = "PD_EDITED";
|
||||
|
||||
public static Action OpenTerminal;
|
||||
public static Action OpenHandbook;
|
||||
/// <summary>硬件钱包拖到交易终端上:添加一个钱包(参数:是否被投毒)。</summary>
|
||||
public static Action<bool> AddWallet;
|
||||
public static Func<bool> CanAddWallet;
|
||||
@@ -96,6 +97,9 @@ namespace Decentralized
|
||||
item.SetSpriteAndShapeFromMod(ModInfo.Id, "gpu_guide");
|
||||
item.name = L.T("item.web3guide.name");
|
||||
item.shortDescription = L.T("item.web3guide.desc");
|
||||
item.mayActivateSlotItemFunc = (_, _, _) => true;
|
||||
item.canActivateSlotItemFunc = (_, _, _) => true;
|
||||
item.onActivateSlotItemFunc = (_, _, _) => Log.Guard("打开手册", () => OpenHandbook?.Invoke());
|
||||
item.unitValue = 0;
|
||||
item.EnableTag(GeneralHelper.IMPORTANT_TAG);
|
||||
item.EnableTag(TypeHelper.NOT_FOR_RESALE);
|
||||
|
||||
Reference in new issue
Block a user