Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ColourClothesLambda
+ Граф наследования:ColourClothesLambda:

Закрытые члены

void ColourClothesLambda (EntityAI old_item, string new_item_type, PlayerBase player, int rr, int gg, int bb, int aa)
 
override void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 

Закрытые данные

int r
 
int g
 
int b
 
int a
 

Подробное описание

Конструктор(ы)

◆ ColourClothesLambda()

void ColourClothesLambda ( EntityAI old_item,
string new_item_type,
PlayerBase player,
int rr,
int gg,
int bb,
int aa )
inlineprivate
596 { r = rr; g = gg; b = bb; a = aa; }
int b
Definition Barrel_ColorBase.c:594
int g
Definition Barrel_ColorBase.c:594
int a
Definition Barrel_ColorBase.c:594
int r
Definition Barrel_ColorBase.c:594
Definition EntityAI.c:95

Перекрестные ссылки a, b, g и r.

Методы

◆ CopyOldPropertiesToNew()

override void CopyOldPropertiesToNew ( notnull EntityAI old_item,
EntityAI new_item )
inlineprivate
599 {
600 super.CopyOldPropertiesToNew(old_item, new_item);
601
602 //Print("ColourClothesLambda::OnCreated object=" + new_item);
604 if ( new_item )
605 {
606 new_item.SetObjectTexture(new_item.GetHiddenSelectionsData().GetHiddenSelectionIndex( "personality" ), MiscGameplayFunctions.GetColorString(r, g, b, a));
607
608 //nitem.SetItemVariableString("varColor", color); //SYNCFAIL
609 ib.SetColor(r*255, g*255, b*255, a*255);
610 }
611 }
Definition InventoryItem.c:731

Перекрестные ссылки a, b, g и r.

Поля

◆ a

int a
private

Используется в ColourClothesLambda() и CopyOldPropertiesToNew().

◆ b

int b
private

Используется в ColourClothesLambda() и CopyOldPropertiesToNew().

◆ g

int g
private

Используется в ColourClothesLambda() и CopyOldPropertiesToNew().

◆ r

int r
private

Используется в ColourClothesLambda() и CopyOldPropertiesToNew().


Объявления и описания членов класса находятся в файле: