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

◆ GetItemParam()

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

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

2040 {
2041 array<ref CfgParam> item_params = GetItemParams( preset_name, item_index );
2042
2043 if ( item_params == NULL )
2044 {
2045 return NULL;
2046 }
2047
2048 CfgParam param = NULL;
2049 for ( int i = 0; i < item_params.Count(); i++ )
2050 {
2051 if ( item_params.Get(i).GetName() == param_name )
2052 {
2053 param = item_params.Get(i);
2054 }
2055 }
2056
2057 return param;
2058 }
array< ref CfgParam > GetItemParams(string preset_name, int item_index)
Определения PluginConfigDebugProfile.c:2018

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

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