mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
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)
14 lines
345 B
C#
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);
|
|
}
|
|
}
|