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

◆ GetAttachmentSlots()

void ItemBase::GetAttachmentSlots ( EntityAI entity,
out array< string > attachment_slots )
inlineprotected

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

941 {
942 string config_path = "CfgVehicles" + " " + entity.GetType() + " " + "attachments";
943 if ( GetGame().ConfigIsExisting( config_path ) )
944 {
945 GetGame().ConfigGetTextArray( config_path, attachment_slots );
946 }
947 }
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetTextArray() и GetGame().