Esempio n. 1
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId.DBExport(),
                EntityId.DBExport(),
                SiteId.DBExport(),
                SkillAtTime,
                ItemType.DBExport(Item.ItemTypes),
                ItemSubType.DBExport(Item.ItemSubTypes),
                Mat.DBExport(Item.Materials),
                ImprovementType.DBExport(ImprovementTypes),
                //ImprovementSubType.DBExport(), //TODO: Uncomment this
                ImprovementMat.DBExport(Item.Materials),
                ArtId.DBExport(),
                ArtSubId.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId.DBExport(),
                EntityId.DBExport(),
                SiteId.DBExport(),
                SkillAtTime,
                ArtId.DBExport(),
                ArtSubId.DBExport(),
                Mat.DBExport(Item.Materials)
            };

            Database.ExportWorldItem(table, vals);
        }