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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfIds.DBExport(),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                Coords.DBExport()
            };

            if (Pets != null)
            {
                var petExport = Pets.Aggregate("", (current, petRace) => current + (petRace.ToString() + ","));
                petExport = petExport.TrimEnd(',');
                vals.Add(petExport);
            }
            else
            {
                vals.Add(DBNull.Value);
            }

            Database.ExportWorldItem(table, vals);
        }
Example #2
0
        internal override void Export(string table)
        {
            //TODO: Incorporate new data
            base.Export(table);

            table = GetType().Name;


            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                Coords.DBExport(),
                EntityId_Abuser.DBExport(),
                BodyHfiDs.DBExport(),
                ItemType.DBExport(Item.ItemTypes),
                ItemSubType.DBExport(Item.ItemSubTypes),
                ItemMat.DBExport(Item.Materials),
                HfId.DBExport(),
                AbuseType.DBExport()
            };



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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId.DBExport(),
                HfId_Slayer.DBExport(),
                SlayerRace.DBExport(),
                SlayerCaste.DBExport(HistoricalFigure.Castes),
                ArtifiactId_SlayerItem.DBExport(),
                ArtifactId_SlayerShooterItem.DBExport(),
                Cause.DBExport(Causes),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                ItemID.DBExport(),
                ArtifactId.DBExport(),
                ItemType.DBExport(Item.ItemTypes),
                ItemSubType.DBExport(Item.ItemSubTypes),
                Mat.DBExport(Item.Materials),
                BowItem.DBExport(),
                BowArtifactId.DBExport(),
                BowItemType.DBExport(Item.ItemTypes),
                BowItemSubType.DBExport(Item.ItemSubTypes),
                BowMat.DBExport(Item.Materials)
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfIds.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                Coords.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId_Group1.DBExport(),
                HfId_Group2.DBExport(),
                Subtype.DBExport(SubTypes),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                EntityId.DBExport(),
                HfId_Winner.DBExport(),
                HfIDs_Competitor.DBExport(),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                EntityId_Attacker.DBExport(),
                HfId_AttackerGeneral.DBExport(),
                EntityId_Defender.DBExport(),
                HfId_DefenderGeneral.DBExport(),
                Coords.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                HfId_Devourer.DBExport(),
                HfId_Victim.DBExport(),
                VictimRace.DBExport(),
                VictimCaste.DBExport(HistoricalFigure.Castes),
                EntityId.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                HfId_Seeker.DBExport(),
                HfId_Target.DBExport(),
                RelationshipString.DBExport(RelationshipStrings),
                Reason.DBExport(Reasons),
                ReasonId.DBExport()
            };

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

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId_Woundee.DBExport(),
                HfId_Wounder.DBExport(),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                BodyPart.DBExport(),
                InjuryType.DBExport(),
                PartLost.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }