fix: human模式手牌/反应显示精牌🀫标记

3处ToString调用补WildcardRegistry参数:
- HumanMahjongPlayer: 手牌列表+摸牌显示
- MahjongRoom: 反应提示时的手牌显示

修复前: 精牌显示为普通牌名(1筒)
修复后: 精牌显示为 🀫1筒(带🀫前缀)
This commit is contained in:
xiaoou
2026-07-05 00:23:47 +08:00
parent d83494e669
commit b3c270710f
2 changed files with 3 additions and 3 deletions

View File

@ -72,12 +72,12 @@ public class HumanMahjongPlayer
}
if (drawnTile.HasValue && drawnIdx >= 0)
Console.WriteLine($" 🀫 刚刚摸到: {MahjongTile.ToString(drawnTile.Value)}");
Console.WriteLine($" 🀫 刚刚摸到: {MahjongTile.ToString(drawnTile.Value, state.Wildcards)}");
Console.WriteLine($" 手牌 ({hand.Count}张):");
for (int i = 0; i < sorted.Count; i++)
{
bool isDrawn = (i == drawnIdx);
Console.WriteLine($" [{i + 1}] {(isDrawn ? " " : " ")}{MahjongTile.ToString(sorted[i])}{(isDrawn ? " " : "")}");
Console.WriteLine($" [{i + 1}] {(isDrawn ? " " : " ")}{MahjongTile.ToString(sorted[i], state.Wildcards)}{(isDrawn ? " " : "")}");
}
Console.WriteLine();