C# Class fCraft.PlayerClass

Afficher le fichier Open project: fragmer/fCraft Class Usage Examples

Méthodes publiques

Свойство Type Description
color string
index int
maxPromote PlayerClass
maxPromoteVal string
name string
permissions bool[]
prefix string
rank byte
reservedSlot bool
spamKickThreshold int

Méthodes publiques

Méthode Description
Can ( Permissions permission ) : bool
CanBan ( PlayerClass other ) : bool
CanDemote ( PlayerClass other ) : bool
CanKick ( PlayerClass other ) : bool
CanPromote ( PlayerClass other ) : bool
GetMaxBanIndex ( ) : int
GetMaxDemoteIndex ( ) : int
GetMaxKickIndex ( ) : int
GetMaxPromoteIndex ( ) : int
IsValidClassName ( string className ) : bool
IsValidPrefix ( string val ) : bool
PlayerClass ( ) : System

Method Details

Can() public méthode

public Can ( Permissions permission ) : bool
permission Permissions
Résultat bool

CanBan() public méthode

public CanBan ( PlayerClass other ) : bool
other PlayerClass
Résultat bool

CanDemote() public méthode

public CanDemote ( PlayerClass other ) : bool
other PlayerClass
Résultat bool

CanKick() public méthode

public CanKick ( PlayerClass other ) : bool
other PlayerClass
Résultat bool

CanPromote() public méthode

public CanPromote ( PlayerClass other ) : bool
other PlayerClass
Résultat bool

GetMaxBanIndex() public méthode

public GetMaxBanIndex ( ) : int
Résultat int

GetMaxDemoteIndex() public méthode

public GetMaxDemoteIndex ( ) : int
Résultat int

GetMaxKickIndex() public méthode

public GetMaxKickIndex ( ) : int
Résultat int

GetMaxPromoteIndex() public méthode

public GetMaxPromoteIndex ( ) : int
Résultat int

IsValidClassName() public static méthode

public static IsValidClassName ( string className ) : bool
className string
Résultat bool

IsValidPrefix() public static méthode

public static IsValidPrefix ( string val ) : bool
val string
Résultat bool

PlayerClass() public méthode

public PlayerClass ( ) : System
Résultat System

Property Details

color public_oe property

public string color
Résultat string

index public_oe property

public int index
Résultat int

maxPromote public_oe property

public PlayerClass,fCraft maxPromote
Résultat PlayerClass

maxPromoteVal public_oe property

public string maxPromoteVal
Résultat string

name public_oe property

public string name
Résultat string

permissions public_oe property

public bool[] permissions
Résultat bool[]

prefix public_oe property

public string prefix
Résultat string

rank public_oe property

public byte rank
Résultat byte

reservedSlot public_oe property

public bool reservedSlot
Résultat bool

spamKickThreshold public_oe property

public int spamKickThreshold
Résultat int