mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-20 13:44:21 +00:00
feat: spawner weights (#2006)
* feat: spawner weights * remove ref * default weights to 1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user