From 4149207db9d8f2c0a33fc2c09196cbbf6199325d Mon Sep 17 00:00:00 2001 From: Plenyx <1507236+Plenyx@users.noreply.github.com> Date: Thu, 22 Feb 2024 01:35:38 +0100 Subject: [PATCH] Modified healing plugin implementation --- DpsReport/ExtraJSON/Player.cs | 4 ++-- DpsReport/ExtraJSON/StatsBarrier.cs | 2 +- DpsReport/ExtraJSON/StatsHealing.cs | 2 +- .../OutgoingBarrier.cs} | 2 +- .../OutgoingHealing.cs} | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename DpsReport/{ExtraJSON/StatsBarrierOutgoingBarrier.cs => ExtraJson/OutgoingBarrier.cs} (84%) rename DpsReport/{ExtraJSON/StatsHealingOutgoingHealing.cs => ExtraJson/OutgoingHealing.cs} (84%) diff --git a/DpsReport/ExtraJSON/Player.cs b/DpsReport/ExtraJSON/Player.cs index a6cab30..b19dd62 100644 --- a/DpsReport/ExtraJSON/Player.cs +++ b/DpsReport/ExtraJSON/Player.cs @@ -45,10 +45,10 @@ internal sealed class Player [JsonProperty("defenses")] internal Defenses[] Defenses { get; set; } - [JsonProperty("statsHealing")] + [JsonProperty("extHealingStats")] internal StatsHealing StatsHealing { get; set; } - [JsonProperty("statsBarrier")] + [JsonProperty("extBarrierStats")] internal StatsBarrier StatsBarrier { get; set; } } } diff --git a/DpsReport/ExtraJSON/StatsBarrier.cs b/DpsReport/ExtraJSON/StatsBarrier.cs index e32d984..f7e3e46 100644 --- a/DpsReport/ExtraJSON/StatsBarrier.cs +++ b/DpsReport/ExtraJSON/StatsBarrier.cs @@ -5,6 +5,6 @@ namespace PlenBotLogUploader.DpsReport.ExtraJson internal class StatsBarrier { [JsonProperty("outgoingBarrier")] - internal StatsBarrierOutgoingBarrier OutgoingBarrier { get; set; } + internal OutgoingBarrier OutgoingBarrier { get; set; } } } diff --git a/DpsReport/ExtraJSON/StatsHealing.cs b/DpsReport/ExtraJSON/StatsHealing.cs index 3e711d0..5b0d2ca 100644 --- a/DpsReport/ExtraJSON/StatsHealing.cs +++ b/DpsReport/ExtraJSON/StatsHealing.cs @@ -5,6 +5,6 @@ namespace PlenBotLogUploader.DpsReport.ExtraJson internal class StatsHealing { [JsonProperty("outgoingHealing")] - internal StatsHealingOutgoingHealing[] OutgoingHealing; + internal OutgoingHealing[] OutgoingHealing; } } diff --git a/DpsReport/ExtraJSON/StatsBarrierOutgoingBarrier.cs b/DpsReport/ExtraJson/OutgoingBarrier.cs similarity index 84% rename from DpsReport/ExtraJSON/StatsBarrierOutgoingBarrier.cs rename to DpsReport/ExtraJson/OutgoingBarrier.cs index d5d15d6..32dc555 100644 --- a/DpsReport/ExtraJSON/StatsBarrierOutgoingBarrier.cs +++ b/DpsReport/ExtraJson/OutgoingBarrier.cs @@ -2,7 +2,7 @@ namespace PlenBotLogUploader.DpsReport.ExtraJson { - internal class StatsBarrierOutgoingBarrier + internal class OutgoingBarrier { [JsonProperty("barrier")] internal long Barrier { get; set; } diff --git a/DpsReport/ExtraJSON/StatsHealingOutgoingHealing.cs b/DpsReport/ExtraJson/OutgoingHealing.cs similarity index 84% rename from DpsReport/ExtraJSON/StatsHealingOutgoingHealing.cs rename to DpsReport/ExtraJson/OutgoingHealing.cs index 20a0461..acf5e23 100644 --- a/DpsReport/ExtraJSON/StatsHealingOutgoingHealing.cs +++ b/DpsReport/ExtraJson/OutgoingHealing.cs @@ -2,7 +2,7 @@ namespace PlenBotLogUploader.DpsReport.ExtraJson { - internal class StatsHealingOutgoingHealing + internal class OutgoingHealing { [JsonProperty("healing")] internal long Healing { get; set; }