Adds group manager, editable only by DB program.
This commit is contained in:
parent
b5ca97ae35
commit
0997b5bd5d
4 changed files with 121 additions and 76 deletions
|
|
@ -22,11 +22,12 @@ namespace TShockAPI
|
|||
{
|
||||
public class Group
|
||||
{
|
||||
private readonly List<string> permissions = new List<string>();
|
||||
public readonly List<string> permissions = new List<string>();
|
||||
private readonly List<string> negatedpermissions = new List<string>();
|
||||
|
||||
public string Name { get; protected set; }
|
||||
public Group Parent { get; protected set; }
|
||||
public int Order { get; set; }
|
||||
|
||||
public Group(string groupname, Group parentgroup = null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue