2020-11-17 19:24:54 -05:00
|
|
|
|
using System.Threading.Tasks;
|
2021-03-22 12:09:25 -04:00
|
|
|
|
using Data.Models;
|
2020-11-17 19:24:54 -05:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IGameServer
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// kicks target on behalf of origin for given reason
|
2020-11-17 19:24:54 -05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="reason">reason client is being kicked</param>
|
|
|
|
|
/// <param name="target">client to kick</param>
|
|
|
|
|
/// <param name="origin">source of kick action</param>
|
|
|
|
|
/// <param name="previousPenalty">previous penalty the kick is occuring for (if applicable)</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Task Kick(string reason, EFClient target, EFClient origin, EFPenalty previousPenalty = null);
|
|
|
|
|
}
|
|
|
|
|
}
|