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

◆ UpdatePhysics()

void UpdatePhysics ( )
protected

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

208 {
209 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] Construction " + Object.GetDebugName(m_Parent) + " UpdatePhysics m_ConstructionParts=" + m_ConstructionParts.Count());
210 for ( int i = 0; i < m_ConstructionParts.Count(); ++i )
211 {
212 string key = m_ConstructionParts.GetKey( i );
213 ConstructionPart value = m_ConstructionParts.Get( key );
214
215 if ( value.IsBuilt() )
216 {
217 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] GetType=" + m_Parent.GetType() + " i=" + i + " ADD");
219 }
220 else
221 {
222 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] GetType=" + m_Parent.GetType() + " i=" + i + " RM");
224 }
225 }
226 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
Определения BaseBuildingBase.c:1292
void HideConstructionPartPhysics(string part_name)
Определения Construction.c:596
ref map< string, ref ConstructionPart > m_ConstructionParts
Определения Construction.c:15
void ShowConstructionPartPhysics(string part_name)
Определения Construction.c:591
Widget m_Parent
Определения SizeToChild.c:92
string GetPartName()
Определения ConstructionPart.c:30
bool IsBuilt()
Определения ConstructionPart.c:45
static bool IsBaseBuildingLogEnable()
Определения Debug.c:698
Определения Debug.c:594
Определения ObjectTyped.c:2

Перекрестные ссылки bsbDebugPrint(), ConstructionPart::GetPartName(), HideConstructionPartPhysics(), LogManager::IsBaseBuildingLogEnable(), ConstructionPart::IsBuilt(), m_ConstructionParts, m_Parent и ShowConstructionPartPhysics().

Используется в ItemBase::EEInit(), ItemBase::OnItemLocationChanged(), ItemBase::Refresh() и ItemBase::RefreshPhysics().