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

◆ SetWeightDirty()

void Entity::SetWeightDirty ( )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 3600

3601 {
3602 #ifdef DEVELOPER
3603 if (WeightDebug.m_VerbosityFlags & WeightDebugType.SET_DIRTY_FLAG)
3604 {
3605 Print("---------------------------------------");
3606 Print("ent:" + this + " - SetWeightDirty");
3607 if (WeightDebug.m_VerbosityFlags & WeightDebugType.DUMP_STACK)
3608 {
3609 DumpStack();
3610 }
3611 Print("---------------------------------------");
3612 }
3613 #endif
3614 m_WeightDirty = 1;
3615 if (GetHierarchyParent())
3616 {
3617 GetHierarchyParent().SetWeightDirty();
3618 }
3619 }
proto native EntityAI GetHierarchyParent()
Returns direct parent of current entity.
bool m_WeightDirty
proto void DumpStack()
Prints current call stack (stack trace)
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки DumpStack(), GetHierarchyParent(), m_WeightDirty и Print().

Используется в EEAmmoChanged(), EECargoIn(), EECargoOut(), EEItemAttached() и EEItemDetached().