2021-03-22 12:09:25 -04:00
|
|
|
|
using Data.Models;
|
2020-11-17 19:24:54 -05:00
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IClientNoticeMessageFormatter
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// builds a game formatted notice message
|
2020-11-17 19:24:54 -05:00
|
|
|
|
/// </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);
|
2020-11-17 19:24:54 -05:00
|
|
|
|
}
|
|
|
|
|
}
|