MCPcopy Create free account
hub / github.com/EasyRPG/Player / RemoveFromValidSet

Method RemoveFromValidSet

src/config_param.h:372–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 }
371
372 void RemoveFromValidSet(const E& value) {
373 _valid[value] = false;
374 if (this->IsOptionVisible() && !this->IsValid(this->_value)) {
375 this->_value = GetFirstValid();
376 }
377 }
378
379 std::string ValueToString() const override {
380 return ToString(_values[static_cast<int>(this->_value)]);

Callers 2

GetConfigMethod · 0.80
vGetConfigMethod · 0.80

Calls 2

IsOptionVisibleMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected