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

◆ RefreshAttachements()

void ItemBase::RefreshAttachements ( )
inlineprotected

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

335 {
336 int slot_id_camo;
337 int slot_id_xlights;
338 EntityAI eai_xlights;
339
340 slot_id_camo = InventorySlots.GetSlotIdFromString("CamoNet");
341 m_CamoNet = CamoNet.Cast(GetInventory().FindAttachment(slot_id_camo));
342
343 slot_id_xlights = InventorySlots.GetSlotIdFromString("Lights");
344 eai_xlights = GetInventory().FindAttachment(slot_id_xlights);
345
346 if (m_CamoNet)
347 {
349 //SetAnimationPhase("Camonet", 0);
350
351 if (!IsKindOf("MediumTent"))
352 {
353 AddProxyPhysics("camonet");
354 }
355 }
356
357 if (eai_xlights)
358 {
359 SetAnimationPhase("Xlights", 0);
360 SetAnimationPhase("Xlights_glass_r", 0);
361 SetAnimationPhase("Xlights_glass_g", 0);
362 SetAnimationPhase("Xlights_glass_b", 0);
363 SetAnimationPhase("Xlights_glass_y", 0);
364 }
365 }
class LogManager EntityAI
CamoNet m_CamoNet
Определения TentBase.c:37
void HandleCamoNetAttachment(bool hide)
Определения TentBase.c:774

Перекрестные ссылки InventorySlots::GetSlotIdFromString(), TentBase::HandleCamoNetAttachment() и m_CamoNet.

Используется в OnStoreLoad().