~ruther/NosSmooth

4fc615d6dadd6e0ed6e93dfcf3a28c74f8153ac2 — František Boháček 3 years ago 5716978
feat: add act4 status
2 files changed, 59 insertions(+), 0 deletions(-)

A Core/NosSmooth.Game/Data/Act4/Act4Raid.cs
A Core/NosSmooth.Game/Data/Act4/Act4Status.cs
A Core/NosSmooth.Game/Data/Act4/Act4Raid.cs => Core/NosSmooth.Game/Data/Act4/Act4Raid.cs +33 -0
@@ 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;

/// <summary>
/// Represents type of raid in act4.
/// </summary>
public enum Act4Raid
{
    /// <summary>
    /// Fire element raid with the boss Morcos.
    /// </summary>
    Morcos,

    /// <summary>
    /// Shadow element raid with the boss Hatus.
    /// </summary>
    Hatus,

    /// <summary>
    /// Water element raid with the boss Calvina.
    /// </summary>
    Calvina,

    /// <summary>
    /// Light element raid with the boss Berios.
    /// </summary>
    Berios
}
\ No newline at end of file

A Core/NosSmooth.Game/Data/Act4/Act4Status.cs => Core/NosSmooth.Game/Data/Act4/Act4Status.cs +26 -0
@@ 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;

/// <summary>
/// Status of a faction in act4
/// </summary>
/// <param name="Percentage">The percentage to Mukraju.</param>
/// <param name="Mode">The current mode.</param>
/// <param name="CurrentTime">The current time of the raid.</param>
/// <param name="TotalTime">The total time the raid will be for.</param>
/// <param name="Raid">The type of the raid.</param>
public record Act4FactionStatus
(
    short Percentage,
    Act4Mode Mode,
    long? CurrentTime,
    long? TotalTime,
    Act4Raid Raid
);
\ No newline at end of file

Do not follow this link