C# 클래스 ARKBreedingStats.Utils

파일 보기 프로젝트 열기: cadon/ARKStatsExtractor 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

creatureColor() 공개 정적인 메소드

public static creatureColor ( int colorId ) : Color
colorId int
리턴 Color

creatureColorName() 공개 정적인 메소드

public static creatureColorName ( int colorId ) : string
colorId int
리턴 string

genderColor() 공개 정적인 메소드

public static genderColor ( Gender g ) : Color
g Gender
리턴 Color

genderSymbol() 공개 정적인 메소드

public static genderSymbol ( Gender g ) : string
g Gender
리턴 string

getARKml() 공개 정적인 메소드

public static getARKml ( string text, int r, int g, int b ) : string
text string
r int
g int
b int
리턴 string

getARKmlFromPercent() 공개 정적인 메소드

public static getARKmlFromPercent ( string text, int percent, double light ) : string
text string
percent int
light double
리턴 string

getColorFromPercent() 공개 정적인 메소드

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)
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

levelPercentile() 공개 정적인 메소드

public static levelPercentile ( int l ) : string
l int
리턴 string

nextGender() 공개 정적인 메소드

public static nextGender ( Gender g ) : Gender
g Gender
리턴 Gender

nextStatus() 공개 정적인 메소드

public static nextStatus ( CreatureStatus s ) : CreatureStatus
s CreatureStatus
리턴 CreatureStatus

precision() 공개 정적인 메소드

public static precision ( int s ) : int
s int
리턴 int

statName() 공개 정적인 메소드

public static statName ( int s, bool abr = false ) : string
s int
abr bool
리턴 string

statusSymbol() 공개 정적인 메소드

public static statusSymbol ( CreatureStatus s ) : string
s CreatureStatus
리턴 string