MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / OnContainerDestroy

Method OnContainerDestroy

src/plugin/kernel/src/AFClassCallBackManager.cpp:515–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void AFClassCallBackManager::OnContainerDestroy(
516 AFDelaySyncContainer& container, uint32_t index, std::shared_ptr<AFIEntity> src_entity)
517{
518 if (src_entity->IsSent())
519 {
520 container.destroy_list_.insert(index);
521 }
522
523 container.index_list_.insert(index);
524}
525
526void AFClassCallBackManager::OnContainerSwap(AFDelaySyncContainer& container, uint32_t src_index, uint32_t dest_index)
527{

Callers

nothing calls this directly

Calls 2

IsSentMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected