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

◆ CanCombineAmmo()

override bool Container::CanCombineAmmo ( )
inlineprotected

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

807 {
808 if( GetFocusedIcon() )
809 {
810 ActionManagerClient amc = ActionManagerClient.Cast( PlayerBase.Cast( GetGame().GetPlayer() ).GetActionManager() );
811
812 ItemBase entity = ItemBase.Cast( GetFocusedIcon().GetObject() );
813 ItemBase item_in_hands = ItemBase.Cast( GetGame().GetPlayer().GetHumanInventory().GetEntityInHands() );
814
815 return ( amc.CanPerformActionFromInventory( item_in_hands, entity ) || amc.CanSetActionFromInventory( item_in_hands, entity ) );
816 }
817 return false;
818 }
Object GetObject()
Определения ActionTargets.c:122
void GetActionManager()
Определения CrossHairSelector.c:132
class GP5GasMask extends MaskBase ItemBase
PlayerBase GetPlayer()
Определения ModifierBase.c:51
bool CanPerformActionFromInventory(ItemBase mainItem, ItemBase targetItem)
Определения ActionManagerClient.c:1040
bool CanSetActionFromInventory(ItemBase mainItem, ItemBase targetItem)
Определения ActionManagerClient.c:1138
Icon GetFocusedIcon()
Определения CargoContainer.c:431
proto native CGame GetGame()

Перекрестные ссылки ActionManagerClient::CanPerformActionFromInventory(), ActionManagerClient::CanSetActionFromInventory(), GetActionManager(), GetFocusedIcon(), GetGame(), GetObject() и GetPlayer().