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

◆ CanCombineAmmo()

bool Attachments::CanCombineAmmo ( )
inlineprotected

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

214 {
215 PlayerBase m_player = PlayerBase.Cast( GetGame().GetPlayer() );
216 ItemBase ent = ItemBase.Cast( GetFocusedItem() );
217 ItemBase item_in_hands = ItemBase.Cast( GetGame().GetPlayer().GetHumanInventory().GetEntityInHands() );
218 ActionManagerClient amc;
219 Class.CastTo(amc, m_player.GetActionManager());
220
221 return ( amc.CanPerformActionFromInventory( item_in_hands, ent ) );
222 }
class GP5GasMask extends MaskBase ItemBase
PlayerBase GetPlayer()
Определения ModifierBase.c:51
DayZPlayer m_player
Определения RandomGeneratorSyncManager.c:16
bool CanPerformActionFromInventory(ItemBase mainItem, ItemBase targetItem)
Определения ActionManagerClient.c:1040
EntityAI GetFocusedItem()
Определения Attachments.c:104
proto native CGame GetGame()

Перекрестные ссылки ActionManagerClient::CanPerformActionFromInventory(), Class::CastTo(), GetFocusedItem(), GetGame(), GetPlayer() и m_player.