示例#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);
        }
示例#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);
        }
示例#3
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);
        }
示例#4
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);
        }
示例#5
0
 internal List <object> GetExportVals()
 {
     return(new List <object>
     {
         Id,
         SiteId.DBExport(),
         HfId.DBExport(),
         Reason.DBExport(Reasons),
         ReasonId.DBExport(),
         Circumstance.DBExport(Circumstances),
         CircumstanceId.DBExport(),
         FormId.DBExport()
     });
 }
示例#6
0
        internal void Export(int hfid)
        {
            var table = "Entity_" + GetType().Name;

            var vals = new List <object>
            {
                ThisEntity.Id,
                LinkType.DBExport(LinkTypes),
                SiteId.DBExport(),
                LinkStrength.DBExport()
            };

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

            table = GetType().Name;

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

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

            table = GetType().Name;

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

            Database.ExportWorldItem(table, vals);
        }
示例#9
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);
        }
示例#10
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;
            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                HfId.DBExport(),
                EntityId.DBExport(),
                StructureId.DBExport(),
                LinkType.DBExport(HFSiteLink.LinkTypes)
            };

            Database.ExportWorldItem(table, vals);
        }
示例#11
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
            };

            Database.ExportWorldItem(table, vals);
        }
示例#12
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

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

            Database.ExportWorldItem(table, vals);
        }
示例#13
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                EntityId_SiteCiv.DBExport(),
                EntityId_Defender.DBExport(),
                EntityId_NewSiteCiv.DBExport(),
                EntityId_Attacker.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#14
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId_Target.DBExport(),
                HfId_Doer.DBExport(),
                Interaction.DBExport(HistoricalFigure.Interactions),
                SiteId.DBExport(),
                Subregion.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#15
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                SiteId.DBExport(),
                EntityId_SiteCiv.DBExport(),
                EntityId_Civ.DBExport(),
                StructureId_Old.DBExport(),
                StructureId_New.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#16
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                ArtifactId.DBExport(),
                UnitId.DBExport(),
                SiteId.DBExport(),
                HfId.DBExport(),
                NameOnly
            };

            Database.ExportWorldItem(table, vals);
        }
示例#17
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                EntityId.DBExport(),
                SiteId.DBExport(),
                RaceId.DBExport(),
                PopNumberMoved.DBExport(),
                RegionId.DBExport(),
                PopFlid.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#18
0
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId.DBExport(),
                Situation.DBExport(Situations),
                Reason.DBExport(Reasons),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.DBExport(),
                Coords.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#19
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);
        }
示例#20
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);
        }
示例#21
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_Seeker.DBExport(),
                HfId_Target.DBExport(),
                RelationshipString.DBExport(RelationshipStrings),
                Reason.DBExport(Reasons),
                ReasonId.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
示例#22
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,
                ItemID.DBExport(),
                ItemType.DBExport(Item.ItemTypes),
                ItemSubType.DBExport(Item.ItemSubTypes),
                Mat.DBExport(Item.Materials)
            };

            Database.ExportWorldItem(table, vals);
        }
示例#23
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);
        }