From 4fc615d6dadd6e0ed6e93dfcf3a28c74f8153ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Tue, 21 Dec 2021 22:38:17 +0100 Subject: [PATCH] feat: add act4 status --- Core/NosSmooth.Game/Data/Act4/Act4Raid.cs | 33 +++++++++++++++++++++ Core/NosSmooth.Game/Data/Act4/Act4Status.cs | 26 ++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 Core/NosSmooth.Game/Data/Act4/Act4Raid.cs create mode 100644 Core/NosSmooth.Game/Data/Act4/Act4Status.cs diff --git a/Core/NosSmooth.Game/Data/Act4/Act4Raid.cs b/Core/NosSmooth.Game/Data/Act4/Act4Raid.cs new file mode 100644 index 0000000000000000000000000000000000000000..9e0ba9db1e79b0239f7c5e44347a4e9f98b37419 --- /dev/null +++ b/Core/NosSmooth.Game/Data/Act4/Act4Raid.cs @@ -0,0 +1,33 @@ +// +// Act4Raid.cs +// +// Copyright (c) František Boháček. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace NosSmooth.Game.Data.Act4; + +/// +/// Represents type of raid in act4. +/// +public enum Act4Raid +{ + /// + /// Fire element raid with the boss Morcos. + /// + Morcos, + + /// + /// Shadow element raid with the boss Hatus. + /// + Hatus, + + /// + /// Water element raid with the boss Calvina. + /// + Calvina, + + /// + /// Light element raid with the boss Berios. + /// + Berios +} \ No newline at end of file diff --git a/Core/NosSmooth.Game/Data/Act4/Act4Status.cs b/Core/NosSmooth.Game/Data/Act4/Act4Status.cs new file mode 100644 index 0000000000000000000000000000000000000000..8506b2c428c7e504db11980d0aeafbd7d8ef4994 --- /dev/null +++ b/Core/NosSmooth.Game/Data/Act4/Act4Status.cs @@ -0,0 +1,26 @@ +// +// Act4Status.cs +// +// Copyright (c) František Boháček. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using NosCore.Packets.Enumerations; + +namespace NosSmooth.Game.Data.Act4; + +/// +/// Status of a faction in act4 +/// +/// The percentage to Mukraju. +/// The current mode. +/// The current time of the raid. +/// The total time the raid will be for. +/// The type of the raid. +public record Act4FactionStatus +( + short Percentage, + Act4Mode Mode, + long? CurrentTime, + long? TotalTime, + Act4Raid Raid +); \ No newline at end of file