C# Класс MCDek.CommandOtherPerms

These are extra permissions for certain commands
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
list List

Открытые методы

Метод Описание
Add ( Command command, int Perm, string desc, int number = 1 ) : void
AddDefaultPerms ( ) : void

Restore the permissions to there defaults

Edit ( OtherPerms op, int perm ) : void
Find ( Command cmd, int number = 1 ) : OtherPerms
GetMaxNumber ( Command cmd ) : int
GetPerm ( Command cmd, int number = 1 ) : int
Load ( ) : void
Save ( ) : void

Описание методов

Add() публичный статический Метод

public static Add ( Command command, int Perm, string desc, int number = 1 ) : void
command MCLawl.Command
Perm int
desc string
number int
Результат void

AddDefaultPerms() публичный статический Метод

Restore the permissions to there defaults
public static AddDefaultPerms ( ) : void
Результат void

Edit() публичный статический Метод

public static Edit ( OtherPerms op, int perm ) : void
op OtherPerms
perm int
Результат void

Find() публичный статический Метод

public static Find ( Command cmd, int number = 1 ) : OtherPerms
cmd MCLawl.Command
number int
Результат OtherPerms

GetMaxNumber() публичный статический Метод

public static GetMaxNumber ( Command cmd ) : int
cmd MCLawl.Command
Результат int

GetPerm() публичный статический Метод

public static GetPerm ( Command cmd, int number = 1 ) : int
cmd MCLawl.Command
number int
Результат int

Load() публичный статический Метод

public static Load ( ) : void
Результат void

Save() публичный статический Метод

public static Save ( ) : void
Результат void

Описание свойств

list публичное статическое свойство

public static List list
Результат List