Méthode | Description | |
---|---|---|
creatureColor ( int colorId ) : Color | ||
creatureColorName ( int colorId ) : string | ||
genderColor ( Gender g ) : Color | ||
genderSymbol ( Gender g ) : string | ||
getARKml ( string text, int r, int g, int b ) : string | ||
getARKmlFromPercent ( string text, int percent, double light ) : string | ||
getColorFromPercent ( int percent, double light ) : Color |
This method returns a shade from red over yellow to green, corresponding to the value p (0-100). If light is given, the brightness is adjusted (-1 to 1)
|
|
levelPercentile ( int l ) : string | ||
nextGender ( Gender g ) : Gender | ||
nextStatus ( CreatureStatus s ) : CreatureStatus | ||
precision ( int s ) : int | ||
statName ( int s, bool abr = false ) : string | ||
statusSymbol ( CreatureStatus s ) : string |
Méthode | Description | |
---|---|---|
getRGBFromPercent ( int &r, int &g, int &b, int percent, double light ) : void |
public static creatureColor ( int colorId ) : Color | ||
colorId | int | |
Résultat | Color |
public static creatureColorName ( int colorId ) : string | ||
colorId | int | |
Résultat | string |
public static genderColor ( Gender g ) : Color | ||
g | Gender | |
Résultat | Color |
public static genderSymbol ( Gender g ) : string | ||
g | Gender | |
Résultat | string |
public static getARKml ( string text, int r, int g, int b ) : string | ||
text | string | |
r | int | |
g | int | |
b | int | |
Résultat | string |
public static getARKmlFromPercent ( string text, int percent, double light ) : string | ||
text | string | |
percent | int | |
light | double | |
Résultat | string |
public static getColorFromPercent ( int percent, double light ) : Color | ||
percent | int | percent that determines the shade between red and green (0 to 100) |
light | double | double from -1 to 1. Values greater zero make the color brighter, lower than zero make the color darker. |
Résultat | Color |
public static levelPercentile ( int l ) : string | ||
l | int | |
Résultat | string |
public static nextGender ( Gender g ) : Gender | ||
g | Gender | |
Résultat | Gender |
public static nextStatus ( CreatureStatus s ) : CreatureStatus | ||
s | CreatureStatus | |
Résultat | CreatureStatus |
public static statName ( int s, bool abr = false ) : string | ||
s | int | |
abr | bool | |
Résultat | string |
public static statusSymbol ( CreatureStatus s ) : string | ||
s | CreatureStatus | |
Résultat | string |