MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / removeBan

Method removeBan

Engine/source/app/banList.cpp:120–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118//------------------------------------------------------------------------------
119
120void BanList::removeBan(S32 uniqueId, const char *)
121{
122 Vector<BanInfo>::iterator i;
123 for(i = list.begin();i != list.end();i++)
124 {
125 if(uniqueId == i->uniqueId)
126 {
127 list.erase(i);
128 return;
129 }
130 }
131}
132
133//------------------------------------------------------------------------------
134

Callers 1

banList.cppFile · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected