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

◆ OnStart()

void OnStart ( ActionData action_data)
protected

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

1377 {
1378#ifdef ENABLE_LOGGING
1380 {
1381 Debug.ActionLog("STS = " + action_data.m_Player.GetSimulationTimeStamp(), this.ToString() , "n/a", "OnStart", action_data.m_Player.ToString() );
1382 }
1383#endif
1384 if (action_data.m_Player != NULL && action_data.m_Player.IsPlacingLocal() && !IsDeploymentAction())
1385 action_data.m_Player.PlacingCancelLocal();
1386 }
bool IsDeploymentAction()
Is an action directly related to deployment/advanced placing.
Определения ActionBase.c:412
PlayerBase m_Player
Определения ActionBase.c:40
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Определения 3_Game/DayZ/tools/Debug.c:188
Определения 3_Game/DayZ/tools/Debug.c:2
static bool IsActionLogEnable()
Определения 3_Game/DayZ/tools/Debug.c:749

Перекрестные ссылки Debug::ActionLog(), LogManager::IsActionLogEnable(), IsDeploymentAction() и ActionData::m_Player.