public void raid_report(string data) { try { if (!string.IsNullOrWhiteSpace(data)) { log.Debug("raid_report: " + data); var conv = new GameDataConverter(); var report = conv.GetRaidReport(data); DoCurrentRaidReport(report); } } catch (Exception e) { log.Error(e.Message, e); } }
public void T005_RaidRep() { var jsonData = System.IO.File.ReadAllText(@".\test_data\raid_report.json"); var conv = new GameDataConverter(); var report = conv.GetRaidReport(jsonData); }