private BurnsSaveDataProxy ConvertBackBurns(BurnsSaveDataProxy proxy, Dictionary <AfflictionType, List <Affliction> > afflictionDict)
        {
            proxy = proxy ?? new BurnsSaveDataProxy();
            var burns = afflictionDict.Get(AfflictionType.Burns)?.Cast <Burns>().ToList()[0];

            if (burns == null)
            {
                return(proxy.m_Active ? new BurnsSaveDataProxy() : proxy);
            }
            proxy.m_Active           = true;
            proxy.m_BandageApplied   = burns.BandageApplied;
            proxy.m_DurationHours    = burns.DurationHours;
            proxy.m_ElapsedHours     = burns.ElapsedHours;
            proxy.m_PainKillersTaken = burns.PainKillersTaken;
            proxy.m_CauseLocID       = burns.CauseLocID;
            return(proxy);
        }
 private void ConvertBurns(BurnsSaveDataProxy proxy)
 {
     if (proxy == null || !proxy.m_Active)
     {
         return;
     }
     Negative.Add(new Burns(negative)
     {
         AfflictionType   = AfflictionType.Burns,
         Location         = 5,
         BandageApplied   = proxy.m_BandageApplied,
         CauseLocID       = proxy.m_CauseLocID,
         DurationHours    = proxy.m_DurationHours,
         ElapsedHours     = proxy.m_ElapsedHours,
         PainKillersTaken = proxy.m_PainKillersTaken,
     });
 }