Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarNetElementGroup.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-05-26 05:37:23 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2025-05-26 05:37:23 +1000
commit4b3cf6a40c4a2291dd6cf344320840ba7a1980b3 (patch)
tree86f50764c4b437cf0f70a13167c7208dfc49f462 /source/core/StarNetElementGroup.hpp
parentf3079a79e7d336fabc6b8bbd0a670176e0b5bc6a (diff)
net: fix index index compatibility issues in NetElementGroup
Diffstat (limited to 'source/core/StarNetElementGroup.hpp')
-rw-r--r--source/core/StarNetElementGroup.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarNetElementGroup.hpp b/source/core/StarNetElementGroup.hpp
index 1904a33..6f009d8 100644
--- a/source/core/StarNetElementGroup.hpp
+++ b/source/core/StarNetElementGroup.hpp
@@ -40,7 +40,11 @@ public:
float netExtrapolationHint() const;
private:
+ List<NetElement*>& filterElementsForRules(NetCompatibilityRules rules);
+
List<pair<NetElement*, bool>> m_elements;
+ Maybe<NetCompatibilityRules> m_filteredForRules;
+ List<NetElement*> m_filteredElementsCache;
NetElementVersion const* m_version = nullptr;
bool m_interpolationEnabled = false;
float m_extrapolationHint = 0.0f;