DayZ 1.28
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 строка 3820

3821 {
3822 int r,g,b,a;
3823 GetColor(r,g,b,a);
3824 r = r/255;
3825 g = g/255;
3826 b = b/255;
3827 a = a/255;
3828 return MiscGameplayFunctions.GetColorString(r, g, b, a);
3829 }
proto native int GetColor()

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