WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
AnimMapper Namespace Reference

Index-based animation name lookup, ported from wow.export's AnimMapper.js. More...

Functions

std::string getAnimName (uint32_t animId)
 

Variables

static constexpr std::string_view ANIM_NAMES []
 
static constexpr size_t ANIM_NAME_COUNT = sizeof(ANIM_NAMES) / sizeof(ANIM_NAMES[0])
 

Detailed Description

Index-based animation name lookup, ported from wow.export's AnimMapper.js.

See also
https://github.com/Marlamin/wow.tools.local/blob/main/wwwroot/js/anims.js

Function Documentation

◆ getAnimName()

std::string AnimMapper::getAnimName ( uint32_t  animId)
inline

Definition at line 1793 of file AnimMapper.h.

Variable Documentation

◆ ANIM_NAME_COUNT

constexpr size_t AnimMapper::ANIM_NAME_COUNT = sizeof(ANIM_NAMES) / sizeof(ANIM_NAMES[0])
staticconstexpr

Definition at line 1791 of file AnimMapper.h.

◆ ANIM_NAMES

constexpr std::string_view AnimMapper::ANIM_NAMES[]
staticconstexpr

Definition at line 12 of file AnimMapper.h.