C# 클래스 fCraft.SecurityController

Controller for setting and checking per-rank permissions and per-player exceptions. Used by World.AccessSecurity, World.BuildSecurity, and Zone.
상속: ICloneable, INotifiesOnChange
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

Private Properties

프로퍼티 타입 설명
RaiseChangedEvent void
UpdatePlayerListCache void

공개 메소드들

메소드 설명
Check ( [ info ) : bool

Checks whether a player is allowed by this controller.

CheckDetailed ( [ info ) : SecurityCheckResult

Checks player's permission status with this controller, in detail.

Clone ( ) : object

Creates a copy of an existing controller.

Exclude ( [ info ) : PermissionOverride

Either specially excludes a player (if their state was previously neutral), or removes a specific inclusion.

GetDescription ( [ target, [ noun, [ verb ) : string

Creates a description string of the controller.

Include ( [ info ) : PermissionOverride

Either specially includes a player (if their state was previously neutral), or removes a specific exclusion.

Reset ( ) : void

Resets all permissions: minimum rank, excluded player list, and included player list.

ResetExcludedList ( ) : void

Clears the list of specifically excluded players.

ResetIncludedList ( ) : void

Clears the list of specifically included players.

ResetMinRank ( ) : void
SecurityController ( ) : System

Creates a new controller with no restrictions.

SecurityController ( [ other ) : System

Creates a copy of an existing controller.

SecurityController ( [ el, bool parseExceptions ) : System
Serialize ( ) : System.Xml.Linq.XElement
Serialize ( [ tagName ) : System.Xml.Linq.XElement

비공개 메소드들

메소드 설명
RaiseChangedEvent ( ) : void
UpdatePlayerListCache ( ) : void

메소드 상세

Check() 공개 메소드

Checks whether a player is allowed by this controller.
public Check ( [ info ) : bool
info [ Player to check.
리턴 bool

CheckDetailed() 공개 메소드

Checks player's permission status with this controller, in detail.
public CheckDetailed ( [ info ) : SecurityCheckResult
info [ Player to check.
리턴 SecurityCheckResult

Clone() 공개 메소드

Creates a copy of an existing controller.
public Clone ( ) : object
리턴 object

Exclude() 공개 메소드

Either specially excludes a player (if their state was previously neutral), or removes a specific inclusion.
public Exclude ( [ info ) : PermissionOverride
info [ Player's info.
리턴 PermissionOverride

GetDescription() 공개 메소드

Creates a description string of the controller.
public GetDescription ( [ target, [ noun, [ verb ) : string
target [ Name of the object that owns this controller.
noun [ The type of target (e.g. "world" or "zone").
verb [ The action, in past tense, that this /// controller manages (e.g. "accessed" or "modified").
리턴 string

Include() 공개 메소드

Either specially includes a player (if their state was previously neutral), or removes a specific exclusion.
public Include ( [ info ) : PermissionOverride
info [ Player's info.
리턴 PermissionOverride

Reset() 공개 메소드

Resets all permissions: minimum rank, excluded player list, and included player list.
public Reset ( ) : void
리턴 void

ResetExcludedList() 공개 메소드

Clears the list of specifically excluded players.
public ResetExcludedList ( ) : void
리턴 void

ResetIncludedList() 공개 메소드

Clears the list of specifically included players.
public ResetIncludedList ( ) : void
리턴 void

ResetMinRank() 공개 메소드

public ResetMinRank ( ) : void
리턴 void

SecurityController() 공개 메소드

Creates a new controller with no restrictions.
public SecurityController ( ) : System
리턴 System

SecurityController() 공개 메소드

Creates a copy of an existing controller.
public SecurityController ( [ other ) : System
other [
리턴 System

SecurityController() 공개 메소드

public SecurityController ( [ el, bool parseExceptions ) : System
el [
parseExceptions bool
리턴 System

Serialize() 공개 메소드

public Serialize ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

Serialize() 공개 메소드

public Serialize ( [ tagName ) : System.Xml.Linq.XElement
tagName [
리턴 System.Xml.Linq.XElement