this one is a bit special: it drops all items and destroys the ex-root of the hierarchy More...
Private Member Functions | |
void | DropEquipAndDestroyRootLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
Private Attributes | |
PlayerBase | m_Player |
this one is a bit special: it drops all items and destroys the ex-root of the hierarchy
|
inlineprivate |
References m_Player.
We don't care if a valid transform couldn't be found, we just want to preferably use it instead of placing on the old item
References GetGame(), ReplaceItemWithNewLambdaBase::m_NewLocation, m_Player, Math3D::MatrixIdentity4(), GameInventory::PrepareDropEntityPos(), CGame::RemoteObjectTreeCreate(), and InventoryLocation::SetGround().
|
private |
Referenced by CopyOldPropertiesToNew(), and DropEquipAndDestroyRootLambda().