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

◆ GetItemParam()

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

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

2083 {
2084 array<ref CfgParam> item_params = GetItemParams( preset_name, item_index );
2085
2086 if ( item_params == NULL )
2087 {
2088 return NULL;
2089 }
2090
2091 CfgParam param = NULL;
2092 for ( int i = 0; i < item_params.Count(); i++ )
2093 {
2094 if ( item_params.Get(i).GetName() == param_name )
2095 {
2096 param = item_params.Get(i);
2097 }
2098 }
2099
2100 return param;
2101 }
array< ref CfgParam > GetItemParams(string preset_name, int item_index)
Определения PluginConfigDebugProfile.c:2061

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

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