Beispiel #1
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                Hfid.DBExport(),
                SiteId.DBExport(),
                Method.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
Beispiel #2
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                EntityId_Attacker.DBExport(),
                EntityId_Defender.DBExport(),
                SiteId.DBExport(),
                Coords.DBExport(),
                ItemID.DBExport(),
                ItemType.DBExport(Item.ItemTypes),
                ItemSubType.DBExport(Item.ItemSubTypes),
                Mat.DBExport(Item.Materials),
                EntityId.DBExport(),
                Hfid.DBExport(),
                StructureId.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }