public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); if ( version == 0 ) { SmithHammerWeapon hammer = new SmithHammerWeapon( UsesRemaining ); Timer.DelayCall<Item>( TimeSpan.FromSeconds( 1.0 ), new TimerStateCallback<Item>( Replace_Item ), hammer ); } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); if (version == 0) { SmithHammerWeapon hammer = new SmithHammerWeapon(UsesRemaining); Timer.DelayCall <Item>(TimeSpan.FromSeconds(1.0), new TimerStateCallback <Item>(Replace_Item), hammer); } }