◆ TakeOrSplitToInventory()
4 {
6
7 if( !
item.GetInventory().CanRemoveEntity() || !
player.CanManipulateInventory() )
8 return;
9
12 {
14 {
16 {
17 player.PredictiveTakeEntityToTargetAttachmentEx(
il.GetParent(),
item,
il.GetSlot());
18 }
19 else
20 {
22 if (
item.GetInventory().GetCurrentInventoryLocation(
src))
24
25 }
26 }
27 else
28 {
29 item_base.SplitIntoStackMaxClient(
il.GetParent(),
il.GetSlot() );
30 }
31 }
32 }
FindInventoryLocationType
flags for searching locations in inventory
Definition InventoryLocation.c:17
InventoryLocationType
types of Inventory Location
Definition InventoryLocation.c:4
InventoryLocation.
Definition InventoryLocation.c:29
Definition InventoryItem.c:731
Используется в AttachmentCategoriesRow::Combine(), PlayerContainer::OnDropReceivedFromGhostArea(), ClosableContainer::OnDropReceivedFromHeader(), Icon::OnPerformCombination(), HandsContainer::OnPerformCombination(), OnRightPanelDropReceived(), Icon::PerformCombination(), AttachmentCategoriesRow::Select(), HandsContainer::TakeAsAttachment() и ClosableContainer::TakeAsAttachment().
◆ TakeOrSplitToInventoryLocation()
Объявления и описания членов класса находятся в файле: