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

◆ Action() [12/12]

override void HandActionBase::Action ( HandEventBase e)
inlineprivate

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

232 {
233 #ifdef ENABLE_LOGGING
234 if ( LogManager.IsInventoryHFSMLogEnable() )
235 {
236 Debug.InventoryHFSMLog("Action - STS = " + e.m_Player.GetSimulationTimeStamp(), e.ToString() , "n/a", "HandActionForceSwap", e.m_Player.ToString() );
237 }
238 #endif
239 HandEventForceSwap es = HandEventForceSwap.Cast(e);
240 if (es)
241 {
242 GameInventory.LocationSwap(es.GetSrc(), es.m_Src2, es.GetDst(), es.m_Dst2);
243 e.m_Player.OnItemInHandsChanged();
244 }
245 else
246 Error("[hndfsm] HandActionForceSwap - this is no HandEventForceSwap");
247 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), Debug::InventoryHFSMLog(), LogManager::IsInventoryHFSMLogEnable() и GameInventory::LocationSwap().