Exposing the model reveals all four authenticity rows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
559a702ee3
commit
d6a456c986
1 file changed
+7
-1
@@ -165,7 +165,13 @@ namespace Decentralized
|
|||||||
return string.IsNullOrEmpty(c.Model) ? (Claim?)null : c;
|
return string.IsNullOrEmpty(c.Model) ? (Claim?)null : c;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int Exposed(GameItem item) => item.IsTag(ExposedTag) ? item.GetTagReadonly(ExposedTag).GetInt() : 0;
|
/// <summary>已指出的标签。型号一旦被拆穿,四个真伪行(型号、供电与风扇、序列号、丝印)一起亮出真实情况。</summary>
|
||||||
|
public static int Exposed(GameItem item)
|
||||||
|
{
|
||||||
|
int e = item.IsTag(ExposedTag) ? item.GetTagReadonly(ExposedTag).GetInt() : 0;
|
||||||
|
if ((e & CardLabels.RowSpec) != 0) e |= CardLabels.RowSpec | CardLabels.RowBuild | CardLabels.RowSerial | CardLabels.RowPrint;
|
||||||
|
return e;
|
||||||
|
}
|
||||||
|
|
||||||
public static void SetClaim(GameItem item, Claim claim, int exposed, int markupPct = 0)
|
public static void SetClaim(GameItem item, Claim claim, int exposed, int markupPct = 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user