C# 클래스 fCraft.PermissionController

파일 보기 프로젝트 열기: fragmer/fCraft 1 사용 예제들

공개 메소드들

메소드 설명
Can ( PlayerInfo player ) : bool
Can ( PlayerInfo player, PlayerInfo targetPlayer ) : bool
Can ( PlayerInfo player, PlayerInfo targetPlayer, Rank targetRank ) : bool
Can ( PlayerInfo player, PlayerInfo targetPlayer, int quantity ) : bool
Can ( PlayerInfo player, Rank targetRank ) : bool
Can ( PlayerInfo player, int quantity ) : bool
CanGrant ( PlayerInfo player ) : bool
CanRevoke ( PlayerInfo player ) : bool
Exclude ( Rank rank ) : PermissionOverride
Exclude ( string name ) : PermissionOverride
GetLimit ( PlayerInfo player ) : PermissionLimits
Include ( Rank rank, PermissionLimits limits ) : PermissionOverride
Include ( string name, PermissionLimits limits ) : PermissionOverride
PermissionController ( [ parent ) : System

비공개 메소드들

메소드 설명
GetPlayerLimit ( PlayerInfo player ) : PermissionLimits
GetRankLimit ( Rank rank ) : PermissionLimits

메소드 상세

Can() 공개 메소드

public Can ( PlayerInfo player ) : bool
player PlayerInfo
리턴 bool

Can() 공개 메소드

public Can ( PlayerInfo player, PlayerInfo targetPlayer ) : bool
player PlayerInfo
targetPlayer PlayerInfo
리턴 bool

Can() 공개 메소드

public Can ( PlayerInfo player, PlayerInfo targetPlayer, Rank targetRank ) : bool
player PlayerInfo
targetPlayer PlayerInfo
targetRank Rank
리턴 bool

Can() 공개 메소드

public Can ( PlayerInfo player, PlayerInfo targetPlayer, int quantity ) : bool
player PlayerInfo
targetPlayer PlayerInfo
quantity int
리턴 bool

Can() 공개 메소드

public Can ( PlayerInfo player, Rank targetRank ) : bool
player PlayerInfo
targetRank Rank
리턴 bool

Can() 공개 메소드

public Can ( PlayerInfo player, int quantity ) : bool
player PlayerInfo
quantity int
리턴 bool

CanGrant() 공개 메소드

public CanGrant ( PlayerInfo player ) : bool
player PlayerInfo
리턴 bool

CanRevoke() 공개 메소드

public CanRevoke ( PlayerInfo player ) : bool
player PlayerInfo
리턴 bool

Exclude() 공개 메소드

public Exclude ( Rank rank ) : PermissionOverride
rank Rank
리턴 PermissionOverride

Exclude() 공개 메소드

public Exclude ( string name ) : PermissionOverride
name string
리턴 PermissionOverride

GetLimit() 공개 메소드

public GetLimit ( PlayerInfo player ) : PermissionLimits
player PlayerInfo
리턴 PermissionLimits

Include() 공개 메소드

public Include ( Rank rank, PermissionLimits limits ) : PermissionOverride
rank Rank
limits PermissionLimits
리턴 PermissionOverride

Include() 공개 메소드

public Include ( string name, PermissionLimits limits ) : PermissionOverride
name string
limits PermissionLimits
리턴 PermissionOverride

PermissionController() 공개 메소드

public PermissionController ( [ parent ) : System
parent [
리턴 System