25 lines
632 B
C#
25 lines
632 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Torch.API.Managers
|
|
{
|
|
/// <summary>
|
|
/// API for multiplayer functions that exist on servers and lobbies
|
|
/// </summary>
|
|
public interface IMultiplayerManagerServer : IMultiplayerManagerBase
|
|
{
|
|
/// <summary>
|
|
/// Kicks the player from the game.
|
|
/// </summary>
|
|
void KickPlayer(ulong steamId);
|
|
|
|
/// <summary>
|
|
/// Bans or unbans a player from the game.
|
|
/// </summary>
|
|
void BanPlayer(ulong steamId, bool banned = true);
|
|
}
|
|
}
|