MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / set

Method set

engine/Poseidon/Foundation/Containers/Bitmask.cpp:220–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void BitMask::set(int value, bool flag)
221{
222 if (flag)
223 {
224 reserve(value);
225 value -= min;
226 MaskHigh(value) |= MaskLow(value);
227 return;
228 }
229 if (value < min || value >= max)
230 {
231 return;
232 }
233 value -= min;
234 MaskHigh(value) &= ~MaskLow(value);
235}
236
237void BitMask::on(int value)
238{

Callers 6

initFunction · 0.45
run_publishFunction · 0.45
pruneFunction · 0.45
report_observationFunction · 0.45
updateBrowserUrlFunction · 0.45
renderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected