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

◆ GetItemParam()

CfgParam PluginConfigHandler::GetItemParam ( string preset_name,
int item_index,
string param_name )
inlineprotected

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

2023 {
2024 array<ref CfgParam> item_params = GetItemParams( preset_name, item_index );
2025
2026 if ( item_params == NULL )
2027 {
2028 return NULL;
2029 }
2030
2031 CfgParam param = NULL;
2032 for ( int i = 0; i < item_params.Count(); i++ )
2033 {
2034 if ( item_params.Get(i).GetName() == param_name )
2035 {
2036 param = item_params.Get(i);
2037 }
2038 }
2039
2040 return param;
2041 }
array< ref CfgParam > GetItemParams(string preset_name, int item_index)
Определения PluginConfigDebugProfile.c:2001

Перекрестные ссылки GetItemParams().

Используется в GetItemHealth(), GetItemQuantity(), GetItemWithPhysics(), SetItemHealth(), SetItemQuantity() и SetItemWithPhysics().