feat: spawner weights (#2006)

* feat: spawner weights

* remove ref

* default weights to 1
This commit is contained in:
David Markowitz
2026-06-19 19:08:15 -07:00
committed by GitHub
parent 308412f46e
commit 7456d6b5c1
5 changed files with 94 additions and 53 deletions

View File

@@ -289,6 +289,14 @@ struct LwoNameValue {
this->Erase(GeneralUtils::ASCIIToUTF16(key));
}
ValueType::iterator find(const ValueType::key_type& key) {
return this->values.find(key);
}
ValueType::const_iterator find(const ValueType::key_type& key) const {
return this->values.find(key);
}
LwoNameValue() = default;
LwoNameValue(const LwoNameValue& other) {