DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetColorString()

string InventoryItem::GetColorString ( )
inlineprotected

Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)".

См. определение в файле ItemBase.c строка 3875

3876 {
3877 int r,g,b,a;
3878 GetColor(r,g,b,a);
3879 r = r/255;
3880 g = g/255;
3881 b = b/255;
3882 a = a/255;
3883 return MiscGameplayFunctions.GetColorString(r, g, b, a);
3884 }
proto native int GetColor()

Перекрестные ссылки GetColor().