MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / setSpecifier

Method setSpecifier

plugins/dm.objectives/Component.h:200–209  ·  view source on GitHub ↗

* Set the Specifier at the given index. * * @param idx * The index of the specifier, starting from 1. */

Source from the content-addressed store, hash-verified

198 * The index of the specifier, starting from 1.
199 */
200 void setSpecifier(Specifier::SpecifierNumber num, SpecifierPtr spec)
201 {
202 assert(
203 _specifiers.size() == static_cast<std::size_t>(
204 Specifier::MAX_SPECIFIERS
205 )
206 );
207 _specifiers[static_cast<std::size_t>(num)] = spec;
208 _sigChanged();
209 }
210
211 /**
212 * Get the Specifier at the given index.

Callers 1

operator()Method · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected