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

Method FindContainer

src/plugin/kernel/src/AFCEntity.cpp:611–619  ·  view source on GitHub ↗

container operation

Source from the content-addressed store, hash-verified

609
610// container operation
611std::shared_ptr<AFIContainer> AFCEntity::FindContainer(const std::string& name)
612{
613 ARK_ASSERT_RET_VAL(class_meta_ != nullptr, nullptr);
614
615 auto index = class_meta_->GetIndex(name);
616 ARK_ASSERT_RET_VAL(index > 0, nullptr);
617
618 return FindContainer(index);
619}
620
621std::shared_ptr<AFIContainer> AFCEntity::FindContainer(const uint32_t index)
622{

Callers 5

CreateContainerEntityMethod · 0.45
OnSyncContainerPlaceMethod · 0.45
DelayContainerToPBMethod · 0.45
DBDataToContainerMethod · 0.45
OnContainerCallBackMethod · 0.45

Calls 2

CreateContainerMethod · 0.80
GetIndexMethod · 0.45

Tested by

no test coverage detected