示例#1
0
 // ***************************************************************************
 // Konstruktor Inner
 public Munition(MunitionInner mi)
     : base(mi.item)
 {
     buffIDs = mi.buffIDs;
     Count = mi.count;
     ShotId = mi.shotId;
     Damage = mi.damage;
 }
示例#2
0
        // ***************************************************************************
        // 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;
        }