DayZ 1.27
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 строка 3750

3751 {
3752 int r,g,b,a;
3753 GetColor(r,g,b,a);
3754 r = r/255;
3755 g = g/255;
3756 b = b/255;
3757 a = a/255;
3758 return MiscGameplayFunctions.GetColorString(r, g, b, a);
3759 }
proto native int GetColor()

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