IW4M-Admin/SharedLibraryCore/Interfaces/IClientNoticeMessageFormatter.cs

17 lines
645 B
C#
Raw Normal View History

using Data.Models;
namespace SharedLibraryCore.Interfaces
{
public interface IClientNoticeMessageFormatter
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// 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>
2022-01-26 11:32:16 -05:00
string BuildFormattedMessage(IRConParserConfiguration config, EFPenalty currentPenalty,
EFPenalty originalPenalty = null);
}
}