MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / RemoveCustomStatic

Method RemoveCustomStatic

ogsr_engine/xrGame/UIGameCustom.cpp:145–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void CUIGameCustom::RemoveCustomStatic(LPCSTR id)
146{
147 st_vec::iterator it = std::find(m_custom_statics.begin(), m_custom_statics.end(), id);
148 if (it != m_custom_statics.end())
149 {
150 xr_delete((*it).m_static);
151 m_custom_statics.erase(it);
152
153 UpdateStaticPriorityIndex();
154 }
155}
156
157#include "ui/UIGameTutorial.h"
158

Callers 3

UpdateCLMethod · 0.80
UpdateMethod · 0.80
HideMethod · 0.80

Calls 5

xr_deleteFunction · 0.85
findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected