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

◆ SetWeightDirty()

void Entity::SetWeightDirty ( )
inlineprotected

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

3560 {
3561 #ifdef DEVELOPER
3562 if (WeightDebug.m_VerbosityFlags & WeightDebugType.SET_DIRTY_FLAG)
3563 {
3564 Print("---------------------------------------");
3565 Print("ent:" + this + " - SetWeightDirty");
3566 if (WeightDebug.m_VerbosityFlags & WeightDebugType.DUMP_STACK)
3567 {
3568 DumpStack();
3569 }
3570 Print("---------------------------------------");
3571 }
3572 #endif
3573 m_WeightDirty = 1;
3574 if (GetHierarchyParent())
3575 {
3576 GetHierarchyParent().SetWeightDirty();
3577 }
3578 }
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().