C# Class MCDek.CommandOtherPerms

These are extra permissions for certain commands
Mostra file Open project: dekema2/MCDek

Public Properties

Property Type Description
list List

Public Methods

Method 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 method

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

AddDefaultPerms() public static method

Restore the permissions to there defaults
public static AddDefaultPerms ( ) : void
return void

Edit() public static method

public static Edit ( OtherPerms op, int perm ) : void
op OtherPerms
perm int
return void

Find() public static method

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

GetMaxNumber() public static method

public static GetMaxNumber ( Command cmd ) : int
cmd MCLawl.Command
return int

GetPerm() public static method

public static GetPerm ( Command cmd, int number = 1 ) : int
cmd MCLawl.Command
number int
return int

Load() public static method

public static Load ( ) : void
return void

Save() public static method

public static Save ( ) : void
return void

Property Details

list public_oe static_oe property

public static List list
return List