// *************************************************************************** // Konstruktor Inner public Munition(MunitionInner mi) : base(mi.item) { buffIDs = mi.buffIDs; Count = mi.count; ShotId = mi.shotId; Damage = mi.damage; }
// *************************************************************************** // Erzeugt Objekt zum Serialisieren public MunitionInner GetInner() { MunitionInner mi = new MunitionInner(); mi.buffIDs = buffIDs; mi.count = Count; mi.shotId = ShotId; mi.damage = Damage; mi.item = base.GetInner(); return mi; }