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

◆ Action() [12/12]

override void HandActionBase::Action ( HandEventBase e)
inlineprivate

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

220 {
221 #ifdef ENABLE_LOGGING
222 if ( LogManager.IsInventoryHFSMLogEnable() )
223 {
224 Debug.InventoryHFSMLog("Action - STS = " + e.m_Player.GetSimulationTimeStamp(), e.ToString() , "n/a", "HandActionForceSwap", e.m_Player.ToString() );
225 }
226 #endif
227 HandEventForceSwap es = HandEventForceSwap.Cast(e);
228 if (es)
229 {
230 GameInventory.LocationSwap(es.GetSrc(), es.m_Src2, es.GetDst(), es.m_Dst2);
231 e.m_Player.OnItemInHandsChanged();
232 }
233 else
234 Error("[hndfsm] HandActionForceSwap - this is no HandEventForceSwap");
235 }
void Debug()
Определения UniversalTemperatureSource.c:349
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

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