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

summaryrefslogtreecommitdiff
path: root/source/game/StarNetworkedAnimator.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-23 11:48:51 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-23 11:48:51 +1000
commit7136c929cea0ddf955ab69a8ff5a4394bedacea8 (patch)
treed17322f98b5614eadeb086dae70d6fbd81d84934 /source/game/StarNetworkedAnimator.hpp
parented3793ab004e1c6d21225f34c8369d12f6525334 (diff)
micro-opt NetworkedAnimator drawables
sort before creating drawables
Diffstat (limited to 'source/game/StarNetworkedAnimator.hpp')
-rw-r--r--source/game/StarNetworkedAnimator.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/game/StarNetworkedAnimator.hpp b/source/game/StarNetworkedAnimator.hpp
index feee8bf..8265011 100644
--- a/source/game/StarNetworkedAnimator.hpp
+++ b/source/game/StarNetworkedAnimator.hpp
@@ -82,7 +82,9 @@ public:
bool setState(String const& stateType, String const& state, bool startNew = false);
String state(String const& stateType) const;
- StringList parts() const;
+ StringMap<AnimatedPartSet::Part> const& constParts() const;
+ StringMap<AnimatedPartSet::Part>& parts();
+ StringList partNames() const;
// Queries, if it exists, a property value from the underlying
// AnimatedPartSet for the given state or part. If the property does not