1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

add ability to register custom event generators for event parsers / truncate long client names fix

This commit is contained in:
RaidMax
2020-04-04 12:40:23 -05:00
parent d45d99454b
commit 3b695a0d2c
24 changed files with 334 additions and 69 deletions

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace SharedLibraryCore.Interfaces
{
/// <summary>
/// interface defining the capabilities of a custom event registration
/// </summary>
public interface IRegisterEvent
{
/// <summary>
/// collection of custom event registrations
/// <remarks>
/// (Subtype, trigger value, event generator)
/// </remarks>
/// </summary>
IEnumerable<(string, string, Func<string, IEventParserConfiguration, GameEvent, GameEvent>)> Events { get; }
}
}