MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / CMMPluginIterator

Method CMMPluginIterator

core/logic/smn_core.cpp:132–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130{
131public:
132 CMMPluginIterator(const CVector<SMPlugin *> *list)
133 : m_hasStarted(false)
134 {
135 for(auto iter = list->begin(); iter != list->end(); ++iter) {
136 m_list.push_back(*iter);
137 }
138 scripts->FreePluginList(list);
139
140 m_current = m_list.begin();
141
142 scripts->AddPluginsListener(this);
143 }
144
145 virtual ~CMMPluginIterator()
146 {

Callers

nothing calls this directly

Calls 5

push_backMethod · 0.80
FreePluginListMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
AddPluginsListenerMethod · 0.45

Tested by

no test coverage detected