662 {
664 {
669 }
670
673 {
678 }
679
680
681 string config_path_ghosts_slots = "CfgVehicles SurvivorBase InventoryEquipment playerSlots";
682 ref array<string> player_ghosts_slots = new array<string>;
683 g_Game.ConfigGetTextArray( config_path_ghosts_slots, player_ghosts_slots );
684
685 for ( int i = 0; i < player_ghosts_slots.Count(); i++ )
686 {
687 string slot_name = player_ghosts_slots.Get ( i );
688
691
693
695 icon.GetMainWidget().Show( true );
697
698 g_Game.ConfigGetText(
"CfgSlots" +
" " + slot_name +
" name", slot_name );
699 EntityAI item =
m_Player.GetInventory().FindAttachment( InventorySlots.GetSlotIdFromString( slot_name ) );
700 if( item )
701 {
703 }
704 }
705 }
void OnAttachmentReservationRelease(EntityAI item, int slot_id)
void ItemAttached(EntityAI item, string slot_name)
SlotsIcon GetSlotsIcon(int row, int column)
void OnAttachmentReservationSet(EntityAI item, int slot_id)
void ItemDetached(EntityAI item, string slot_name)
void SetSlotParent(EntityAI parent)