|
staticprotected |
test if forced swap can be performed.
| [in] | item1 | is the forced item (primary) |
| [in] | item1_dst | optional destination for item1 (null if item1 goes to place of item2) |
| [in] | item2 | second item that will be replaced by the item1. (secondary) |
| [out] | item2_dst | second item's potential destination (if null, search for item_dst2 is ommited). if (NOT null AND IsValid()), then it is tried first, without search to inventory |
Используется в CanForceSwapEntitiesEx().