Exemplo n.º 1
0
        static public void HistoryEventFurtherInfo(ActionLanguage.ActionProgramRun vars, HistoryList hl, HistoryEntry he, string prefix)
        {
            if (he != null)
            {
                System.Globalization.CultureInfo ct = System.Globalization.CultureInfo.InvariantCulture;

                int fsd = hl.GetFSDCarrierJumpsUTC(new DateTime(1980, 1, 1), he.EventTimeUTC); // total before
                if (he.IsFSDCarrierJump)                                                       // if on an fsd, count this in
                {
                    fsd++;
                }
                vars[prefix + "FSDJump"] = fsd.ToString(ct);
            }
        }