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

◆ TestAttachMagazine()

proto native bool InventoryItemSuper::TestAttachMagazine ( int muzzleIndex,
Magazine mag,
bool do_occupancy_test,
bool do_script_check )
private

query if a magazine can be attached to weapon

Аргументы
[in]muzzleIndex
[in]magmagazine to attach
[in]do_occupancy_testif false, skips test for presence of another magazine in weapon
[in]do_script_checkif false, skips script conditions
Возвращает
true if magazine can be attached