C# 클래스 MCDek.CommandOtherPerms

These are extra permissions for certain commands
파일 보기 프로젝트 열기: dekema2/MCDek

공개 프로퍼티들

프로퍼티 타입 설명
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