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

Method DoEvent

src/plugin/kernel/include/AFCEventManager.hpp:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 bool DoEvent(const int event_id, const AFIDataList& args) override
74 {
75 auto event_info = event_callbacks_.find_value(event_id);
76 if (event_info == nullptr)
77 {
78 return false;
79 }
80
81 for (auto iter : *event_info)
82 {
83 iter(self_, event_id, args);
84 }
85
86 return true;
87 }
88
89 bool Clear() override
90 {

Callers

nothing calls this directly

Calls 1

find_valueMethod · 0.45

Tested by

no test coverage detected