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

◆ RefreshAttachements()

void ItemBase::RefreshAttachements ( )
inlineprotected

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

314 {
315 int slot_id_camo;
316 int slot_id_xlights;
317 EntityAI eai_xlights;
318
319 slot_id_camo = InventorySlots.GetSlotIdFromString("CamoNet");
320 m_CamoNet = CamoNet.Cast(GetInventory().FindAttachment(slot_id_camo));
321
322 slot_id_xlights = InventorySlots.GetSlotIdFromString("Lights");
323 eai_xlights = GetInventory().FindAttachment(slot_id_xlights);
324
325 if (m_CamoNet)
326 {
328 //SetAnimationPhase("Camonet", 0);
329
330 if (!IsKindOf("MediumTent"))
331 {
332 AddProxyPhysics("camonet");
333 }
334 }
335
336 if (eai_xlights)
337 {
338 SetAnimationPhase("Xlights", 0);
339 SetAnimationPhase("Xlights_glass_r", 0);
340 SetAnimationPhase("Xlights_glass_g", 0);
341 SetAnimationPhase("Xlights_glass_b", 0);
342 SetAnimationPhase("Xlights_glass_y", 0);
343 }
344 }
class LogManager EntityAI
CamoNet m_CamoNet
Определения TentBase.c:37
void HandleCamoNetAttachment(bool hide)
Определения TentBase.c:753

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

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