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

◆ GetAttachmentSlots()

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

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

921 {
922 string config_path = "CfgVehicles" + " " + entity.GetType() + " " + "attachments";
923 if ( GetGame().ConfigIsExisting( config_path ) )
924 {
925 GetGame().ConfigGetTextArray( config_path, attachment_slots );
926 }
927 }
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
proto native CGame GetGame()

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