C# Class MCLawl.Group

Datei anzeigen Open project: dekema2/MCDek Class Usage Examples

Public Properties

Property Type Description
GroupList List
Permission LevelPermission
color string
commands CommandList
fileName string
maxBlocks int
name string
playerList PlayerList
standard Group
trueName string

Public Methods

Method Description
CanExecute ( Command cmd ) : bool
Exists ( string name ) : bool
Find ( string name ) : Group
Group ( ) : System
Group ( LevelPermission Perm, int maxB, string fullName, char newColor, string file ) : System
InitAll ( ) : void
concatList ( bool includeColor = true, bool skipExtra = false, bool permissions = false ) : string
fillCommands ( ) : void
findPerm ( LevelPermission Perm ) : Group
findPermInt ( int Perm ) : Group
findPlayer ( string playerName ) : string
findPlayerGroup ( string playerName ) : Group
saveGroups ( List givenList ) : void

Method Details

CanExecute() public method

public CanExecute ( Command cmd ) : bool
cmd Command
return bool

Exists() public static method

public static Exists ( string name ) : bool
name string
return bool

Find() public static method

public static Find ( string name ) : Group
name string
return Group

Group() public method

public Group ( ) : System
return System

Group() public method

public Group ( LevelPermission Perm, int maxB, string fullName, char newColor, string file ) : System
Perm LevelPermission
maxB int
fullName string
newColor char
file string
return System

InitAll() public static method

public static InitAll ( ) : void
return void

concatList() public static method

public static concatList ( bool includeColor = true, bool skipExtra = false, bool permissions = false ) : string
includeColor bool
skipExtra bool
permissions bool
return string

fillCommands() public method

public fillCommands ( ) : void
return void

findPerm() public static method

public static findPerm ( LevelPermission Perm ) : Group
Perm LevelPermission
return Group

findPermInt() public static method

public static findPermInt ( int Perm ) : Group
Perm int
return Group

findPlayer() public static method

public static findPlayer ( string playerName ) : string
playerName string
return string

findPlayerGroup() public static method

public static findPlayerGroup ( string playerName ) : Group
playerName string
return Group

saveGroups() public static method

public static saveGroups ( List givenList ) : void
givenList List
return void

Property Details

GroupList public_oe static_oe property

public static List GroupList
return List

Permission public_oe property

public LevelPermission Permission
return LevelPermission

color public_oe property

public string color
return string

commands public_oe property

public CommandList,MCLawl commands
return CommandList

fileName public_oe property

public string fileName
return string

maxBlocks public_oe property

public int maxBlocks
return int

name public_oe property

public string name
return string

playerList public_oe property

public PlayerList,MCLawl playerList
return PlayerList

standard public_oe static_oe property

public static Group,MCLawl standard
return Group

trueName public_oe property

public string trueName
return string