Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
getRGBFromPercent ( int &r, int &g, int &b, int percent, double light ) : void |
public static creatureColor ( int colorId ) : Color | ||
colorId | int | |
Результат | Color |
public static creatureColorName ( int colorId ) : string | ||
colorId | int | |
Результат | string |
public static genderColor ( Gender g ) : Color | ||
g | Gender | |
Результат | Color |
public static genderSymbol ( Gender g ) : string | ||
g | Gender | |
Результат | string |
public static getARKml ( string text, int r, int g, int b ) : string | ||
text | string | |
r | int | |
g | int | |
b | int | |
Результат | string |
public static getARKmlFromPercent ( string text, int percent, double light ) : string | ||
text | string | |
percent | int | |
light | double | |
Результат | 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. |
Результат | Color |
public static levelPercentile ( int l ) : string | ||
l | int | |
Результат | string |
public static nextGender ( Gender g ) : Gender | ||
g | Gender | |
Результат | Gender |
public static nextStatus ( CreatureStatus s ) : CreatureStatus | ||
s | CreatureStatus | |
Результат | CreatureStatus |
public static statName ( int s, bool abr = false ) : string | ||
s | int | |
abr | bool | |
Результат | string |
public static statusSymbol ( CreatureStatus s ) : string | ||
s | CreatureStatus | |
Результат | string |