IW4M-Admin/SharedLibraryCore/Interfaces/IClientNoticeMessageFormatter.cs
2022-01-26 15:26:25 -06:00

17 lines
645 B
C#

using Data.Models;
namespace SharedLibraryCore.Interfaces
{
public interface IClientNoticeMessageFormatter
{
/// <summary>
/// builds a game formatted notice message
/// </summary>
/// <param name="currentPenalty">current penalty the message is for</param>
/// <param name="originalPenalty">previous penalty the current penalty relates to</param>
/// <param name="config">RCon parser config</param>
/// <returns></returns>
string BuildFormattedMessage(IRConParserConfiguration config, EFPenalty currentPenalty,
EFPenalty originalPenalty = null);
}
}