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

◆ IsCLIParam()

proto native bool IsCLIParam ( string param)

Returns if command line argument is present.

Аргументы
nameof a command line argument
Возвращает
True if param is present, False if hasn't been found
if (IsCLIParam("verbose")) // Prints "something" when program executed with param -verbose
{
Print("something");
}
proto void Print(void var)
Prints content of variable to console/log.
proto native bool IsCLIParam(string param)
Returns if command line argument is present.

Перекрестные ссылки name.

Используется в ItemBase::AdjustDetectionRange(), CheckBaitCompatibility(), ItemBase::EvaluateCatch(), ItemBase::IncreaseElapsedTime(), LogManager::Init(), CatchingContextFishingRodAction::InitCatchingItemData(), CatchingContextFishingRodAction::ModifySignalProbability(), MissionBase::OnUpdate(), CatchingContextFishingRodAction::RandomizeSignalDuration(), CatchingContextFishingRodAction::RandomizeSignalStartTime(), CAContinuousRepeatFishing::SetNewSignalData(), CatchingContextTrapsBase::SetupInitialTypes(), CatchingContextTrapsBase::UpdateBaseProbability() и CatchingContextTrapsBase::UpdateUsedBait().