| 542 | } |
| 543 | |
| 544 | List<ItemPtr> ContainerObject::doClearContainer() { |
| 545 | stopCrafting(); |
| 546 | List<ItemPtr> result = m_items->takeAll(); |
| 547 | m_items->clearItems(); |
| 548 | itemsUpdated(); |
| 549 | return result; |
| 550 | } |
| 551 | |
| 552 | void ContainerObject::itemsUpdated() { |
| 553 | m_itemsUpdated = true; |
nothing calls this directly
no test coverage detected