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

◆ SetWeightDirty()

void Entity::SetWeightDirty ( )
inlineprotected

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

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