污点按币种记脏枚数、只在 Web3 钱包里;Poinbase 只收干净的币;删除出金审查;永续操纵只记罪证;泄露记罪证;剧情替换;存档迁移到数据版本 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Opus 5.5 committed 2026-11-08 20:04:09 +08:00
1 parent f0a6051591
commit 34b70023c9
37 files changed
+744 -647

No files matched your search

-14
View File
@@ -47,18 +47,4 @@ namespace Decentralized
public static string Num(double v) => Math.Abs(v) >= 100 ? v.ToString("N0") : Math.Abs(v) >= 1 ? v.ToString("0.##") : v.ToString("0.####");
public static string Credits(double v) => v.ToString("N0");
}
/// <summary>污点超出钱包价值的部分:按 <see cref="Decentralized.Domain.Wallet.OverflowFraud"/> 记诈骗罪证,返回接在消息后面的一句(没有超出返回空串)。</summary>
public static class TaintCrime
{
public static string Commit(double over)
{
if (over <= 1e-9) return "";
int fraud = (int)Math.Round(Decentralized.Domain.Wallet.OverflowFraud(over));
if (fraud > 0) PlayerStore.Instance.secData.CommitCrime("FRAUD", fraud);
// 接在上一句后面:中日文不加空格,其他语言隔一个空格
string sep = L.Code.StartsWith("zh") || L.Code.StartsWith("ja") ? "" : " ";
return sep + L.T("taint.overflow", Fmt.Credits(over));
}
}
}