public static JsonPlayerSupport BuildJsonPlayerSupport(FinalPlayerSupport stats) { var jsonPlayerSupport = new JsonPlayerSupport(); jsonPlayerSupport.Resurrects = stats.Resurrects; jsonPlayerSupport.ResurrectTime = stats.ResurrectTime; jsonPlayerSupport.CondiCleanse = stats.CondiCleanse; jsonPlayerSupport.CondiCleanseTime = stats.CondiCleanseTime; jsonPlayerSupport.CondiCleanseSelf = stats.CondiCleanseSelf; jsonPlayerSupport.CondiCleanseTimeSelf = stats.CondiCleanseTimeSelf; jsonPlayerSupport.BoonStrips = stats.BoonStrips; jsonPlayerSupport.BoonStripsTime = stats.BoonStripsTime; return(jsonPlayerSupport); }
public static JsonPlayerSupport BuildJsonPlayerSupport(FinalToPlayersSupport stats) { var jsonPlayerSupport = new JsonPlayerSupport { Resurrects = stats.Resurrects, ResurrectTime = stats.ResurrectTime, CondiCleanse = stats.CondiCleanse, CondiCleanseTime = stats.CondiCleanseTime, CondiCleanseSelf = stats.CondiCleanseSelf, CondiCleanseTimeSelf = stats.CondiCleanseTimeSelf, BoonStrips = stats.BoonStrips, BoonStripsTime = stats.BoonStripsTime }; return(jsonPlayerSupport); }