Ark Server API (ASA) - Wiki
|
#include <ColorList.h>
Public Types | |
typedef TMap< FString, const FColor * > | TColorsMap |
typedef TArray< const FColor * > | TColorsLookup |
Public Member Functions | |
void | CreateColorMap () |
ARK_API const FColor & | GetFColorByName (const TCHAR *ColorName) const |
ARK_API const FLinearColor | GetFLinearColorByName (const TCHAR *ColorName) const |
bool | IsValidColorName (const TCHAR *ColorName) const |
ARK_API int32 | GetColorIndex (const TCHAR *ColorName) const |
ARK_API const FColor & | GetFColorByIndex (int32 ColorIndex) const |
ARK_API const FString & | GetColorNameByIndex (int32 ColorIndex) const |
ARK_API int32 | GetColorsNum () const |
void | LogColors () |
Protected Member Functions | |
void | InitializeColor (const TCHAR *ColorName, const FColor *ColorPtr, int32 &CurrentIndex) |
Protected Attributes | |
TColorsMap | ColorsMap |
TColorsLookup | ColorsLookup |
Definition at line 15 of file ColorList.h.
Definition at line 19 of file ColorList.h.
Definition at line 18 of file ColorList.h.
void FColorList::CreateColorMap | ( | ) |
Initializes list of common colors.
Returns index of color based on ColorName. If not found returns 0.
Returns color's name based on index. If index is invalid, returns BadIndex.
Returns the number of colors.
Definition at line 144 of file ColorList.h.
Returns a color based on index. If index is invalid, returns White.
Returns a color based on ColorName. If not found, returns White.
ARK_API const FLinearColor FColorList::GetFLinearColorByName | ( | const TCHAR * | ColorName | ) | const |
Returns a linear color based on ColorName. If not found, returns White.
|
protected |
Returns true if color is valid common colors. If not found returns false.
void FColorList::LogColors | ( | ) |
Prints to log all colors information.
Definition at line 30 of file ColorList.h.
Definition at line 31 of file ColorList.h.
Definition at line 29 of file ColorList.h.
Definition at line 25 of file ColorList.h.
Definition at line 32 of file ColorList.h.
Definition at line 33 of file ColorList.h.
Definition at line 34 of file ColorList.h.
Definition at line 36 of file ColorList.h.
Definition at line 37 of file ColorList.h.
Definition at line 35 of file ColorList.h.
Definition at line 38 of file ColorList.h.
|
protected |
Array of colors for fast lookup when using index.
Definition at line 159 of file ColorList.h.
|
protected |
List of common colors.
Definition at line 156 of file ColorList.h.
Definition at line 39 of file ColorList.h.
Definition at line 40 of file ColorList.h.
Definition at line 41 of file ColorList.h.
Definition at line 42 of file ColorList.h.
Definition at line 27 of file ColorList.h.
Definition at line 43 of file ColorList.h.
Definition at line 44 of file ColorList.h.
Definition at line 45 of file ColorList.h.
Definition at line 46 of file ColorList.h.
Definition at line 47 of file ColorList.h.
Definition at line 48 of file ColorList.h.
Definition at line 49 of file ColorList.h.
Definition at line 50 of file ColorList.h.
Definition at line 51 of file ColorList.h.
Definition at line 52 of file ColorList.h.
Definition at line 53 of file ColorList.h.
Definition at line 54 of file ColorList.h.
Definition at line 55 of file ColorList.h.
Definition at line 56 of file ColorList.h.
Definition at line 57 of file ColorList.h.
Definition at line 58 of file ColorList.h.
Definition at line 59 of file ColorList.h.
Definition at line 60 of file ColorList.h.
Definition at line 24 of file ColorList.h.
Definition at line 62 of file ColorList.h.
Definition at line 63 of file ColorList.h.
Definition at line 61 of file ColorList.h.
Definition at line 64 of file ColorList.h.
Definition at line 65 of file ColorList.h.
Definition at line 66 of file ColorList.h.
Definition at line 67 of file ColorList.h.
Definition at line 68 of file ColorList.h.
Definition at line 69 of file ColorList.h.
Definition at line 70 of file ColorList.h.
Definition at line 71 of file ColorList.h.
Definition at line 26 of file ColorList.h.
Definition at line 72 of file ColorList.h.
Definition at line 73 of file ColorList.h.
Definition at line 74 of file ColorList.h.
Definition at line 75 of file ColorList.h.
Definition at line 76 of file ColorList.h.
Definition at line 77 of file ColorList.h.
Definition at line 78 of file ColorList.h.
Definition at line 79 of file ColorList.h.
Definition at line 80 of file ColorList.h.
Definition at line 81 of file ColorList.h.
Definition at line 82 of file ColorList.h.
Definition at line 83 of file ColorList.h.
Definition at line 84 of file ColorList.h.
Definition at line 85 of file ColorList.h.
Definition at line 86 of file ColorList.h.
Definition at line 87 of file ColorList.h.
Definition at line 88 of file ColorList.h.
Definition at line 89 of file ColorList.h.
Definition at line 90 of file ColorList.h.
Definition at line 91 of file ColorList.h.
Definition at line 92 of file ColorList.h.
Definition at line 93 of file ColorList.h.
Definition at line 94 of file ColorList.h.
Definition at line 95 of file ColorList.h.
Definition at line 96 of file ColorList.h.
Definition at line 97 of file ColorList.h.
Definition at line 98 of file ColorList.h.
Definition at line 23 of file ColorList.h.
Definition at line 99 of file ColorList.h.
Definition at line 100 of file ColorList.h.
Definition at line 101 of file ColorList.h.
Definition at line 102 of file ColorList.h.
Definition at line 103 of file ColorList.h.
Definition at line 104 of file ColorList.h.
Definition at line 105 of file ColorList.h.
Definition at line 106 of file ColorList.h.
Definition at line 107 of file ColorList.h.
Definition at line 108 of file ColorList.h.
Definition at line 109 of file ColorList.h.
Definition at line 110 of file ColorList.h.
Definition at line 111 of file ColorList.h.
Definition at line 112 of file ColorList.h.
Definition at line 113 of file ColorList.h.
Definition at line 114 of file ColorList.h.
Definition at line 115 of file ColorList.h.
Definition at line 116 of file ColorList.h.
Definition at line 117 of file ColorList.h.
Definition at line 118 of file ColorList.h.
Definition at line 119 of file ColorList.h.
Definition at line 22 of file ColorList.h.
Definition at line 28 of file ColorList.h.
Definition at line 120 of file ColorList.h.