diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-12 22:16:12 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-12 22:16:12 +1000 |
commit | 40223a5090bf8a502094927da39fc96a5cfd5eae (patch) | |
tree | 01fc797ad3f45879d132de3063fe1cab3f554835 /source/game/StarNetworkedAnimator.cpp | |
parent | cf09616b1b241635dae0648c544b4e8ff3e2bd72 (diff) |
Initial work
Diffstat (limited to 'source/game/StarNetworkedAnimator.cpp')
-rw-r--r-- | source/game/StarNetworkedAnimator.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/game/StarNetworkedAnimator.cpp b/source/game/StarNetworkedAnimator.cpp index f76882f..6f74f02 100644 --- a/source/game/StarNetworkedAnimator.cpp +++ b/source/game/StarNetworkedAnimator.cpp @@ -383,6 +383,15 @@ void NetworkedAnimator::setGlobalTag(String tagName, String tagValue) { m_globalTags.set(move(tagName), move(tagValue)); } +void NetworkedAnimator::removeGlobalTag(String const& tagName) { + m_globalTags.remove(tagName); +} + +String const* NetworkedAnimator::globalTagPtr(String const& tagName) const { + return m_globalTags.ptr(tagName); +} + + void NetworkedAnimator::setPartTag(String const& partType, String tagName, String tagValue) { m_partTags[partType].set(move(tagName), move(tagValue)); } |