C# Class fCraft.ClassList

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

Méthodes publiques

Свойство Type Description
classes PlayerClass>.Dictionary
classesByIndex List

Méthodes publiques

Méthode Description
AddClass ( PlayerClass playerClass ) : bool
CanChangeName ( PlayerClass pc, string newName ) : bool
CanChangeRank ( PlayerClass pc, byte newRank ) : bool
ChangeName ( PlayerClass pc, string newName ) : void
ChangeRank ( PlayerClass pc, byte newRank ) : void
ClassList ( World _world ) : System
ContainsRank ( int rank ) : bool
DeleteClass ( int index ) : bool
FindClass ( string _name ) : PlayerClass
GetIndex ( PlayerClass pc ) : int
ParseClass ( string name ) : PlayerClass
ParseClassLimits ( PlayerClass pc ) : bool
ParseIndex ( int index ) : PlayerClass
ParseRank ( int maxRank ) : PlayerClass
RebuildIndex ( ) : void

Method Details

AddClass() public méthode

public AddClass ( PlayerClass playerClass ) : bool
playerClass PlayerClass
Résultat bool

CanChangeName() public méthode

public CanChangeName ( PlayerClass pc, string newName ) : bool
pc PlayerClass
newName string
Résultat bool

CanChangeRank() public méthode

public CanChangeRank ( PlayerClass pc, byte newRank ) : bool
pc PlayerClass
newRank byte
Résultat bool

ChangeName() public méthode

public ChangeName ( PlayerClass pc, string newName ) : void
pc PlayerClass
newName string
Résultat void

ChangeRank() public méthode

public ChangeRank ( PlayerClass pc, byte newRank ) : void
pc PlayerClass
newRank byte
Résultat void

ClassList() public méthode

public ClassList ( World _world ) : System
_world World
Résultat System

ContainsRank() public méthode

public ContainsRank ( int rank ) : bool
rank int
Résultat bool

DeleteClass() public méthode

public DeleteClass ( int index ) : bool
index int
Résultat bool

FindClass() public méthode

public FindClass ( string _name ) : PlayerClass
_name string
Résultat PlayerClass

GetIndex() public méthode

public GetIndex ( PlayerClass pc ) : int
pc PlayerClass
Résultat int

ParseClass() public méthode

public ParseClass ( string name ) : PlayerClass
name string
Résultat PlayerClass

ParseClassLimits() public méthode

public ParseClassLimits ( PlayerClass pc ) : bool
pc PlayerClass
Résultat bool

ParseIndex() public méthode

public ParseIndex ( int index ) : PlayerClass
index int
Résultat PlayerClass

ParseRank() public méthode

public ParseRank ( int maxRank ) : PlayerClass
maxRank int
Résultat PlayerClass

RebuildIndex() public méthode

public RebuildIndex ( ) : void
Résultat void

Property Details

classes public_oe property

public Dictionary classes
Résultat PlayerClass>.Dictionary

classesByIndex public_oe property

public List classesByIndex
Résultat List