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

◆ SetWeightDirty()

void Entity::SetWeightDirty ( )
inlineprotected

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

3513 {
3514 #ifdef DEVELOPER
3515 if (WeightDebug.m_VerbosityFlags & WeightDebugType.SET_DIRTY_FLAG)
3516 {
3517 Print("---------------------------------------");
3518 Print("ent:" + this + " - SetWeightDirty");
3519 if (WeightDebug.m_VerbosityFlags & WeightDebugType.DUMP_STACK)
3520 {
3521 DumpStack();
3522 }
3523 Print("---------------------------------------");
3524 }
3525 #endif
3526 m_WeightDirty = 1;
3527 if (GetHierarchyParent())
3528 {
3529 GetHierarchyParent().SetWeightDirty();
3530 }
3531 }
proto native EntityAI GetHierarchyParent()
Returns direct parent of current entity.
bool m_WeightDirty
Определения EntityAI.c:105
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().