public SetPtjCheck ( PtjType ptjType, int count ) : void | ||
ptjType | PtjType | |
count | int | |
return | void |
public void SetPtjCheck(PtjType ptjType, int count)
{
CheckType = UpgradeCheckType.IfPtjCompletedMoreThan;
CheckPtj = ptjType;
CheckValue = (short)count;
}
public void UpgradeEffectPtjCheck() { var effect = new UpgradeEffect(UpgradeType.Suffix); effect.SetPtjCheck(PtjType.Bank, 21); Assert.Equal(( "01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" + "00 00 00 00 0A 00 00 00 00 00 00 00 13 00 00 00" + "06 00 15 00" ).Replace(" ", ""), ToHex(effect)); }