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

◆ UpdatePhysics() [3/3]

void ItemBase::UpdatePhysics ( )
inlineprotected

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

609 {
610 string proxy_selection_name;
611 string animation_name;
612
613 if (GetState() == PITCHED)
614 {
615 for (int i = 0; i < m_ShowAnimationsWhenPitched.Count(); i++)
616 {
617 animation_name = m_ShowAnimationsWhenPitched.Get(i);
618
619 proxy_selection_name = animation_name;
620 proxy_selection_name.ToLower();
621 AddProxyPhysics(proxy_selection_name);
622 }
623
625 }
626 else
627 {
628 for (int j = 0; j < m_ShowAnimationsWhenPacked.Count(); j++)
629 {
630 animation_name = m_ShowAnimationsWhenPacked.Get(j);
631
632 proxy_selection_name = animation_name;
633 proxy_selection_name.ToLower();
634 AddProxyPhysics(proxy_selection_name);
635 }
636 }
637 }
DayZGame g_Game
Определения DayZGame.c:3942
void HandleOpeningsPhysics()
Определения TentBase.c:893
ref array< string > m_ShowAnimationsWhenPacked
Определения TentBase.c:35
static const int PITCHED
Определения TentBase.c:21
ref array< string > m_ShowAnimationsWhenPitched
Определения TentBase.c:34
int GetState()
Определения TentBase.c:459
proto int ToLower()
Changes string to lowercase. Returns length.
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, GetState(), HandleOpeningsPhysics(), m_ShowAnimationsWhenPacked, m_ShowAnimationsWhenPitched, PITCHED и string::ToLower().