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

◆ RefreshPhysics()

override void Inventory_Base::RefreshPhysics ( )
inlineprotected

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

125 {
126 super.RefreshPhysics();
127
128 if ( this && !ToDelete() )
129 {
130 RemoveProxyPhysics( "inventory" );
131 RemoveProxyPhysics( "placing" );
132 RemoveProxyPhysics( "filled" );
133
134 int state = GetState();
135
136 switch (state)
137 {
138 case UNFOLDED:
139 //ShowSelection( "placing" );
140 AddProxyPhysics( "placing" );
141
142 return;
143
144 case FOLDED:
145 AddProxyPhysics( "inventory" );
146 return;
147
148 case FILLED:
149 AddProxyPhysics( "filled" );
150 return;
151 }
152 }
153 }
static const int UNFOLDED
Определения HescoBox.c:4
static const int FOLDED
Определения HescoBox.c:3
int GetState()
Определения HescoBox.c:51
static const int FILLED
Определения HescoBox.c:5

Перекрестные ссылки FILLED, FOLDED, GetState() и UNFOLDED.

Используется в Fill(), Fold() и Unfold().