Files
RobustToolbox/Robust.Server/Console/IConGroupController.cs
T
moneylandPieter-Jan Briers 9d8d712aea Make IConGroupController and ConGroupIndex public so they can be used in content (#875)
By making these public they can now be used by content to check if players are in the right group (admin, mod, etc) before doing certain things. Required for PR 380 on content (https://github.com/space-wizards/space-station-14/pull/380)
2019-10-09 23:39:11 +02:00

14 lines
345 B
C#

using Robust.Server.Interfaces.Player;
namespace Robust.Server.Console
{
public interface IConGroupController
{
void Initialize();
bool CanCommand(IPlayerSession session, string cmdName);
bool CanViewVar(IPlayerSession session);
void SetGroup(IPlayerSession session, ConGroupIndex newGroup);
}
}