DayZ 1.29
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( g_Game.GetPlayer() ).GetActionManager() );
811
812 ItemBase entity = ItemBase.Cast( GetFocusedIcon().GetObject() );
813 ItemBase item_in_hands = ItemBase.Cast( g_Game.GetPlayer().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
DayZGame g_Game
Определения DayZGame.c:3942
class GP5GasMask extends MaskBase ItemBase
bool CanPerformActionFromInventory(ItemBase mainItem, ItemBase targetItem)
Определения ActionManagerClient.c:1040
bool CanSetActionFromInventory(ItemBase mainItem, ItemBase targetItem)
Определения ActionManagerClient.c:1138
Icon GetFocusedIcon()
Определения CargoContainer.c:431

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