SetMonthCheck() public method

Changes effect to check if today is the given Erinn month.
public SetMonthCheck ( Month month ) : void
month Month
return void
コード例 #1
0
ファイル: UpgradeEffect.cs プロジェクト: tkiapril/aura
		public void UpgradeEffectMonthCheck()
		{
			var effect = new UpgradeEffect(UpgradeType.Suffix);
			effect.SetMonthCheck(Month.Baltane);
			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  12 00 00 00" +
				"02 00 00 00"
				).Replace(" ", ""), ToHex(effect));
		}