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

Method HaveMask

src/plugin/kernel/src/AFCEntity.cpp:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135bool AFCEntity::HaveMask(const std::string& name, ArkDataMask feature) const
136{
137 ARK_ASSERT_RET_VAL(class_meta_ != nullptr, false);
138
139 auto index = class_meta_->GetIndex(name);
140 ARK_ASSERT_RET_VAL(index > 0, false);
141
142 return HaveMask(index, feature);
143}
144
145bool AFCEntity::HaveMask(const uint32_t index, ArkDataMask feature) const
146{

Callers

nothing calls this directly

Calls 2

GetIndexMethod · 0.45
GetNodeMethod · 0.45

Tested by

no test coverage detected