コード例 #1
0
ファイル: HE_HFAbducted.cs プロジェクト: tier6tank/DFWV
        internal override string ToTimelineString()
        {
            var timelinestring = base.ToTimelineString();

            return
                ($"{timelinestring} {Hf_Target?.ToString() ?? HfId_Target.ToString()} was abducted from {Site.AltName} by {Hf_Snatcher?.ToString() ?? HfId_Snatcher.ToString()}.");
        }
コード例 #2
0
ファイル: HE_HFAbducted.cs プロジェクト: tier6tank/DFWV
        internal override void Export(string table)
        {
            base.Export(table);

            table = GetType().Name;

            var vals = new List <object>
            {
                Id,
                HfId_Target.DBExport(),
                HfId_Snatcher.DBExport(),
                SiteId.DBExport(),
                SubregionId.DBExport(),
                FeatureLayerId.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,
                HfId_Target.DBExport(),
                HfId_Doer.DBExport(),
                Interaction.DBExport(HistoricalFigure.Interactions),
                SiteId.DBExport(),
                Subregion.DBExport()
            };

            Database.ExportWorldItem(table, vals);
        }
コード例 #4
0
        internal override string ToTimelineString()
        {
            var timelinestring = base.ToTimelineString();

            return
                ($"{timelinestring} {Hf?.ToString() ?? HfId.ToString()} {" linked to "} {Hf_Target?.ToString() ?? HfId_Target.ToString()}.");
        }
コード例 #5
0
        internal override string ToTimelineString()
        {
            //TODO: Incorporate new data
            var timelinestring = base.ToTimelineString();

            return
                ($"{timelinestring} {Hf_Doer?.ToString() ?? HfId_Doer.ToString()} cursed {Hf_Target?.ToString() ?? HfId_Target.ToString()}");
        }