fix: human模式手牌/反应显示精牌🀫标记
3处ToString调用补WildcardRegistry参数: - HumanMahjongPlayer: 手牌列表+摸牌显示 - MahjongRoom: 反应提示时的手牌显示 修复前: 精牌显示为普通牌名(1筒) 修复后: 精牌显示为 🀫1筒(带🀫前缀)
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user