PermissionsHelper
A static class in Root.Township, ATT.Character.QuickAccessMenu.
Checks whether a user may use the in-game server settings and command menus.
- Listed in ATT, Features and other game namespaces
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private static readonly Logger logger | NLog logger for this class. |
private static readonly GroupPermissions[] requiredPermissions | Permissions needed: Console only. |
Methods
| Member | What it is |
|---|---|
static async Task<bool> DoesUserHavePermissions(int userIdentifier, int serverIdentifier) | Asks the API whether the user has Console permission on the server. Always true in the editor; false on error. |
static async Task<bool> IsMenuOrCommandsAvailableForUser(IPlayer player) | Always returns false in this build. |