C# Class MCDek.CommandOtherPerms

These are extra permissions for certain commands
Afficher le fichier Open project: dekema2/MCDek

Méthodes publiques

Свойство Type Description
list List

Méthodes publiques

Méthode Description
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

Method Details

Add() public static méthode

public static Add ( Command command, int Perm, string desc, int number = 1 ) : void
command MCLawl.Command
Perm int
desc string
number int
Résultat void

AddDefaultPerms() public static méthode

Restore the permissions to there defaults
public static AddDefaultPerms ( ) : void
Résultat void

Edit() public static méthode

public static Edit ( OtherPerms op, int perm ) : void
op OtherPerms
perm int
Résultat void

Find() public static méthode

public static Find ( Command cmd, int number = 1 ) : OtherPerms
cmd MCLawl.Command
number int
Résultat OtherPerms

GetMaxNumber() public static méthode

public static GetMaxNumber ( Command cmd ) : int
cmd MCLawl.Command
Résultat int

GetPerm() public static méthode

public static GetPerm ( Command cmd, int number = 1 ) : int
cmd MCLawl.Command
number int
Résultat int

Load() public static méthode

public static Load ( ) : void
Résultat void

Save() public static méthode

public static Save ( ) : void
Résultat void

Property Details

list public_oe static_oe property

public static List list
Résultat List