public override string Deserialize(System.IO.BinaryReader Reader) { MinDmg = Reader.ReadInt16(); MaxDmg = Reader.ReadInt16(); DamageType = (Gameplay.DamageType)Reader.ReadByte(); return string.Empty; }
public override void CopyFrom(GameplayItemComponent Other) { base.CopyFrom(Other); GameplayWeaponComponent Cmp = (GameplayWeaponComponent)Other; MinDmg = Cmp.MinDmg; MaxDmg = Cmp.MaxDmg; DamageType = Cmp.DamageType; }