C# Class wServer.realm.StatsManager

Afficher le fichier Open project: C453/OryxKingdom Class Usage Examples

Méthodes publiques

Méthode Description
GetAttackDamage ( int min, int max ) : float
GetDefenseDamage ( wServer.realm.Entity host, int dmg, int def ) : float
GetDefenseDamage ( int dmg, bool noDef ) : float
GetDex ( ) : float
GetHPRegen ( ) : float
GetMPRegen ( ) : float
GetSpeed ( ) : float
GetSpeed ( wServer.realm.Entity entity, float stat ) : float
StatsIndexToName ( int index ) : string
StatsIndexToPotName ( int index ) : string
StatsManager ( Player player ) : wServer.realm.entities
StatsNameToIndex ( string name ) : int

Private Methods

Méthode Description
GetStats ( int id ) : int

Method Details

GetAttackDamage() public méthode

public GetAttackDamage ( int min, int max ) : float
min int
max int
Résultat float

GetDefenseDamage() public static méthode

public static GetDefenseDamage ( wServer.realm.Entity host, int dmg, int def ) : float
host wServer.realm.Entity
dmg int
def int
Résultat float

GetDefenseDamage() public méthode

public GetDefenseDamage ( int dmg, bool noDef ) : float
dmg int
noDef bool
Résultat float

GetDex() public méthode

public GetDex ( ) : float
Résultat float

GetHPRegen() public méthode

public GetHPRegen ( ) : float
Résultat float

GetMPRegen() public méthode

public GetMPRegen ( ) : float
Résultat float

GetSpeed() public méthode

public GetSpeed ( ) : float
Résultat float

GetSpeed() public static méthode

public static GetSpeed ( wServer.realm.Entity entity, float stat ) : float
entity wServer.realm.Entity
stat float
Résultat float

StatsIndexToName() public static méthode

public static StatsIndexToName ( int index ) : string
index int
Résultat string

StatsIndexToPotName() public static méthode

public static StatsIndexToPotName ( int index ) : string
index int
Résultat string

StatsManager() public méthode

public StatsManager ( Player player ) : wServer.realm.entities
player wServer.realm.entities.player.Player
Résultat wServer.realm.entities

StatsNameToIndex() public static méthode

public static StatsNameToIndex ( string name ) : int
name string
Résultat int